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 173 of file include/vcl/font.hxx.
|
explicit |
Definition at line 58 of file font/font.cxx.
Font::Font | ( | const Font & | rFont | ) |
Definition at line 62 of file font/font.cxx.
|
noexcept |
Definition at line 66 of file font/font.cxx.
|
explicit |
Definition at line 70 of file font/font.cxx.
References mpImplFont.
|
explicit |
Definition at line 80 of file font/font.cxx.
References mpImplFont.
|
explicit |
Definition at line 92 of file font/font.cxx.
References mpImplFont.
|
virtual |
Definition at line 102 of file font/font.cxx.
void Font::DecreaseQualityBy | ( | int | nQualityAmount | ) |
Definition at line 913 of file font/font.cxx.
References mpImplFont.
bool Font::EqualIgnoreColor | ( | const Font & | rFont | ) | const |
Definition at line 332 of file font/font.cxx.
References mpImplFont.
TextAlign Font::GetAlignment | ( | ) | const |
Definition at line 876 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 885 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 887 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(), SetSymbolFlag(), 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 892 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::ImplGetEmphasisMarkStyle(), and IsUnderlineAbove().
const LanguageTag & Font::GetCJKContextLanguageTag | ( | ) | const |
const Color & Font::GetColor | ( | ) | const |
Definition at line 872 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 921 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplGetEmphasisMarkStyle(), OutputDevice::ImplNewFont(), and Merge().
const OUString & Font::GetFamilyName | ( | ) | const |
Definition at line 878 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 902 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 908 of file font/font.cxx.
References mpImplFont.
const Color & Font::GetFillColor | ( | ) | const |
Definition at line 873 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().
void Font::GetFontAttributes | ( | FontAttributes & | rAttrs | ) | const |
Definition at line 397 of file font/font.cxx.
References mpImplFont, FontAttributes::SetFamilyName(), FontAttributes::SetFamilyType(), FontAttributes::SetItalic(), FontAttributes::SetPitch(), FontAttributes::SetStyleName(), FontAttributes::SetSymbolFlag(), FontAttributes::SetWeight(), FontAttributes::SetWidthType(), and WIDTH_DONTKNOW.
Referenced by vcl::font::FontSelectPattern::FontSelectPattern().
tools::Long Font::GetFontHeight | ( | ) | const |
Definition at line 883 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 881 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(), ImplFontMetricData::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::GetHashValue | ( | ) | const |
Definition at line 337 of file font/font.cxx.
References mpImplFont.
size_t Font::GetHashValueIgnoreColor | ( | ) | const |
Definition at line 342 of file font/font.cxx.
References mpImplFont.
FontItalic Font::GetItalic | ( | ) |
Definition at line 901 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::getBestBuildinFont(), EMFWriter::ImplCheckTextAttr(), Merge(), vcl::PDFWriterImpl::replaceFont(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontItalic Font::GetItalic | ( | ) | const |
Definition at line 907 of file font/font.cxx.
References mpImplFont.
FontKerning Font::GetKerning | ( | ) | const |
Definition at line 896 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::ImplPrepareLayoutArgs().
LanguageType Font::GetLanguage | ( | ) | const |
Definition at line 891 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::ImplGetEmphasisMarkStyle(), ImplFontMetricData::ImplInitFlags(), ImplFontMetricData::ImplInitTextLineSize(), and IsUnderlineAbove().
const LanguageTag & Font::GetLanguageTag | ( | ) | const |
Definition at line 889 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::ImplPrepareLayoutArgs(), and Merge().
tools::Long Font::GetOrCalculateAverageFontWidth | ( | ) | const |
Definition at line 410 of file font/font.cxx.
References basegfx::fround(), GetAverageFontWidth(), mpImplFont, SetAverageFontWidth(), and u.
Referenced by EMFWriter::ImplCheckTextAttr().
Degree10 Font::GetOrientation | ( | ) | const |
Definition at line 894 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::drawTextLine(), EMFWriter::ImplCheckTextAttr(), Merge(), GDIMetaFile::Rotate(), WMFWriter::WMFRecord_CreateFontIndirect(), and MetafileXmlDump::writeXml().
FontLineStyle Font::GetOverline | ( | ) | const |
Definition at line 919 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplNewFont(), and Merge().
FontPitch Font::GetPitch | ( | ) |
Definition at line 898 of file font/font.cxx.
References mpImplFont.
Referenced by EMFWriter::ImplCheckTextAttr(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontPitch Font::GetPitch | ( | ) | const |
Definition at line 904 of file font/font.cxx.
References mpImplFont.
int Font::GetQuality | ( | ) | const |
Definition at line 910 of file font/font.cxx.
References mpImplFont.
FontRelief Font::GetRelief | ( | ) | const |
Definition at line 917 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 920 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 879 of file font/font.cxx.
References mpImplFont.
Referenced by Merge(), TrackFontMappingUse(), and MetafileXmlDump::writeXml().
FontLineStyle Font::GetUnderline | ( | ) | const |
Definition at line 918 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 899 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 905 of file font/font.cxx.
References mpImplFont.
FontWidth Font::GetWidthType | ( | ) |
FontWidth Font::GetWidthType | ( | ) | const |
Definition at line 906 of file font/font.cxx.
References mpImplFont.
|
static |
Definition at line 855 of file font/font.cxx.
void Font::IncreaseQualityBy | ( | int | nQualityAmount | ) |
Definition at line 912 of file font/font.cxx.
References mpImplFont.
bool Font::IsKerning | ( | ) | const |
Definition at line 244 of file font/font.cxx.
References mpImplFont, and NONE.
Referenced by OutputDevice::ImplPrepareLayoutArgs(), and Merge().
bool Font::IsOutline | ( | ) | const |
Definition at line 915 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 923 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::SetFont().
bool Font::IsShadow | ( | ) | const |
Definition at line 916 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::drawStrikeoutChar(), OutputDevice::ImplDrawSpecialText(), OutputDevice::ImplNewFont(), and Merge().
bool Font::IsSymbolFont | ( | ) | const |
bool Font::IsTransparent | ( | ) | const |
Definition at line 874 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 181 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 895 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawLayout(), ImplHandleExtTextInputPos(), ImplFontMetricData::ImplInitTextLineSize(), OutputDevice::ImplPrepareLayoutArgs(), IsUnderlineAbove(), Merge(), and MetafileXmlDump::writeXml().
bool Font::IsWordLineMode | ( | ) | const |
Definition at line 922 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 347 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 315 of file font/font.cxx.
References mpImplFont.
Definition at line 321 of file font/font.cxx.
bool Font::operator== | ( | const Font & | rFont | ) | const |
Definition at line 327 of file font/font.cxx.
References mpImplFont.
Referenced by operator!=(), and FontMetric::operator!=().
void Font::SetAlignment | ( | TextAlign | eAlign | ) |
Definition at line 130 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 884 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 160 of file font/font.cxx.
References GetCharSet(), and mpImplFont.
Referenced by 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 214 of file font/font.cxx.
References mpImplFont.
void Font::SetCJKContextLanguageTag | ( | const LanguageTag & | rLanguageTag | ) |
void Font::SetColor | ( | const Color & | rColor | ) |
Definition at line 106 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 154 of file font/font.cxx.
References mpImplFont.
Referenced by FontMetric::FontMetric(), OutputDevice::GetDefaultFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), and DXF2GDIMetaFile::SetFontAttribute().
void Font::SetFamilyName | ( | const OUString & | rFamilyName | ) |
Definition at line 136 of file font/font.cxx.
References mpImplFont.
Referenced by 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 114 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::SetFontHeight | ( | tools::Long | nHeight | ) |
Definition at line 882 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 148 of file font/font.cxx.
References GetFontSize(), and mpImplFont.
Referenced by OutputDevice::AttemptOLEFontScaleFix(), 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 261 of file font/font.cxx.
References mpImplFont.
Referenced by FontMetric::FontMetric(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), vcl::PDFWriterImpl::replaceFont(), and vcl::Window::set_font_attribute().
void Font::SetKerning | ( | FontKerning | nKerning | ) |
void Font::SetLanguage | ( | LanguageType | eLanguage | ) |
Definition at line 208 of file font/font.cxx.
References LanguageTag::getLanguageType(), maLanguageTag, and mpImplFont.
Referenced by OutputDevice::GetDefaultFont().
void Font::SetLanguageTag | ( | const LanguageTag & | rLanguageTag | ) |
Definition at line 196 of file font/font.cxx.
References maLanguageTag, and mpImplFont.
Referenced by Merge().
void Font::SetOrientation | ( | Degree10 | nLineOrientation | ) |
Definition at line 226 of file font/font.cxx.
References mpImplFont.
Referenced by 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 267 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 220 of file font/font.cxx.
References mpImplFont.
Referenced by FontMetric::FontMetric(), OutputDevice::GetDefaultFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), and Merge().
void Font::SetQuality | ( | int | nQuality | ) |
Definition at line 911 of file font/font.cxx.
References mpImplFont.
Referenced by FontMetric::FontMetric(), and OutputDevice::GetFontMetric().
void Font::SetRelief | ( | FontRelief | eRelief | ) |
Definition at line 297 of file font/font.cxx.
References mpImplFont.
Referenced by vcl::PDFWriterImpl::drawRelief(), and Merge().
void Font::SetShadow | ( | bool | bShadow | ) |
Definition at line 273 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 291 of file font/font.cxx.
References mpImplFont.
Referenced by SVMConverter::ImplConvertFromSVM1(), and Merge().
void Font::SetStyleName | ( | const OUString & | rStyleName | ) |
Definition at line 142 of file font/font.cxx.
References mpImplFont.
Referenced by FontMetric::FontMetric(), OutputDevice::GetFontMetric(), and Merge().
void Font::SetSymbolFlag | ( | bool | bSymbol | ) |
Definition at line 178 of file font/font.cxx.
References GetCharSet(), IsSymbolFont(), and mpImplFont.
void Font::SetTransparent | ( | bool | bTransparent | ) |
Definition at line 124 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 279 of file font/font.cxx.
References mpImplFont.
Referenced by 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 249 of file font/font.cxx.
References mpImplFont.
Referenced by 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 255 of file font/font.cxx.
References mpImplFont.
Referenced by FontMetric::FontMetric(), OutputDevice::GetFontMetric(), and Merge().
void Font::SetWordLineMode | ( | bool | bWordLine | ) |
|
friend |
Definition at line 565 of file font/font.cxx.
|
friend |
Definition at line 623 of file font/font.cxx.
|
private |
Definition at line 178 of file include/vcl/font.hxx.
Referenced by DecreaseQualityBy(), EqualIgnoreColor(), Font(), GetAlignment(), GetAverageFontWidth(), GetCharSet(), GetCJKContextLanguage(), GetCJKContextLanguageTag(), GetColor(), GetEmphasisMark(), GetFamilyName(), GetFamilyType(), GetFillColor(), GetFontAttributes(), GetFontHeight(), GetFontSize(), GetHashValue(), GetHashValueIgnoreColor(), GetItalic(), GetKerning(), GetLanguage(), GetLanguageTag(), GetOrCalculateAverageFontWidth(), GetOrientation(), GetOverline(), GetPitch(), GetQuality(), GetRelief(), GetStrikeout(), GetStyleName(), GetUnderline(), GetWeight(), GetWidthType(), IncreaseQualityBy(), IsKerning(), IsOutline(), IsSameInstance(), IsShadow(), IsSymbolFont(), IsTransparent(), IsVertical(), IsWordLineMode(), Merge(), operator=(), operator==(), SetAlignment(), SetAverageFontWidth(), SetCharSet(), SetCJKContextLanguage(), SetCJKContextLanguageTag(), SetColor(), SetEmphasisMark(), SetFamily(), SetFamilyName(), SetFillColor(), SetFontHeight(), SetFontSize(), SetItalic(), SetKerning(), SetLanguage(), SetLanguageTag(), SetOrientation(), SetOutline(), SetOverline(), SetPitch(), SetQuality(), SetRelief(), SetShadow(), SetStrikeout(), SetStyleName(), SetSymbolFlag(), SetTransparent(), SetUnderline(), SetVertical(), SetWeight(), SetWidthType(), and SetWordLineMode().