LibreOffice Module vcl (master) 1
|
#include <font.hxx>
Public Types | |
typedef o3tl::cow_wrapper< ImplFont > | ImplType |
Static Public Member Functions | |
static Font | identifyFont (const void *pBuffer, sal_uInt32 nLen) |
Private Attributes | |
ImplType | mpImplFont |
Friends | |
VCL_DLLPUBLIC SvStream & | ReadFont (SvStream &rIStm, vcl::Font &) |
VCL_DLLPUBLIC SvStream & | WriteFont (SvStream &rOStm, const vcl::Font &) |
Definition at line 47 of file include/vcl/font.hxx.
typedef o3tl::cow_wrapper< ImplFont > vcl::Font::ImplType |
Definition at line 172 of file include/vcl/font.hxx.
|
explicit |
Definition at line 59 of file font/font.cxx.
Font::Font | ( | const Font & | rFont | ) |
Definition at line 63 of file font/font.cxx.
|
noexcept |
Definition at line 67 of file font/font.cxx.
|
explicit |
Definition at line 71 of file font/font.cxx.
References mpImplFont.
|
explicit |
Definition at line 81 of file font/font.cxx.
References mpImplFont.
|
explicit |
Definition at line 93 of file font/font.cxx.
References mpImplFont.
|
virtual |
Definition at line 103 of file font/font.cxx.
void Font::DecreaseQualityBy | ( | int | nQualityAmount | ) |
Definition at line 939 of file font/font.cxx.
References mpImplFont.
bool Font::EqualIgnoreColor | ( | const Font & | rFont | ) | const |
Definition at line 348 of file font/font.cxx.
References mpImplFont.
TextAlign Font::GetAlignment | ( | ) | const |
Definition at line 902 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::drawTextLine(), OutputDevice::GetTextAlign(), EMFWriter::ImplCheckTextAttr(), SVMConverter::ImplConvertFromSVM1(), OutputDevice::ImplNewFont(), vcl::PDFWriterImpl::pop(), OutputDevice::SetFont(), and WMFWriter::WriteRecords().
tools::Long Font::GetAverageFontWidth | ( | ) | const |
Definition at line 911 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), GetOrCalculateAverageFontWidth(), and vcl::Window::ImplPaintToDevice().
rtl_TextEncoding Font::GetCharSet | ( | ) | const |
Definition at line 913 of file font/font.cxx.
References mpImplFont.
Referenced by SvmWriter::FontHandler(), SvmReader::FontHandler(), OutputDevice::GetDefaultFont(), EMFWriter::ImplCheckTextAttr(), SVMConverter::ImplConvertFromSVM1(), Merge(), MetaFontAction::MetaFontAction(), WMFWriter::SetAllAttr(), SetCharSet(), WMFWriter::TrueExtTextOut(), WMFWriter::WMFRecord_CreateFontIndirect(), WMFWriter::WMFRecord_Escape_Unicode(), WMFWriter::WMFRecord_ExtTextOut(), WMFWriter::WMFRecord_TextOut(), and WMFWriter::WriteRecords().
LanguageType Font::GetCJKContextLanguage | ( | ) | const |
Definition at line 918 of file font/font.cxx.
References mpImplFont.
Referenced by GetEmphasisMarkStyle(), and IsUnderlineAbove().
const LanguageTag & Font::GetCJKContextLanguageTag | ( | ) | const |
const Color & Font::GetColor | ( | ) | const |
Definition at line 898 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::drawRelief(), vcl::PDFWriterImpl::drawShadow(), vcl::PDFWriterImpl::drawTextLine(), vcl::drawmode::GetFont(), SVMConverter::ImplConvertFromSVM1(), GDIMetaFile::ImplExchangeColors(), vcl::PDFWriterImpl::pop(), vcl::PDFWriterImpl::setFont(), TextEngine::SetFont(), SvTreeListBox::SetFont(), OutputDevice::SetFont(), WMFWriter::WriteRecords(), and MetafileXmlDump::writeXml().
FontEmphasisMark Font::GetEmphasisMark | ( | ) | const |
Definition at line 947 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), GetEmphasisMarkStyle(), OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplNewFont(), and Merge().
FontEmphasisMark Font::GetEmphasisMarkStyle | ( | ) | const |
Definition at line 314 of file font/font.cxx.
References GetCJKContextLanguage(), GetEmphasisMark(), GetLanguage(), and MsLangId::isSimplifiedChinese().
Referenced by vcl::PDFWriterImpl::drawLayout(), OutputDevice::ImplDrawEmphasisMarks(), and OutputDevice::ImplNewFont().
const OUString & Font::GetFamilyName | ( | ) | const |
Definition at line 904 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::getBestBuildinFont(), OutputDevice::GetDefaultFont(), ImplFontCache::GetFontInstance(), OutputDevice::GetFontMetric(), EMFWriter::ImplCheckTextAttr(), vcl::Window::ImplNewInputContext(), Merge(), MetaFontAction::MetaFontAction(), vcl::PDFWriterImpl::replaceFont(), WMFWriter::SetAllAttr(), TextEngine::TextEngine(), TrackFontMappingUse(), WMFWriter::WMFRecord_CreateFontIndirect(), WMFWriter::WMFRecord_Escape_Unicode(), and MetafileXmlDump::writeXml().
FontFamily Font::GetFamilyType | ( | ) |
Definition at line 928 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::getBestBuildinFont(), EMFWriter::ImplCheckTextAttr(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontFamily Font::GetFamilyType | ( | ) | const |
Definition at line 934 of file font/font.cxx.
References mpImplFont.
const Color & Font::GetFillColor | ( | ) | const |
Definition at line 899 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::drawmode::GetFont(), SVMConverter::ImplConvertFromSVM1(), GDIMetaFile::ImplExchangeColors(), TextView::ImpPaint(), SvxIconChoiceCtrl_Impl::PaintEmphasis(), vcl::PDFWriterImpl::pop(), TextEngine::SetFont(), SvTreeListBox::SetFont(), OutputDevice::SetFont(), TextEngine::TextEngine(), and MetafileXmlDump::writeXml().
short Font::GetFixKerning | ( | ) | const |
Definition at line 226 of file font/font.cxx.
References mpImplFont.
void Font::GetFontAttributes | ( | FontAttributes & | rAttrs | ) | const |
Definition at line 408 of file font/font.cxx.
References mpImplFont, FontAttributes::SetFamilyName(), FontAttributes::SetFamilyType(), FontAttributes::SetItalic(), FontAttributes::SetMicrosoftSymbolEncoded(), FontAttributes::SetPitch(), FontAttributes::SetStyleName(), FontAttributes::SetWeight(), FontAttributes::SetWidthType(), and WIDTH_DONTKNOW.
Referenced by vcl::font::FontSelectPattern::FontSelectPattern().
tools::Long Font::GetFontHeight | ( | ) | const |
Definition at line 909 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::createDefaultEditAppearance(), vcl::PDFWriterImpl::createDefaultListBoxAppearance(), vcl::PDFWriterImpl::createDefaultPushButtonAppearance(), vcl::PDFWriterImpl::drawFieldBorder(), vcl::PDFWriterImpl::drawLayout(), OutputDevice::GetDefaultFont(), OutputDevice::ImplNewFont(), vcl::Window::ImplPaintToDevice(), vcl::Window::ImplUpdateGlobalSettings(), BubbleWindow::RecalcTextRects(), vcl::PDFWriterImpl::replaceFont(), vcl::Window::set_font_attribute(), and SalInstanceTextView::set_monospace().
const Size & Font::GetFontSize | ( | ) | const |
Definition at line 907 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::AttemptOLEFontScaleFix(), vcl::PDFWriterImpl::createDefaultCheckBoxAppearance(), vcl::PDFWriterImpl::createDefaultPushButtonAppearance(), vcl::PDFWriterImpl::createDefaultRadioButtonAppearance(), OutputDevice::GetDefaultFont(), vcl::Window::GetDrawPixelFont(), EMFWriter::ImplCheckTextAttr(), FontMetricData::ImplInitFlags(), vcl::Window::ImplLogicToPoint(), OutputDevice::ImplNewFont(), vcl::Window::ImplNewInputContext(), vcl::Window::ImplPointToLogic(), Merge(), vcl::ReferenceDeviceTextLayout::ReferenceDeviceTextLayout(), vcl::PDFWriterImpl::replaceFont(), MetaFontAction::Scale(), SetAverageFontWidth(), SetFontHeight(), SetFontSize(), MessageDialog::SetMessagesWidths(), vcl::Window::SetZoomedPointFont(), WMFWriter::WMFRecord_CreateFontIndirect(), and MetafileXmlDump::writeXml().
size_t Font::GetHashValueIgnoreColor | ( | ) | const |
Definition at line 353 of file font/font.cxx.
References mpImplFont.
FontItalic Font::GetItalic | ( | ) |
Definition at line 927 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::getBestBuildinFont(), EMFWriter::ImplCheckTextAttr(), Merge(), vcl::PDFWriterImpl::replaceFont(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontItalic Font::GetItalic | ( | ) | const |
Definition at line 933 of file font/font.cxx.
References mpImplFont.
FontKerning Font::GetKerning | ( | ) | const |
Definition at line 922 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::ImplPrepareLayoutArgs().
LanguageType Font::GetLanguage | ( | ) | const |
Definition at line 917 of file font/font.cxx.
References mpImplFont.
Referenced by GetEmphasisMarkStyle(), FontMetricData::ImplInitFlags(), FontMetricData::ImplInitTextLineSize(), and IsUnderlineAbove().
const LanguageTag & Font::GetLanguageTag | ( | ) | const |
Definition at line 915 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::ImplPrepareLayoutArgs(), and Merge().
tools::Long Font::GetOrCalculateAverageFontWidth | ( | ) | const |
Definition at line 421 of file font/font.cxx.
References basegfx::fround(), GetAverageFontWidth(), mpImplFont, SetAverageFontWidth(), and u.
Referenced by EMFWriter::ImplCheckTextAttr().
Degree10 Font::GetOrientation | ( | ) | const |
Definition at line 920 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::drawTextLine(), OutputDevice::GetTextRect(), EMFWriter::ImplCheckTextAttr(), Merge(), GDIMetaFile::Rotate(), WMFWriter::WMFRecord_CreateFontIndirect(), and MetafileXmlDump::writeXml().
FontLineStyle Font::GetOverline | ( | ) | const |
Definition at line 945 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplNewFont(), and Merge().
FontPitch Font::GetPitch | ( | ) |
Definition at line 924 of file font/font.cxx.
References mpImplFont.
Referenced by EMFWriter::ImplCheckTextAttr(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontPitch Font::GetPitch | ( | ) | const |
Definition at line 930 of file font/font.cxx.
References mpImplFont.
int Font::GetQuality | ( | ) | const |
Definition at line 936 of file font/font.cxx.
References mpImplFont.
FontRelief Font::GetRelief | ( | ) | const |
Definition at line 943 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::drawRelief(), OutputDevice::ImplDrawSpecialText(), OutputDevice::ImplNewFont(), and Merge().
FontStrikeout Font::GetStrikeout | ( | ) | const |
Definition at line 946 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), EMFWriter::ImplCheckTextAttr(), OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplNewFont(), Merge(), and WMFWriter::WMFRecord_CreateFontIndirect().
const OUString & Font::GetStyleName | ( | ) | const |
Definition at line 905 of file font/font.cxx.
References mpImplFont.
Referenced by Merge(), TrackFontMappingUse(), and MetafileXmlDump::writeXml().
FontLineStyle Font::GetUnderline | ( | ) | const |
Definition at line 944 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), EMFWriter::ImplCheckTextAttr(), OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplNewFont(), Merge(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontWeight Font::GetWeight | ( | ) |
Definition at line 925 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::getBestBuildinFont(), EMFWriter::ImplCheckTextAttr(), Merge(), vcl::PDFWriterImpl::replaceFont(), WMFWriter::WMFRecord_CreateFontIndirect(), and MetafileXmlDump::writeXml().
FontWeight Font::GetWeight | ( | ) | const |
Definition at line 931 of file font/font.cxx.
References mpImplFont.
FontWidth Font::GetWidthType | ( | ) |
FontWidth Font::GetWidthType | ( | ) | const |
Definition at line 932 of file font/font.cxx.
References mpImplFont.
|
static |
Definition at line 881 of file font/font.cxx.
void Font::IncreaseQualityBy | ( | int | nQualityAmount | ) |
Definition at line 938 of file font/font.cxx.
References mpImplFont.
bool Font::IsFixKerning | ( | ) | const |
Definition at line 231 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::ImplPrepareLayoutArgs().
bool Font::IsKerning | ( | ) | const |
Definition at line 215 of file font/font.cxx.
References mpImplFont, and NONE.
Referenced by OutputDevice::ImplPrepareLayoutArgs(), and Merge().
bool Font::IsOutline | ( | ) | const |
Definition at line 941 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::drawShadow(), vcl::PDFWriterImpl::drawStraightTextLine(), OutputDevice::ImplDrawSpecialText(), OutputDevice::ImplNewFont(), and Merge().
bool Font::IsSameInstance | ( | const Font & | rFont | ) | const |
Definition at line 949 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::SetFont().
bool Font::IsShadow | ( | ) | const |
Definition at line 942 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::drawStrikeoutChar(), OutputDevice::ImplDrawSpecialText(), OutputDevice::ImplNewFont(), and Merge().
bool Font::IsTransparent | ( | ) | const |
Definition at line 900 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::drawmode::GetFont(), SVMConverter::ImplConvertFromSVM1(), TextView::ImpPaint(), OutputDevice::IsTextFillColor(), SvTreeListBox::SetFont(), and OutputDevice::SetFont().
|
inline |
Definition at line 180 of file include/vcl/font.hxx.
References GetCJKContextLanguage(), GetLanguage(), IsVertical(), and LANGUAGE_JAPANESE.
Referenced by vcl::PDFWriterImpl::drawLayout(), and OutputDevice::ImplDrawTextDirect().
bool Font::IsVertical | ( | ) | const |
Definition at line 921 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), ImplHandleExtTextInputPos(), FontMetricData::ImplInitTextLineSize(), OutputDevice::ImplPrepareLayoutArgs(), IsUnderlineAbove(), Merge(), and MetafileXmlDump::writeXml().
bool Font::IsWordLineMode | ( | ) | const |
Definition at line 948 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), OutputDevice::ImplDrawTextDirect(), and Merge().
void Font::Merge | ( | const Font & | rFont | ) |
Definition at line 358 of file font/font.cxx.
References FontSpecific, GetCharSet(), GetCJKContextLanguageTag(), GetEmphasisMark(), GetFamilyName(), GetFontSize(), GetItalic(), GetLanguageTag(), GetOrientation(), GetOverline(), GetRelief(), GetStrikeout(), GetStyleName(), GetUnderline(), GetWeight(), GetWidthType(), Size::Height(), IsKerning(), IsOutline(), IsShadow(), IsVertical(), IsWordLineMode(), ITALIC_DONTKNOW, LINESTYLE_DONTKNOW, mpImplFont, NONE, SetCharSet(), SetCJKContextLanguageTag(), SetEmphasisMark(), SetFamily(), SetFamilyName(), SetFontSize(), SetItalic(), SetKerning(), SetLanguageTag(), SetOrientation(), SetOutline(), SetOverline(), SetPitch(), SetRelief(), SetShadow(), SetStrikeout(), SetStyleName(), SetUnderline(), SetVertical(), SetWeight(), SetWidthType(), SetWordLineMode(), STRIKEOUT_DONTKNOW, WEIGHT_DONTKNOW, and WIDTH_DONTKNOW.
Referenced by vcl::Window::ApplyControlFont(), and Control::GetUnzoomedControlPointFont().
|
inline |
Definition at line 159 of file include/vcl/font.hxx.
References operator==().
Definition at line 302 of file font/font.cxx.
References mpImplFont.
Definition at line 308 of file font/font.cxx.
bool Font::operator== | ( | const Font & | rFont | ) | const |
Definition at line 343 of file font/font.cxx.
References mpImplFont.
Referenced by operator!=(), and FontMetric::operator!=().
void Font::SetAlignment | ( | TextAlign | eAlign | ) |
Definition at line 131 of file font/font.cxx.
References mpImplFont.
Referenced by FontMetric::FontMetric(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), TextEngine::SetFont(), DXF2GDIMetaFile::SetFontAttribute(), WMFWriter::WriteRecords(), and WMFWriter::WriteWMF().
void Font::SetAverageFontWidth | ( | tools::Long | nWidth | ) |
Definition at line 910 of file font/font.cxx.
References GetFontSize(), Height, mpImplFont, and SetFontSize().
Referenced by MetaFontAction::correctFontScale(), vcl::PDFWriterImpl::drawLayout(), GetOrCalculateAverageFontWidth(), and vcl::Window::ImplPaintToDevice().
void Font::SetCharSet | ( | rtl_TextEncoding | eCharSet | ) |
Definition at line 161 of file font/font.cxx.
References GetCharSet(), and mpImplFont.
Referenced by CreateFont(), FontMetric::FontMetric(), OutputDevice::GetDefaultFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), MetaFontAction::MetaFontAction(), WMFWriter::SetAllAttr(), ImplStyleData::SetStandardStyles(), vcl::FileDefinitionWidgetDraw::updateSettings(), WMFWriter::WMFRecord_Escape_Unicode(), WMFWriter::WriteRecords(), and WMFWriter::WriteWMF().
void Font::SetCJKContextLanguage | ( | LanguageType | eLanguage | ) |
Definition at line 185 of file font/font.cxx.
References mpImplFont.
void Font::SetCJKContextLanguageTag | ( | const LanguageTag & | rLanguageTag | ) |
void Font::SetColor | ( | const Color & | rColor | ) |
Definition at line 107 of file font/font.cxx.
References maColor, and mpImplFont.
Referenced by VclMultiLineEdit::ApplySettings(), vcl::PDFWriterImpl::drawRelief(), vcl::PDFWriterImpl::drawShadow(), vcl::drawmode::GetFont(), SVMConverter::ImplConvertFromSVM1(), GDIMetaFile::ImplExchangeColors(), VclMultiLineEdit::ImplInitSettings(), SvxIconChoiceCtrl_Impl::InitSettings(), MakePreview(), IconView::PaintEntry(), SvxIconChoiceCtrl_Impl::PaintEntry(), SvTreeListBox::PaintEntry1(), TextEngine::SeekCursor(), SvtIconChoiceCtrl::SetBackground(), TextEngine::SetFont(), SvTreeListBox::SetFont(), OutputDevice::SetFont(), TextAttribFontColor::SetFont(), DXF2GDIMetaFile::SetFontAttribute(), WMFWriter::WriteRecords(), and WMFWriter::WriteWMF().
void Font::SetEmphasisMark | ( | FontEmphasisMark | eEmphasisMark | ) |
void Font::SetFamily | ( | FontFamily | eFamily | ) |
Definition at line 155 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), FontMetric::FontMetric(), OutputDevice::GetDefaultFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), and DXF2GDIMetaFile::SetFontAttribute().
void Font::SetFamilyName | ( | const OUString & | rFamilyName | ) |
Definition at line 137 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), vcl::PDFWriterImpl::endPage(), FontMetric::FontMetric(), OutputDevice::GetDefaultFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), vcl::PDFWriterImpl::PDFWriterImpl(), ImplStyleData::SetStandardStyles(), and vcl::FileDefinitionWidgetDraw::updateSettings().
void Font::SetFillColor | ( | const Color & | rColor | ) |
Definition at line 115 of file font/font.cxx.
References Color::IsTransparent(), maFillColor, and mpImplFont.
Referenced by VclMultiLineEdit::ApplySettings(), vcl::drawmode::GetFont(), SVMConverter::ImplConvertFromSVM1(), GDIMetaFile::ImplExchangeColors(), VclMultiLineEdit::ImplInitSettings(), TextView::ImpPaint(), SvxIconChoiceCtrl_Impl::PaintEntry(), TextEngine::SeekCursor(), TextEngine::SetFont(), SvTreeListBox::SetFont(), SvInplaceEdit2::SvInplaceEdit2(), TextEngine::TextEngine(), and WMFWriter::WriteRecords().
void Font::SetFixKerning | ( | const short | nSpacing | ) |
Definition at line 220 of file font/font.cxx.
References mpImplFont.
void Font::SetFontHeight | ( | tools::Long | nHeight | ) |
Definition at line 908 of file font/font.cxx.
References GetFontSize(), mpImplFont, SetFontSize(), and Width.
Referenced by OutputDevice::GetDefaultFont(), vcl::Window::ImplPaintToDevice(), vcl::Window::ImplUpdateGlobalSettings(), vcl::Window::set_font_attribute(), and SalInstanceTextView::set_monospace().
void Font::SetFontSize | ( | const Size & | rSize | ) |
Definition at line 149 of file font/font.cxx.
References GetFontSize(), and mpImplFont.
Referenced by OutputDevice::AttemptOLEFontScaleFix(), CreateFont(), vcl::PDFWriterImpl::endPage(), vcl::Window::GetDrawPixelFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), OutputDevice::ImplDrawRotateText(), vcl::Window::ImplLogicToPoint(), vcl::Window::ImplPointToLogic(), Merge(), vcl::PrintDialog::ShowNupOrderWindow::Paint(), vcl::PDFWriterImpl::PDFWriterImpl(), vcl::ReferenceDeviceTextLayout::ReferenceDeviceTextLayout(), vcl::PDFWriterImpl::replaceFont(), MetaFontAction::Scale(), SetAverageFontWidth(), DXF2GDIMetaFile::SetFontAttribute(), SetFontHeight(), MessageDialog::SetMessagesWidths(), and vcl::Window::SetZoomedPointFont().
void Font::SetItalic | ( | FontItalic | eItalic | ) |
Definition at line 248 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), FontMetric::FontMetric(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), vcl::PDFWriterImpl::replaceFont(), and vcl::Window::set_font_attribute().
void Font::SetKerning | ( | FontKerning | nKerning | ) |
Definition at line 209 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), and Merge().
void Font::SetLanguage | ( | LanguageType | eLanguage | ) |
Definition at line 179 of file font/font.cxx.
References LanguageTag::getLanguageType(), maLanguageTag, and mpImplFont.
Referenced by OutputDevice::GetDefaultFont().
void Font::SetLanguageTag | ( | const LanguageTag & | rLanguageTag | ) |
Definition at line 167 of file font/font.cxx.
Referenced by Merge().
void Font::SetOrientation | ( | Degree10 | nLineOrientation | ) |
Definition at line 197 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), FixedLine::ImplDraw(), ToolBox::ImplDrawItem(), OutputDevice::ImplDrawRotateText(), Merge(), vcl::PrintDialog::PrintPreviewWindow::Paint(), GDIMetaFile::Rotate(), and DXF2GDIMetaFile::SetFontAttribute().
void Font::SetOutline | ( | bool | bOutline | ) |
Definition at line 254 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawShadow(), SVMConverter::ImplConvertFromSVM1(), and Merge().
void Font::SetOverline | ( | FontLineStyle | eOverline | ) |
void Font::SetPitch | ( | FontPitch | ePitch | ) |
Definition at line 191 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), FontMetric::FontMetric(), OutputDevice::GetDefaultFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), and Merge().
void Font::SetQuality | ( | int | nQuality | ) |
Definition at line 937 of file font/font.cxx.
References mpImplFont.
Referenced by FontMetric::FontMetric(), and OutputDevice::GetFontMetric().
void Font::SetRelief | ( | FontRelief | eRelief | ) |
Definition at line 284 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawRelief(), and Merge().
void Font::SetShadow | ( | bool | bShadow | ) |
Definition at line 260 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawRelief(), vcl::PDFWriterImpl::drawShadow(), vcl::PDFWriterImpl::drawStrikeoutChar(), SVMConverter::ImplConvertFromSVM1(), and Merge().
void Font::SetStrikeout | ( | FontStrikeout | eStrikeout | ) |
Definition at line 278 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), SVMConverter::ImplConvertFromSVM1(), and Merge().
void Font::SetStyleName | ( | const OUString & | rStyleName | ) |
Definition at line 143 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), FontMetric::FontMetric(), OutputDevice::GetFontMetric(), and Merge().
void Font::SetTransparent | ( | bool | bTransparent | ) |
Definition at line 125 of file font/font.cxx.
References mpImplFont.
Referenced by VclMultiLineEdit::ApplySettings(), VclMultiLineEdit::Draw(), SVMConverter::ImplConvertFromSVM1(), TabControl::ImplDrawItem(), TabControl::ImplGetTabRect(), VclMultiLineEdit::ImplInitSettings(), TextEngine::ImpPaint(), TextEngine::SeekCursor(), TextEngine::SetFont(), SvTreeListBox::SetFont(), DXF2GDIMetaFile::SetFontAttribute(), SvInplaceEdit2::SvInplaceEdit2(), and TextEngine::TextEngine().
void Font::SetUnderline | ( | FontLineStyle | eUnderline | ) |
Definition at line 266 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), SVMConverter::ImplConvertFromSVM1(), Edit::ImplRepaint(), Merge(), vcl::HyperLabel::MouseMove(), TextEngine::SeekCursor(), and vcl::Window::set_font_attribute().
void Font::SetVertical | ( | bool | bVertical | ) |
void Font::SetWeight | ( | FontWeight | eWeight | ) |
Definition at line 236 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), FontMetric::FontMetric(), OutputDevice::GetDefaultFont(), OutputDevice::GetFontMetric(), Menu::ImplCalcSize(), SVMConverter::ImplConvertFromSVM1(), Menu::ImplPaintMenuTitle(), SvLBoxString::InitViewData(), Merge(), SvLBoxString::Paint(), BubbleWindow::Paint(), BubbleWindow::RecalcTextRects(), vcl::PDFWriterImpl::replaceFont(), vcl::Window::set_font_attribute(), TextAttribFontWeight::SetFont(), MessageDialog::SetMessagesWidths(), ImplStyleData::SetStandardStyles(), and vcl::FileDefinitionWidgetDraw::updateSettings().
void Font::SetWidthType | ( | FontWidth | eWidth | ) |
Definition at line 242 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), FontMetric::FontMetric(), OutputDevice::GetFontMetric(), and Merge().
void Font::SetWordLineMode | ( | bool | bWordLine | ) |
Definition at line 296 of file font/font.cxx.
References mpImplFont.
Referenced by CreateFont(), and Merge().
|
friend |
Definition at line 591 of file font/font.cxx.
|
friend |
Definition at line 649 of file font/font.cxx.
|
private |
Definition at line 177 of file include/vcl/font.hxx.
Referenced by DecreaseQualityBy(), EqualIgnoreColor(), Font(), GetAlignment(), GetAverageFontWidth(), GetCharSet(), GetCJKContextLanguage(), GetCJKContextLanguageTag(), GetColor(), GetEmphasisMark(), GetFamilyName(), GetFamilyType(), GetFillColor(), GetFixKerning(), GetFontAttributes(), GetFontHeight(), GetFontSize(), GetHashValueIgnoreColor(), GetItalic(), GetKerning(), GetLanguage(), GetLanguageTag(), GetOrCalculateAverageFontWidth(), GetOrientation(), GetOverline(), GetPitch(), GetQuality(), GetRelief(), GetStrikeout(), GetStyleName(), GetUnderline(), GetWeight(), GetWidthType(), IncreaseQualityBy(), IsFixKerning(), IsKerning(), IsOutline(), IsSameInstance(), IsShadow(), IsTransparent(), IsVertical(), IsWordLineMode(), Merge(), operator=(), operator==(), SetAlignment(), SetAverageFontWidth(), SetCharSet(), SetCJKContextLanguage(), SetCJKContextLanguageTag(), SetColor(), SetEmphasisMark(), SetFamily(), SetFamilyName(), SetFillColor(), SetFixKerning(), SetFontHeight(), SetFontSize(), SetItalic(), SetKerning(), SetLanguage(), SetOrientation(), SetOutline(), SetOverline(), SetPitch(), SetQuality(), SetRelief(), SetShadow(), SetStrikeout(), SetStyleName(), SetTransparent(), SetUnderline(), SetVertical(), SetWeight(), SetWidthType(), SetWordLineMode(), and WriteFont().