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 48 of file include/vcl/font.hxx.
typedef o3tl::cow_wrapper< ImplFont > vcl::Font::ImplType |
Definition at line 169 of file include/vcl/font.hxx.
|
explicit |
Definition at line 53 of file font/font.cxx.
References get().
Font::Font | ( | const Font & | rFont | ) |
Definition at line 57 of file font/font.cxx.
|
noexcept |
Definition at line 61 of file font/font.cxx.
|
explicit |
Definition at line 65 of file font/font.cxx.
References mpImplFont, ImplFont::SetFamilyName(), and ImplFont::SetFontSize().
|
explicit |
Definition at line 71 of file font/font.cxx.
References mpImplFont, ImplFont::SetFamilyName(), ImplFont::SetFontSize(), and ImplFont::SetStyleName().
|
explicit |
Definition at line 78 of file font/font.cxx.
References mpImplFont, ImplFont::SetFamilyType(), and ImplFont::SetFontSize().
|
virtual |
Definition at line 84 of file font/font.cxx.
Definition at line 862 of file font/font.cxx.
References ImplFont::DecreaseQualityBy(), and mpImplFont.
FontAlign Font::GetAlignment | ( | ) | const |
Definition at line 825 of file font/font.cxx.
References ImplFont::GetAlignment(), and mpImplFont.
Referenced by OutputDevice::GetTextAlign(), EMFWriter::ImplCheckTextAttr(), SVMConverter::ImplConvertFromSVM1(), OutputDevice::ImplNewFont(), vcl::PDFWriterImpl::pop(), OutputDevice::SetFont(), and WMFWriter::WriteRecords().
tools::Long Font::GetAverageFontWidth | ( | ) | const |
Definition at line 834 of file font/font.cxx.
References ImplFont::GetFontSize(), mpImplFont, and Size::Width().
Referenced by vcl::PDFWriterImpl::drawLayout(), vcl::Window::ImplPaintToDevice(), ReadFont(), and WriteFont().
rtl_TextEncoding Font::GetCharSet | ( | ) | const |
Definition at line 836 of file font/font.cxx.
References ImplFont::GetCharSet(), and mpImplFont.
Referenced by OutputDevice::GetDefaultFont(), EMFWriter::ImplCheckTextAttr(), SVMConverter::ImplConvertFromSVM1(), Merge(), 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 841 of file font/font.cxx.
References LanguageTag::getLanguageType(), ImplFont::maCJKLanguageTag, and mpImplFont.
Referenced by OutputDevice::ImplGetEmphasisMarkStyle(), and IsUnderlineAbove().
const LanguageTag & Font::GetCJKContextLanguageTag | ( | ) | const |
Definition at line 839 of file font/font.cxx.
References ImplFont::maCJKLanguageTag, and mpImplFont.
Referenced by Merge().
const Color & Font::GetColor | ( | ) | const |
Definition at line 821 of file font/font.cxx.
References ImplFont::maColor, and mpImplFont.
Referenced by vcl::PDFWriterImpl::drawShadow(), SVMConverter::ImplConvertFromSVM1(), vcl::PDFWriterImpl::pop(), TextEngine::SetFont(), SvTreeListBox::SetFont(), OutputDevice::SetFont(), vcl::PDFWriterImpl::setFont(), WMFWriter::WriteRecords(), and MetafileXmlDump::writeXml().
FontEmphasisMark Font::GetEmphasisMark | ( | ) | const |
Definition at line 870 of file font/font.cxx.
References ImplFont::meEmphasisMark, and mpImplFont.
Referenced by OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplGetEmphasisMarkStyle(), OutputDevice::ImplNewFont(), and Merge().
const OUString & Font::GetFamilyName | ( | ) | const |
Definition at line 827 of file font/font.cxx.
References ImplFont::GetFamilyName(), and mpImplFont.
Referenced by vcl::PDFWriterImpl::getBestBuildinFont(), OutputDevice::GetDefaultFont(), OutputDevice::GetDevFontSizeCount(), ImplFontCache::GetFontInstance(), OutputDevice::GetFontMetric(), EMFWriter::ImplCheckTextAttr(), vcl::Window::ImplNewInputContext(), Merge(), operator<<(), vcl::PDFWriterImpl::replaceFont(), WMFWriter::SetAllAttr(), WMFWriter::WMFRecord_CreateFontIndirect(), WMFWriter::WMFRecord_Escape_Unicode(), and MetafileXmlDump::writeXml().
FontFamily Font::GetFamilyType | ( | ) |
Definition at line 851 of file font/font.cxx.
References ImplFont::GetFamilyType(), and mpImplFont.
Referenced by vcl::PDFWriterImpl::getBestBuildinFont(), EMFWriter::ImplCheckTextAttr(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontFamily Font::GetFamilyType | ( | ) | const |
Definition at line 857 of file font/font.cxx.
References ImplFont::GetFamilyTypeNoAsk(), and mpImplFont.
const Color & Font::GetFillColor | ( | ) | const |
Definition at line 822 of file font/font.cxx.
References ImplFont::maFillColor, and mpImplFont.
Referenced by SVMConverter::ImplConvertFromSVM1(), TextView::ImpPaint(), SvxIconChoiceCtrl_Impl::PaintEmphasis(), vcl::PDFWriterImpl::pop(), TextEngine::SetFont(), SvTreeListBox::SetFont(), OutputDevice::SetFont(), and MetafileXmlDump::writeXml().
void Font::GetFontAttributes | ( | FontAttributes & | rAttrs | ) | const |
Definition at line 356 of file font/font.cxx.
References ImplFont::GetCharSet(), ImplFont::GetFamilyName(), ImplFont::GetFamilyTypeNoAsk(), ImplFont::GetItalicNoAsk(), ImplFont::GetPitchNoAsk(), ImplFont::GetWeightNoAsk(), ImplFont::maStyleName, mpImplFont, FontAttributes::SetFamilyName(), FontAttributes::SetFamilyType(), FontAttributes::SetItalic(), FontAttributes::SetPitch(), FontAttributes::SetStyleName(), FontAttributes::SetSymbolFlag(), FontAttributes::SetWeight(), FontAttributes::SetWidthType(), and WIDTH_DONTKNOW.
Referenced by FontSelectPattern::FontSelectPattern().
tools::Long Font::GetFontHeight | ( | ) | const |
Definition at line 832 of file font/font.cxx.
References ImplFont::GetFontSize(), Size::Height(), and mpImplFont.
Referenced by vcl::PDFWriterImpl::createDefaultEditAppearance(), vcl::PDFWriterImpl::createDefaultListBoxAppearance(), vcl::PDFWriterImpl::createDefaultPushButtonAppearance(), vcl::PDFWriterImpl::drawFieldBorder(), OutputDevice::GetDefaultFont(), OutputDevice::ImplNewFont(), vcl::Window::ImplPaintToDevice(), vcl::Window::ImplUpdateGlobalSettings(), BubbleWindow::RecalcTextRects(), vcl::PDFWriterImpl::replaceFont(), and SalInstanceTextView::set_monospace().
const Size & Font::GetFontSize | ( | ) | const |
Definition at line 830 of file font/font.cxx.
References ImplFont::GetFontSize(), and mpImplFont.
Referenced by vcl::PDFWriterImpl::createDefaultCheckBoxAppearance(), vcl::PDFWriterImpl::createDefaultPushButtonAppearance(), vcl::PDFWriterImpl::createDefaultRadioButtonAppearance(), OutputDevice::GetDefaultFont(), vcl::Window::GetDrawPixelFont(), EMFWriter::ImplCheckTextAttr(), vcl::Window::ImplLogicToPoint(), OutputDevice::ImplNewFont(), vcl::Window::ImplNewInputContext(), vcl::Window::ImplPointToLogic(), Merge(), operator<<(), ReadFont(), vcl::ReferenceDeviceTextLayout::ReferenceDeviceTextLayout(), vcl::PDFWriterImpl::replaceFont(), SetFontSize(), MessageDialog::SetMessagesWidths(), vcl::Window::SetZoomedPointFont(), WMFWriter::WMFRecord_CreateFontIndirect(), WriteFont(), and MetafileXmlDump::writeXml().
FontItalic Font::GetItalic | ( | ) |
Definition at line 850 of file font/font.cxx.
References ImplFont::GetItalic(), and mpImplFont.
Referenced by vcl::PDFWriterImpl::getBestBuildinFont(), EMFWriter::ImplCheckTextAttr(), Merge(), vcl::PDFWriterImpl::replaceFont(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontItalic Font::GetItalic | ( | ) | const |
Definition at line 856 of file font/font.cxx.
References ImplFont::GetItalicNoAsk(), and mpImplFont.
FontKerning Font::GetKerning | ( | ) | const |
Definition at line 845 of file font/font.cxx.
References ImplFont::meKerning, and mpImplFont.
Referenced by OutputDevice::ImplPrepareLayoutArgs().
LanguageType Font::GetLanguage | ( | ) | const |
Definition at line 840 of file font/font.cxx.
References LanguageTag::getLanguageType(), ImplFont::maLanguageTag, and mpImplFont.
Referenced by OutputDevice::ImplGetEmphasisMarkStyle(), and IsUnderlineAbove().
const LanguageTag & Font::GetLanguageTag | ( | ) | const |
Definition at line 838 of file font/font.cxx.
References ImplFont::maLanguageTag, and mpImplFont.
Referenced by OutputDevice::ImplPrepareLayoutArgs(), and Merge().
tools::Long Font::GetOrCalculateAverageFontWidth | ( | ) | const |
Definition at line 369 of file font/font.cxx.
References basegfx::fround(), ImplFont::GetCalculatedAverageFontWidth(), mpImplFont, SetAverageFontWidth(), ImplFont::SetCalculatedAverageFontWidth(), and u.
Referenced by EMFWriter::ImplCheckTextAttr().
Degree10 Font::GetOrientation | ( | ) | const |
Definition at line 843 of file font/font.cxx.
References ImplFont::mnOrientation, and mpImplFont.
Referenced by EMFWriter::ImplCheckTextAttr(), Merge(), WMFWriter::WMFRecord_CreateFontIndirect(), and MetafileXmlDump::writeXml().
FontLineStyle Font::GetOverline | ( | ) | const |
Definition at line 868 of file font/font.cxx.
References ImplFont::meOverline, and mpImplFont.
Referenced by OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplNewFont(), and Merge().
FontPitch Font::GetPitch | ( | ) |
Definition at line 847 of file font/font.cxx.
References ImplFont::GetPitch(), and mpImplFont.
Referenced by EMFWriter::ImplCheckTextAttr(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontPitch Font::GetPitch | ( | ) | const |
Definition at line 853 of file font/font.cxx.
References ImplFont::GetPitchNoAsk(), and mpImplFont.
int Font::GetQuality | ( | ) | const |
Definition at line 859 of file font/font.cxx.
References ImplFont::GetQuality(), and mpImplFont.
FontRelief Font::GetRelief | ( | ) | const |
Definition at line 866 of file font/font.cxx.
References ImplFont::meRelief, and mpImplFont.
Referenced by OutputDevice::ImplDrawSpecialText(), OutputDevice::ImplNewFont(), and Merge().
FontStrikeout Font::GetStrikeout | ( | ) | const |
Definition at line 869 of file font/font.cxx.
References ImplFont::meStrikeout, and mpImplFont.
Referenced by EMFWriter::ImplCheckTextAttr(), OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplNewFont(), Merge(), and WMFWriter::WMFRecord_CreateFontIndirect().
const OUString & Font::GetStyleName | ( | ) | const |
Definition at line 828 of file font/font.cxx.
References ImplFont::maStyleName, and mpImplFont.
Referenced by Merge(), and MetafileXmlDump::writeXml().
FontLineStyle Font::GetUnderline | ( | ) | const |
Definition at line 867 of file font/font.cxx.
References ImplFont::meUnderline, and mpImplFont.
Referenced by EMFWriter::ImplCheckTextAttr(), OutputDevice::ImplDrawTextDirect(), OutputDevice::ImplNewFont(), Merge(), and WMFWriter::WMFRecord_CreateFontIndirect().
FontWeight Font::GetWeight | ( | ) |
Definition at line 848 of file font/font.cxx.
References ImplFont::GetWeight(), and 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 854 of file font/font.cxx.
References ImplFont::GetWeightNoAsk(), and mpImplFont.
FontWidth Font::GetWidthType | ( | ) |
Definition at line 849 of file font/font.cxx.
References ImplFont::GetWidthType(), and mpImplFont.
Referenced by Merge().
FontWidth Font::GetWidthType | ( | ) | const |
Definition at line 855 of file font/font.cxx.
References ImplFont::GetWidthTypeNoAsk(), and mpImplFont.
Definition at line 804 of file font/font.cxx.
Definition at line 861 of file font/font.cxx.
References ImplFont::IncreaseQualityBy(), and mpImplFont.
bool Font::IsKerning | ( | ) | const |
Definition at line 218 of file font/font.cxx.
References ImplFont::meKerning, mpImplFont, and NONE.
Referenced by OutputDevice::ImplPrepareLayoutArgs(), and Merge().
bool Font::IsOutline | ( | ) | const |
Definition at line 864 of file font/font.cxx.
References ImplFont::mbOutline, and mpImplFont.
Referenced by vcl::PDFWriterImpl::drawShadow(), OutputDevice::ImplDrawSpecialText(), OutputDevice::ImplNewFont(), and Merge().
bool Font::IsSameInstance | ( | const Font & | rFont | ) | const |
Definition at line 872 of file font/font.cxx.
References mpImplFont.
Referenced by OutputDevice::SetFont().
bool Font::IsShadow | ( | ) | const |
Definition at line 865 of file font/font.cxx.
References ImplFont::mbShadow, and mpImplFont.
Referenced by OutputDevice::ImplDrawSpecialText(), OutputDevice::ImplNewFont(), and Merge().
bool Font::IsSymbolFont | ( | ) | const |
Definition at line 150 of file font/font.cxx.
References ImplFont::IsSymbolFont(), and mpImplFont.
Referenced by SetSymbolFlag().
bool Font::IsTransparent | ( | ) | const |
Definition at line 823 of file font/font.cxx.
References ImplFont::mbTransparent, and mpImplFont.
Referenced by SVMConverter::ImplConvertFromSVM1(), TextView::ImpPaint(), OutputDevice::IsTextFillColor(), SvTreeListBox::SetFont(), and OutputDevice::SetFont().
|
inline |
Definition at line 177 of file include/vcl/font.hxx.
References GetCJKContextLanguage(), GetLanguage(), IsVertical(), and LANGUAGE_JAPANESE.
Referenced by OutputDevice::ImplDrawTextDirect().
bool Font::IsVertical | ( | ) | const |
Definition at line 844 of file font/font.cxx.
References ImplFont::mbVertical, and mpImplFont.
Referenced by ImplHandleExtTextInputPos(), OutputDevice::ImplPrepareLayoutArgs(), IsUnderlineAbove(), Merge(), and MetafileXmlDump::writeXml().
bool Font::IsWordLineMode | ( | ) | const |
Definition at line 871 of file font/font.cxx.
References ImplFont::mbWordLine, and mpImplFont.
Referenced by OutputDevice::ImplDrawTextDirect(), and Merge().
Definition at line 306 of file font/font.cxx.
References FontSpecific, GetCharSet(), GetCJKContextLanguageTag(), GetEmphasisMark(), GetFamilyName(), ImplFont::GetFamilyTypeNoAsk(), GetFontSize(), GetItalic(), ImplFont::GetItalicNoAsk(), GetLanguageTag(), GetOrientation(), GetOverline(), ImplFont::GetPitchNoAsk(), GetRelief(), GetStrikeout(), GetStyleName(), GetUnderline(), GetWeight(), ImplFont::GetWeightNoAsk(), GetWidthType(), ImplFont::GetWidthTypeNoAsk(), 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 160 of file include/vcl/font.hxx.
References operator==().
Definition at line 289 of file font/font.cxx.
References mpImplFont.
Definition at line 295 of file font/font.cxx.
References mpImplFont.
bool Font::operator== | ( | const Font & | rFont | ) | const |
Definition at line 301 of file font/font.cxx.
References mpImplFont.
Referenced by FontMetric::operator!=(), and operator!=().
Definition at line 109 of file font/font.cxx.
References mpImplFont, and ImplFont::SetAlignment().
Referenced by OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), TextEngine::SetFont(), DXF2GDIMetaFile::SetFontAttribute(), WMFWriter::WriteRecords(), and WMFWriter::WriteWMF().
void Font::SetAverageFontWidth | ( | tools::Long | nWidth | ) |
Definition at line 833 of file font/font.cxx.
References ImplFont::GetFontSize(), Size::Height(), mpImplFont, and SetFontSize().
Referenced by vcl::PDFWriterImpl::drawLayout(), GetOrCalculateAverageFontWidth(), vcl::Window::ImplPaintToDevice(), ReadFont(), and WriteFont().
void Font::SetCharSet | ( | rtl_TextEncoding | eCharSet | ) |
Definition at line 137 of file font/font.cxx.
References GetCharSet(), mpImplFont, ImplFont::SetCharSet(), and ImplFont::SetSymbolFlag().
Referenced by OutputDevice::GetDefaultFont(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), WMFWriter::SetAllAttr(), ImplStyleData::SetStandardStyles(), vcl::FileDefinitionWidgetDraw::updateSettings(), WMFWriter::WMFRecord_Escape_Unicode(), WMFWriter::WriteRecords(), and WMFWriter::WriteWMF().
void Font::SetCJKContextLanguage | ( | LanguageType | eLanguage | ) |
Definition at line 188 of file font/font.cxx.
References ImplFont::maCJKLanguageTag, mpImplFont, and LanguageTag::reset().
void Font::SetCJKContextLanguageTag | ( | const LanguageTag & | rLanguageTag | ) |
Definition at line 176 of file font/font.cxx.
References ImplFont::maCJKLanguageTag, and mpImplFont.
Referenced by Merge().
Definition at line 88 of file font/font.cxx.
References maColor, ImplFont::maColor, and mpImplFont.
Referenced by VclMultiLineEdit::ApplySettings(), vcl::PDFWriterImpl::drawRelief(), vcl::PDFWriterImpl::drawShadow(), SVMConverter::ImplConvertFromSVM1(), GDIMetaFile::ImplExchangeColors(), VclMultiLineEdit::ImplInitSettings(), SvxIconChoiceCtrl_Impl::InitSettings(), MakePreview(), TextEngine::SeekCursor(), SvtIconChoiceCtrl::SetBackground(), TextAttribFontColor::SetFont(), TextEngine::SetFont(), SvTreeListBox::SetFont(), OutputDevice::SetFont(), vcl::PDFWriterImpl::setFont(), DXF2GDIMetaFile::SetFontAttribute(), WMFWriter::WriteRecords(), and WMFWriter::WriteWMF().
void Font::SetEmphasisMark | ( | FontEmphasisMark | eEmphasisMark | ) |
Definition at line 277 of file font/font.cxx.
References ImplFont::meEmphasisMark, and mpImplFont.
Referenced by Merge().
void Font::SetFamily | ( | FontFamily | eFamily | ) |
Definition at line 131 of file font/font.cxx.
References mpImplFont, and ImplFont::SetFamilyType().
Referenced by OutputDevice::GetDefaultFont(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), and DXF2GDIMetaFile::SetFontAttribute().
void Font::SetFamilyName | ( | const OUString & | rFamilyName | ) |
Definition at line 115 of file font/font.cxx.
References mpImplFont, and ImplFont::SetFamilyName().
Referenced by vcl::PDFWriterImpl::endPage(), OutputDevice::GetDefaultFont(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), vcl::PDFWriterImpl::PDFWriterImpl(), ImplStyleData::SetStandardStyles(), and vcl::FileDefinitionWidgetDraw::updateSettings().
Definition at line 96 of file font/font.cxx.
References Color::IsTransparent(), ImplFont::maFillColor, ImplFont::mbTransparent, and mpImplFont.
Referenced by VclMultiLineEdit::ApplySettings(), SVMConverter::ImplConvertFromSVM1(), VclMultiLineEdit::ImplInitSettings(), TextView::ImpPaint(), SvxIconChoiceCtrl_Impl::PaintEntry(), TextEngine::SeekCursor(), TextEngine::SetFont(), SvTreeListBox::SetFont(), OutputDevice::SetFont(), and WMFWriter::WriteRecords().
void Font::SetFontHeight | ( | tools::Long | nHeight | ) |
Definition at line 831 of file font/font.cxx.
References ImplFont::GetFontSize(), mpImplFont, SetFontSize(), and Size::Width().
Referenced by OutputDevice::GetDefaultFont(), vcl::Window::ImplPaintToDevice(), vcl::Window::ImplUpdateGlobalSettings(), vcl::Window::set_font_attribute(), and SalInstanceTextView::set_monospace().
Definition at line 125 of file font/font.cxx.
References GetFontSize(), mpImplFont, and ImplFont::SetFontSize().
Referenced by 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(), SetAverageFontWidth(), DXF2GDIMetaFile::SetFontAttribute(), SetFontHeight(), MessageDialog::SetMessagesWidths(), and vcl::Window::SetZoomedPointFont().
void Font::SetItalic | ( | FontItalic | eItalic | ) |
Definition at line 235 of file font/font.cxx.
References mpImplFont, and ImplFont::SetItalic().
Referenced by OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), Merge(), vcl::PDFWriterImpl::replaceFont(), and vcl::Window::set_font_attribute().
void Font::SetKerning | ( | FontKerning | nKerning | ) |
Definition at line 212 of file font/font.cxx.
References ImplFont::meKerning, and mpImplFont.
Referenced by Merge().
void Font::SetLanguage | ( | LanguageType | eLanguage | ) |
Definition at line 182 of file font/font.cxx.
References LanguageTag::getLanguageType(), maLanguageTag, ImplFont::maLanguageTag, mpImplFont, and LanguageTag::reset().
Referenced by OutputDevice::GetDefaultFont().
void Font::SetLanguageTag | ( | const LanguageTag & | rLanguageTag | ) |
Definition at line 170 of file font/font.cxx.
References maLanguageTag, ImplFont::maLanguageTag, and mpImplFont.
Referenced by Merge().
Definition at line 200 of file font/font.cxx.
References ImplFont::mnOrientation, and 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 241 of file font/font.cxx.
References ImplFont::mbOutline, and mpImplFont.
Referenced by vcl::PDFWriterImpl::drawShadow(), SVMConverter::ImplConvertFromSVM1(), and Merge().
void Font::SetOverline | ( | FontLineStyle | eOverline | ) |
Definition at line 259 of file font/font.cxx.
References ImplFont::meOverline, and mpImplFont.
Referenced by Merge().
Definition at line 194 of file font/font.cxx.
References mpImplFont, and ImplFont::SetPitch().
Referenced by OutputDevice::GetDefaultFont(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), SVMConverter::ImplConvertFromSVM1(), and Merge().
Definition at line 860 of file font/font.cxx.
References mpImplFont, and ImplFont::SetQuality().
Referenced by OutputDevice::GetDevFont(), and OutputDevice::GetFontMetric().
void Font::SetRelief | ( | FontRelief | eRelief | ) |
Definition at line 271 of file font/font.cxx.
References ImplFont::meRelief, and mpImplFont.
Referenced by vcl::PDFWriterImpl::drawRelief(), and Merge().
void Font::SetShadow | ( | bool | bShadow | ) |
Definition at line 247 of file font/font.cxx.
References ImplFont::mbShadow, and mpImplFont.
Referenced by vcl::PDFWriterImpl::drawRelief(), vcl::PDFWriterImpl::drawShadow(), vcl::PDFWriterImpl::drawStrikeoutChar(), SVMConverter::ImplConvertFromSVM1(), and Merge().
void Font::SetStrikeout | ( | FontStrikeout | eStrikeout | ) |
Definition at line 265 of file font/font.cxx.
References ImplFont::meStrikeout, and mpImplFont.
Referenced by SVMConverter::ImplConvertFromSVM1(), and Merge().
void Font::SetStyleName | ( | const OUString & | rStyleName | ) |
Definition at line 120 of file font/font.cxx.
References ImplFont::maStyleName, and mpImplFont.
Referenced by OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), and Merge().
void Font::SetSymbolFlag | ( | bool | bSymbol | ) |
Definition at line 155 of file font/font.cxx.
References ImplFont::GetCharSet(), IsSymbolFont(), mpImplFont, ImplFont::SetCharSet(), and ImplFont::SetSymbolFlag().
void Font::SetTransparent | ( | bool | bTransparent | ) |
Definition at line 103 of file font/font.cxx.
References ImplFont::mbTransparent, and 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(), and SvInplaceEdit2::SvInplaceEdit2().
void Font::SetUnderline | ( | FontLineStyle | eUnderline | ) |
Definition at line 253 of file font/font.cxx.
References ImplFont::meUnderline, and mpImplFont.
Referenced by SVMConverter::ImplConvertFromSVM1(), Edit::ImplRepaint(), Merge(), vcl::HyperLabel::MouseMove(), TextEngine::SeekCursor(), and vcl::Window::set_font_attribute().
void Font::SetVertical | ( | bool | bVertical | ) |
Definition at line 206 of file font/font.cxx.
References ImplFont::mbVertical, and mpImplFont.
Referenced by Merge().
void Font::SetWeight | ( | FontWeight | eWeight | ) |
Definition at line 223 of file font/font.cxx.
References mpImplFont, and ImplFont::SetWeight().
Referenced by OutputDevice::GetDefaultFont(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), Menu::ImplCalcSize(), SVMConverter::ImplConvertFromSVM1(), Menu::ImplPaintMenuTitle(), SvLBoxString::InitViewData(), Merge(), BubbleWindow::Paint(), SvLBoxString::Paint(), BubbleWindow::RecalcTextRects(), vcl::PDFWriterImpl::replaceFont(), vcl::Window::set_font_attribute(), TextAttribFontWeight::SetFont(), MessageDialog::SetMessagesWidths(), ImplStyleData::SetStandardStyles(), and vcl::FileDefinitionWidgetDraw::updateSettings().
Definition at line 229 of file font/font.cxx.
References mpImplFont, and ImplFont::SetWidthType().
Referenced by OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), and Merge().
void Font::SetWordLineMode | ( | bool | bWordLine | ) |
Definition at line 283 of file font/font.cxx.
References ImplFont::mbWordLine, and mpImplFont.
Referenced by Merge().
|
friend |
Definition at line 514 of file font/font.cxx.
|
friend |
Definition at line 572 of file font/font.cxx.
|
private |
Definition at line 174 of file include/vcl/font.hxx.
Referenced by DecreaseQualityBy(), Font(), GetAlignment(), GetAverageFontWidth(), GetCharSet(), GetCJKContextLanguage(), GetCJKContextLanguageTag(), GetColor(), GetEmphasisMark(), GetFamilyName(), GetFamilyType(), GetFillColor(), GetFontAttributes(), GetFontHeight(), GetFontSize(), 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==(), ReadFont(), 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(), SetWordLineMode(), and WriteFont().