LibreOffice Module sw (master) 1
|
Collects and outputs fonts. More...
#include <wrtww8.hxx>
Public Member Functions | |
wwFont (std::u16string_view rFamilyName, FontPitch ePitch, FontFamily eFamily, rtl_TextEncoding eChrSet) | |
void | Write (SvStream *pTableStram) const |
void | WriteDocx (DocxAttributeOutput *rAttrOutput) const |
void | WriteRtf (const RtfAttributeOutput *rAttrOutput) const |
OUString const & | GetFamilyName () const |
Private Attributes | |
sal_uInt8 | maWW8_FFN [6] = {} |
OUString | msFamilyNm |
OUString | msAltNm |
bool | mbAlt |
FontPitch | mePitch |
FontFamily | meFamily |
rtl_TextEncoding | meChrSet |
Friends | |
bool | operator< (const wwFont &r1, const wwFont &r2) |
Collects and outputs fonts.
Definition at line 296 of file wrtww8.hxx.
wwFont::wwFont | ( | std::u16string_view | rFamilyName, |
FontPitch | ePitch, | ||
FontFamily | eFamily, | ||
rtl_TextEncoding | eChrSet | ||
) |
Definition at line 774 of file wrtw8sty.cxx.
References FAMILY_DECORATIVE, FAMILY_MODERN, FAMILY_ROMAN, FAMILY_SCRIPT, FAMILY_SWISS, maWW8_FFN, mbAlt, msAltNm, msFamilyNm, sw::util::FontMapExport::msPrimary, sw::util::FontMapExport::msSecondary, PITCH_FIXED, PITCH_VARIABLE, and sw::ms::rtl_TextEncodingToWinCharset().
|
inline |
Definition at line 314 of file wrtww8.hxx.
References msFamilyNm.
Referenced by DocxAttributeOutput::NumberingLevel().
void wwFont::Write | ( | SvStream * | pTableStram | ) | const |
Definition at line 841 of file wrtw8sty.cxx.
References SwWW8Writer::FillCount(), maWW8_FFN, mbAlt, msAltNm, msFamilyNm, SvStream::WriteBytes(), and SwWW8Writer::WriteString16().
void wwFont::WriteDocx | ( | DocxAttributeOutput * | rAttrOutput | ) | const |
Definition at line 854 of file wrtw8sty.cxx.
References DocxAttributeOutput::EmbedFont(), DocxAttributeOutput::EndFont(), DocxAttributeOutput::FontAlternateName(), DocxAttributeOutput::FontCharset(), DocxAttributeOutput::FontFamilyType(), DocxAttributeOutput::FontPitchType(), mbAlt, meChrSet, meFamily, mePitch, msAltNm, msFamilyNm, sw::ms::rtl_TextEncodingToWinCharset(), and DocxAttributeOutput::StartFont().
void wwFont::WriteRtf | ( | const RtfAttributeOutput * | rAttrOutput | ) | const |
Definition at line 873 of file wrtw8sty.cxx.
References RtfAttributeOutput::EndFont(), RtfAttributeOutput::FontAlternateName(), RtfAttributeOutput::FontCharset(), RtfAttributeOutput::FontFamilyType(), RtfAttributeOutput::FontPitchType(), mbAlt, meChrSet, meFamily, mePitch, msAltNm, msFamilyNm, sw::ms::rtl_TextEncodingToWinCharsetRTF(), and RtfAttributeOutput::StartFont().
Definition at line 885 of file wrtw8sty.cxx.
|
private |
Definition at line 301 of file wrtww8.hxx.
|
private |
Definition at line 304 of file wrtww8.hxx.
Referenced by Write(), WriteDocx(), WriteRtf(), and wwFont().
|
private |
Definition at line 307 of file wrtww8.hxx.
Referenced by WriteDocx(), and WriteRtf().
|
private |
Definition at line 306 of file wrtww8.hxx.
Referenced by WriteDocx(), and WriteRtf().
|
private |
Definition at line 305 of file wrtww8.hxx.
Referenced by WriteDocx(), and WriteRtf().
|
private |
Definition at line 303 of file wrtww8.hxx.
Referenced by Write(), WriteDocx(), WriteRtf(), and wwFont().
|
private |
Definition at line 302 of file wrtww8.hxx.
Referenced by GetFamilyName(), Write(), WriteDocx(), WriteRtf(), and wwFont().