LibreOffice Module sw (master) 1
|
To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin, CJK, and CTL). More...
#include <swfont.hxx>
Public Member Functions | |
SwFont (const SwAttrSet *pSet, const IDocumentSettingAccess *pIDocumentSettingAccess) | |
SwFont (const SwFont &rFont) | |
void | ChgFnt (SwViewShell const *pSh, OutputDevice &rOut) |
~SwFont () | |
SwFont & | operator= (const SwFont &rFont) |
SwFontScript | GetActual () const |
void | SetActual (SwFontScript nNew) |
const SvxFont & | GetActualFont () const |
void | AllocFontCacheId (SwViewShell const *pSh, SwFontScript nWhich) |
void | SetBackColor (std::optional< Color > xNewColor) |
const std::optional< Color > & | GetBackColor () const |
void | SetHighlightColor (const Color &aNewColor) |
const Color & | GetHighlightColor () const |
void | CheckFontCacheId (SwViewShell const *pSh, SwFontScript nWhich) |
void | GetFontCacheId (const void *&rnFontCacheId, sal_uInt16 &rIdx, SwFontScript nWhich) |
void | SetFontCacheId (const void *nNewFontCacheId, const sal_uInt16 nIdx, SwFontScript nWhich) |
bool | DifferentFontCacheId (const SwFont *pFnt, SwFontScript nWhich) |
const Size & | GetSize (SwFontScript nWhich) const |
bool | IsFntChg () const |
void | SetFntChg (const bool bNew) |
void | SetColor (const Color &rColor) |
void | SetFillColor (const Color &rColor) |
void | SetAlign (const TextAlign eAlign) |
void | SetUnderline (const FontLineStyle eUnderline) |
void | SetUnderColor (const Color &rColor) |
void | SetOverline (const FontLineStyle eOverline) |
void | SetOverColor (const Color &rColor) |
void | SetStrikeout (const FontStrikeout eStrikeout) |
void | SetOutline (const bool bOutline) |
void | SetVertical (Degree10 nDir, const bool bVertLayout=false, const bool bVertLayoutLRBT=false) |
void | SetShadow (const bool bShadow) |
void | SetAutoKern (FontKerning nAutoKern) |
void | SetTransparent (const bool bTrans) |
void | SetWordLineMode (const bool bWordLineMode) |
void | SetFixKerning (const short nNewKern) |
void | SetCaseMap (const SvxCaseMap eNew) |
void | SetEmphasisMark (const FontEmphasisMark eValue) |
void | SetEscapement (const short nNewEsc) |
void | SetProportion (const sal_uInt8 nNewPropr) |
void | SetPropWidth (const sal_uInt16 nNew) |
void | SetFamily (const FontFamily eFamily, const SwFontScript nWhich) |
void | SetName (const OUString &rName, const SwFontScript nWhich) |
void | SetStyleName (const OUString &rStyleName, const SwFontScript nWhich) |
void | SetSize (const Size &rSize, const SwFontScript nWhich) |
void | SetWeight (const FontWeight eWeight, const SwFontScript nWhich) |
void | SetItalic (const FontItalic eItalic, const SwFontScript nWhich) |
void | SetLanguage (LanguageType eNewLang, const SwFontScript nWhich) |
void | SetCharSet (const rtl_TextEncoding eCharSet, const SwFontScript nWhich) |
void | SetPitch (const FontPitch ePitch, const SwFontScript nWhich) |
void | SetRelief (const FontRelief eNew) |
sal_uInt8 & | GetTox () |
bool | IsTox () const |
sal_uInt8 & | GetRef () |
bool | IsRef () const |
sal_uInt8 & | GetMeta () |
bool | IsMeta () const |
sal_uInt8 & | GetContentControl () |
bool | IsContentControl () const |
sal_uInt8 & | GetInputField () |
bool | IsInputField () const |
void | SetGreyWave (const bool bNew) |
bool | IsGreyWave () const |
bool | IsPaintBlank () const |
void | SetDiffFnt (const SfxItemSet *pSet, const IDocumentSettingAccess *pIDocumentSettingAccess) |
const SvxFont & | GetFnt (const SwFontScript nWhich) const |
bool | IsSymbol (SwViewShell const *pSh) |
FontLineStyle | GetUnderline () const |
const Color & | GetUnderColor () const |
FontLineStyle | GetOverline () const |
const Color & | GetOverColor () const |
FontStrikeout | GetStrikeout () const |
const Color & | GetColor () const |
bool | IsWordLineMode () const |
short | GetEscapement () const |
SvxCaseMap | GetCaseMap () const |
sal_uInt8 | GetPropr () const |
FontItalic | GetItalic () const |
LanguageType | GetLanguage () const |
tools::Long | GetHeight () const |
FontWeight | GetWeight () const |
FontEmphasisMark | GetEmphasisMark () const |
Degree10 | GetOrientation (const bool bVertLayout=false, const bool bVertFormatLRBT=false) const |
const OUString & | GetName (const SwFontScript nWhich) const |
LanguageType | GetLanguage (const SwFontScript nWhich) const |
rtl_TextEncoding | GetCharSet (const SwFontScript nWhich) const |
tools::Long | GetHeight (const SwFontScript nWhich) const |
void | ChgPhysFnt (SwViewShell const *pSh, OutputDevice &rOut) |
TextFrameIndex | GetCapitalBreak (SwViewShell const *pSh, const OutputDevice *pOut, const SwScriptInfo *pScript, const OUString &rText, tools::Long nTextWidth, TextFrameIndex nIdx, TextFrameIndex nLen) |
void | DoOnCapitals (SwDoCapitals &rDo) |
Size | GetTextSize_ (SwDrawTextInfo &rInf) |
TextFrameIndex | GetTextBreak (SwDrawTextInfo const &rInf, tools::Long nTextWidth) |
TextFrameIndex | GetModelPositionForViewPoint_ (SwDrawTextInfo &rInf) |
void | DrawText_ (SwDrawTextInfo &rInf) |
void | DrawStretchText_ (SwDrawTextInfo &rInf) |
short | CheckKerning () |
sal_uInt16 | GetAscent (SwViewShell const *pSh, const OutputDevice &rOut) |
sal_uInt16 | GetHeight (SwViewShell const *pSh, const OutputDevice &rOut) |
sal_uInt16 | GetHangingBaseline (SwViewShell const *pSh, const OutputDevice &rOut) |
void | Invalidate () |
void | SetTopBorder (const editeng::SvxBorderLine *pTopBorder) |
void | SetBottomBorder (const editeng::SvxBorderLine *pBottomBorder) |
void | SetRightBorder (const editeng::SvxBorderLine *pRightBorder) |
void | SetLeftBorder (const editeng::SvxBorderLine *pLeftBorder) |
const std::optional< editeng::SvxBorderLine > & | GetTopBorder () const |
const std::optional< editeng::SvxBorderLine > & | GetBottomBorder () const |
const std::optional< editeng::SvxBorderLine > & | GetRightBorder () const |
const std::optional< editeng::SvxBorderLine > & | GetLeftBorder () const |
const std::optional< editeng::SvxBorderLine > & | GetAbsTopBorder (const bool bVertLayout, const bool bVertLayoutLRBT) const |
const std::optional< editeng::SvxBorderLine > & | GetAbsBottomBorder (const bool bVertLayout, const bool bVertLayoutLRBT) const |
const std::optional< editeng::SvxBorderLine > & | GetAbsRightBorder (const bool bVertLayout, const bool bVertLayoutLRBT) const |
const std::optional< editeng::SvxBorderLine > & | GetAbsLeftBorder (const bool bVertLayout, const bool bVertLayoutLRBT) const |
void | SetTopBorderDist (const sal_uInt16 nTopDist) |
void | SetBottomBorderDist (const sal_uInt16 nBottomDist) |
void | SetRightBorderDist (const sal_uInt16 nRightDist) |
void | SetLeftBorderDist (const sal_uInt16 nLeftDist) |
sal_uInt16 | GetTopBorderDist () const |
sal_uInt16 | GetBottomBorderDist () const |
sal_uInt16 | GetRightBorderDist () const |
sal_uInt16 | GetLeftBorderDist () const |
sal_uInt16 | GetTopBorderSpace () const |
sal_uInt16 | GetBottomBorderSpace () const |
sal_uInt16 | GetRightBorderSpace () const |
sal_uInt16 | GetLeftBorderSpace () const |
bool | HasBorder () const |
Check whether font has any border on any side. More... | |
void | SetShadowColor (const Color &rColor) |
void | SetShadowWidth (const sal_uInt16 nWidth) |
void | SetShadowLocation (const SvxShadowLocation aLocation) |
const Color & | GetShadowColor () const |
sal_uInt16 | GetShadowWidth () const |
SvxShadowLocation | GetShadowLocation () const |
SvxShadowLocation | GetAbsShadowLocation (const bool bVertLayout, const bool bVertLayoutLRBT) const |
Get the absolute shadow location dependent from orientation. More... | |
sal_uInt16 | CalcShadowSpace (const SvxShadowItemSide nShadow, const bool bVertLayout, const bool bVertLayoutLRBT, const bool bSkipLeft, const bool bSkipRight) const |
Calculate the shadow space on the specified side dependent from the orientation and connection with neighbours. More... | |
void | dumpAsXml (xmlTextWriterPtr writer) const |
Private Attributes | |
o3tl::enumarray< SwFontScript, SwSubFont > | m_aSub |
std::optional< Color > | mxBackColor |
Color | m_aHighlightColor |
Color | m_aUnderColor |
Color | m_aOverColor |
std::optional< editeng::SvxBorderLine > | m_aTopBorder |
std::optional< editeng::SvxBorderLine > | m_aBottomBorder |
std::optional< editeng::SvxBorderLine > | m_aRightBorder |
std::optional< editeng::SvxBorderLine > | m_aLeftBorder |
sal_uInt16 | m_nTopBorderDist |
sal_uInt16 | m_nBottomBorderDist |
sal_uInt16 | m_nRightBorderDist |
sal_uInt16 | m_nLeftBorderDist |
Color | m_aShadowColor |
sal_uInt16 | m_nShadowWidth |
SvxShadowLocation | m_aShadowLocation |
sal_uInt8 | m_nToxCount |
sal_uInt8 | m_nRefCount |
sal_uInt8 | m_nMetaCount |
sal_uInt8 | m_nContentControlCount |
sal_uInt8 | m_nInputFieldCount |
SwFontScript | m_nActual |
bool | m_bPaintBlank:1 |
bool | m_bFontChg:1 |
bool | m_bOrgChg:1 |
bool | m_bGreyWave:1 |
To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin, CJK, and CTL).
The m_nActual member indicates the current script, i.e. the currently active subfont.
Definition at line 134 of file swfont.hxx.
SwFont::SwFont | ( | const SwAttrSet * | pSet, |
const IDocumentSettingAccess * | pIDocumentSettingAccess | ||
) |
Definition at line 673 of file swfont.cxx.
References ALIGN_BASELINE, CJK, COL_TRANSPARENT(), CTL, IDocumentSettingAccess::get(), SwAttrSet::Get2Lines(), SwAttrSet::GetAutoKern(), SvxCaseMapItem::GetCaseMap(), SwAttrSet::GetCaseMap(), SwAttrSet::GetCharHidden(), SwAttrSet::GetCharRelief(), SwAttrSet::GetCharRotate(), SwAttrSet::GetCharScaleW(), SvxFontItem::GetCharSet(), SwAttrSet::GetCJKFont(), SwAttrSet::GetCJKLanguage(), SwAttrSet::GetCJKPosture(), SwAttrSet::GetCJKSize(), SwAttrSet::GetCJKWeight(), SvxTextLineItem::GetColor(), SwAttrSet::GetColor(), SwAttrSet::GetContour(), SwAttrSet::GetCrossedOut(), SwAttrSet::GetCTLFont(), SwAttrSet::GetCTLLanguage(), SwAttrSet::GetCTLPosture(), SwAttrSet::GetCTLSize(), SwAttrSet::GetCTLWeight(), SvxEmphasisMarkItem::GetEmphasisMark(), SwAttrSet::GetEmphasisMark(), SvxEscapementItem::GetEsc(), SwAttrSet::GetEscapement(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), SwAttrSet::GetFont(), SvxFontHeightItem::GetHeight(), SfxItemSet::GetItemIfSet(), SwAttrSet::GetKerning(), SvxLanguageItem::GetLanguage(), SwAttrSet::GetLanguage(), SvxTextLineItem::GetLineStyle(), SwAttrSet::GetOverline(), SvxFontItem::GetPitch(), SvxPostureItem::GetPosture(), SwAttrSet::GetPosture(), SvxEscapementItem::GetProportionalHeight(), SwAttrSet::GetShadowed(), SwAttrSet::GetSize(), SvxCrossedOutItem::GetStrikeout(), SvxFontItem::GetStyleName(), SwAttrSet::GetUnderline(), SvxColorItem::GetValue(), SvxTextRotateItem::GetValue(), SvxTwoLinesItem::GetValue(), SvxWeightItem::GetWeight(), SwAttrSet::GetWeight(), SwAttrSet::GetWordLineMode(), KERN_ASIAN_PUNCTUATION, Latin, LINESTYLE_DOTTED, m_aSub, m_bGreyWave, m_bOrgChg, m_bPaintBlank, m_nActual, m_nContentControlCount, m_nInputFieldCount, m_nMetaCount, m_nRefCount, m_nToxCount, mxBackColor, RES_CHRATR_BACKGROUND(), RES_CHRATR_BOX(), RES_CHRATR_HIGHLIGHT(), RES_CHRATR_SHADOW(), SetAlign(), SetAutoKern(), SetBottomBorder(), SetBottomBorderDist(), SetCaseMap(), SetColor(), SetEmphasisMark(), SetEscapement(), SetFixKerning(), Size::setHeight(), SetHighlightColor(), SetLeftBorder(), SetLeftBorderDist(), SetOutline(), SetOverColor(), SetOverline(), SetProportion(), SetPropWidth(), SetRelief(), SetRightBorder(), SetRightBorderDist(), SetShadow(), SetShadowColor(), SetShadowLocation(), SetShadowWidth(), SetStrikeout(), SetTopBorder(), SetTopBorderDist(), SetTransparent(), SetUnderColor(), SetUnderline(), SetVertical(), SetWordLineMode(), and SMALL_CAPS_PERCENTAGE_66.
SwFont::SwFont | ( | const SwFont & | rFont | ) |
Definition at line 643 of file swfont.cxx.
References GetOverColor(), GetUnderColor(), m_aBottomBorder, m_aHighlightColor, m_aLeftBorder, m_aOverColor, m_aRightBorder, m_aShadowColor, m_aShadowLocation, m_aTopBorder, m_aUnderColor, m_bFontChg, m_bGreyWave, m_bOrgChg, m_bPaintBlank, m_nActual, m_nBottomBorderDist, m_nContentControlCount, m_nInputFieldCount, m_nLeftBorderDist, m_nMetaCount, m_nRefCount, m_nRightBorderDist, m_nShadowWidth, m_nTopBorderDist, m_nToxCount, and mxBackColor.
SwFont::~SwFont | ( | ) |
Definition at line 824 of file swfont.cxx.
void SwFont::AllocFontCacheId | ( | SwViewShell const * | pSh, |
SwFontScript | nWhich | ||
) |
Definition at line 864 of file swfont.cxx.
References m_aSub.
Referenced by CheckFontCacheId(), and SwFontObj::SwFontObj().
sal_uInt16 SwFont::CalcShadowSpace | ( | const SvxShadowItemSide | nShadow, |
const bool | bVertLayout, | ||
const bool | bVertLayoutLRBT, | ||
const bool | bSkipLeft, | ||
const bool | bSkipRight | ||
) | const |
Calculate the shadow space on the specified side dependent from the orientation and connection with neighbours.
[in] | nShadow | specify the side |
[in] | bVertLayout | true, if the container layout is vertical false, otherwise |
[in] | bVertLayoutLRBT | true if the container layout is vertical (bottom to top, left to right), false otherwise |
[in] | bSkipLeft | relative left shadow space is skipped |
[in] | bSkipRight | relative right shadow space is skipped |
Definition at line 282 of file swfont.cxx.
References GetAbsShadowLocation(), GetOrientation(), and m_nShadowWidth.
|
inline |
Definition at line 199 of file swfont.hxx.
References AllocFontCacheId(), and m_aSub.
Referenced by SwDropCapCache::CalcFontSize(), and SwAttrIter::InitFontAndAttrHandler().
|
inline |
Definition at line 327 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextPortion::CreateHyphen(), SwTextPortion::Format_(), GetCapitalBreak(), and GetTextBreak().
|
inline |
Definition at line 180 of file swfont.hxx.
References m_aSub, m_bPaintBlank, and m_nActual.
Referenced by ChgPhysFnt(), SwTextFrame::FillRegister(), and GetTextBreak().
void SwFont::ChgPhysFnt | ( | SwViewShell const * | pSh, |
OutputDevice & | rOut | ||
) |
Definition at line 893 of file swfont.cxx.
References ChgFnt(), SwFntAccess::Get(), SwFntObj::GetFontAscent(), SwFntObj::GetFontHeight(), OutputDevice::GetOverlineColor(), OutputDevice::GetTextLineColor(), m_aOverColor, m_aSub, m_aUnderColor, m_bFontChg, m_bOrgChg, m_nActual, OutputDevice::SetOverlineColor(), SetProportion(), and OutputDevice::SetTextLineColor().
Referenced by SwDropCapCache::CalcFontSize(), SwTextFrame::CalcHeightOfLastLine(), SwTextFormatInfo::ChgHyph(), SwTextPainter::DrawTextLine(), SwAttrIter::SeekAndChgAttrIter(), SwAttrIter::SeekStartAndChgAttrIter(), SwTextSizeInfo::SelectFont(), and SwFontSave::SwFontSave().
|
inline |
Definition at line 205 of file swfont.hxx.
References m_aSub.
Referenced by SwFontSave::SwFontSave().
|
inline |
Definition at line 310 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by GetCapitalBreak().
|
inline |
Definition at line 324 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwSubFont::DrawStretchText_(), SwTextPaintInfo::DrawText_(), SwSubFont::DrawText_(), and SwTextFly::DrawTextOpaque().
|
inline |
Definition at line 321 of file swfont.hxx.
References IsGreyWave(), m_aSub, and m_nActual.
Referenced by SwTextPaintInfo::DrawText_(), and SwTextFly::DrawTextOpaque().
void SwFont::dumpAsXml | ( | xmlTextWriterPtr | writer | ) | const |
Definition at line 281 of file xmldump.cxx.
References GetActual(), GetColor(), GetSize(), GetWeight(), Height, and Width.
const std::optional< editeng::SvxBorderLine > & SwFont::GetAbsBottomBorder | ( | const bool | bVertLayout, |
const bool | bVertLayoutLRBT | ||
) | const |
Definition at line 143 of file swfont.cxx.
References sw::proofreadingiterator::get(), GetOrientation(), m_aBottomBorder, m_aLeftBorder, m_aRightBorder, and m_aTopBorder.
Referenced by PaintCharacterBorder().
const std::optional< editeng::SvxBorderLine > & SwFont::GetAbsLeftBorder | ( | const bool | bVertLayout, |
const bool | bVertLayoutLRBT | ||
) | const |
Definition at line 162 of file swfont.cxx.
References sw::proofreadingiterator::get(), GetOrientation(), m_aBottomBorder, m_aLeftBorder, m_aRightBorder, and m_aTopBorder.
Referenced by PaintCharacterBorder().
const std::optional< editeng::SvxBorderLine > & SwFont::GetAbsRightBorder | ( | const bool | bVertLayout, |
const bool | bVertLayoutLRBT | ||
) | const |
Definition at line 181 of file swfont.cxx.
References sw::proofreadingiterator::get(), GetOrientation(), m_aBottomBorder, m_aLeftBorder, m_aRightBorder, and m_aTopBorder.
Referenced by PaintCharacterBorder().
SvxShadowLocation SwFont::GetAbsShadowLocation | ( | const bool | bVertLayout, |
const bool | bVertLayoutLRBT | ||
) | const |
Get the absolute shadow location dependent from orientation.
[in] | bVertLayout | true, if the container layout is vertical false, otherwise |
[in] | bVertLayoutLRBT | true if the container layout is vertical (bottom to top, left to right), false otherwise |
Definition at line 199 of file swfont.cxx.
References sw::proofreadingiterator::get(), GetOrientation(), and m_aShadowLocation.
Referenced by CalcShadowSpace(), and PaintCharacterBorder().
const std::optional< editeng::SvxBorderLine > & SwFont::GetAbsTopBorder | ( | const bool | bVertLayout, |
const bool | bVertLayoutLRBT | ||
) | const |
Definition at line 124 of file swfont.cxx.
References sw::proofreadingiterator::get(), GetOrientation(), m_aBottomBorder, m_aLeftBorder, m_aRightBorder, and m_aTopBorder.
Referenced by PaintCharacterBorder().
|
inline |
Definition at line 187 of file swfont.hxx.
References m_nActual.
Referenced by SwTaggedPDFHelper::BeginInlineStructureElements(), SwTextFormatter::BuildPortions(), SwDropCapCache::CalcFontSize(), SwFieldPortion::CheckScript(), SwTextPainter::CheckSpecialUnderline(), SwTextPortion::CreateHyphen(), SwBookmarkPortion::DoPaint(), SwFntObj::DrawText(), SwSubFont::DrawText_(), dumpAsXml(), SwCombinedPortion::Format(), SwDoubleLinePortion::FormatBrackets(), SwFntObj::GetModelPositionForViewPoint(), SwTextCursor::GetModelPositionForViewPoint(), GetTextBreak(), SwTextSizeInfo::GetTextSize(), SwFntObj::GetTextSize(), SwTextGuess::Guess(), SwTextSizeInfo::IsNoSymbol(), SwAttrIter::IsSymbol(), lcl_DrawSpecial(), SwBookmarkPortion::Paint(), SwAttrIter::SeekAndChgAttrIter(), SwAttrIter::SeekStartAndChgAttrIter(), SwFontObj::SwFontObj(), and SwFontSave::SwFontSave().
|
inline |
Definition at line 189 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by AttrSetToLineHeight(), SwDropCapCache::CalcFontSize(), and sw_CalcCaseMap().
|
inline |
Definition at line 330 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwDropCapCache::CalcFontSize(), SwLineLayout::CalcLine(), SwBookmarkPortion::DoPaint(), SwTextPaintInfo::DrawPostIts(), SwTextFrame::FillRegister(), SwCombinedPortion::Format(), and SwAttrHandler::GetDefaultAscentAndHeight().
|
inline |
Definition at line 195 of file swfont.hxx.
References mxBackColor.
Referenced by SwDrawTextInfo::ApplyAutoColor(), checkApplyParagraphMarkFormatToNumbering(), SwTextPaintInfo::DrawBackBrush(), SwDropPortion::PaintText(), and SwFontSave::SwFontSave().
|
inline |
Definition at line 347 of file swfont.hxx.
References m_aBottomBorder.
Referenced by SwDropCapCache::CalcFontSize().
|
inline |
Definition at line 367 of file swfont.hxx.
References m_nBottomBorderDist.
|
inline |
Definition at line 880 of file swfont.hxx.
References m_aBottomBorder, m_aShadowLocation, m_nBottomBorderDist, and m_nShadowWidth.
Referenced by SwTextFormatter::CalcAscent(), SwDropCapCache::CalcFontSize(), SwFieldPortion::Format(), SwTextPortion::GetTextSize(), and SwHolePortion::GetTextSize().
TextFrameIndex SwFont::GetCapitalBreak | ( | SwViewShell const * | pSh, |
const OutputDevice * | pOut, | ||
const SwScriptInfo * | pScript, | ||
const OUString & | rText, | ||
tools::Long | nTextWidth, | ||
TextFrameIndex | nIdx, | ||
TextFrameIndex | nLen | ||
) |
Definition at line 221 of file fntcap.cxx.
References CheckKerning(), DoOnCapitals(), pOut, SwDrawTextInfo::SetDrawSpace(), SwDrawTextInfo::SetFont(), SwDrawTextInfo::SetGrammarCheck(), SwDrawTextInfo::SetKanaComp(), SwDrawTextInfo::SetKern(), SwDrawTextInfo::SetPos(), SwDrawTextInfo::SetSmartTags(), SwDrawTextInfo::SetSpace(), and SwDrawTextInfo::SetWrong().
Referenced by GetTextBreak().
|
inline |
Definition at line 283 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextPainter::CheckSpecialUnderline(), GetTextBreak(), IsUnderlineBreak(), and sw_CalcCaseMap().
|
inline |
Definition at line 298 of file swfont.hxx.
References m_aSub.
Referenced by SwTextSizeInfo::IsNoSymbol().
|
inline |
Definition at line 280 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextPaintInfo::DrawText_(), SwTextPainter::DrawTextLine(), dumpAsXml(), GetUnderColor(), and SwBlankPortion::Paint().
|
inline |
Definition at line 258 of file swfont.hxx.
References m_nContentControlCount.
Referenced by SwAttrHandler::ActivateTop(), and SwAttrHandler::FontChg().
|
inline |
Definition at line 289 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTaggedPDFHelper::BeginInlineStructureElements(), and SwTaggedPDFHelper::SetAttributes().
|
inline |
Definition at line 282 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTaggedPDFHelper::BeginInlineStructureElements(), SwTextPainter::CheckSpecialUnderline(), IsUnderlineBreak(), SwTaggedPDFHelper::SetAttributes(), and SetEscapement().
|
inline |
Definition at line 270 of file swfont.hxx.
References m_aSub.
Referenced by SwCombinedPortion::Format().
|
inline |
Definition at line 201 of file swfont.hxx.
References m_aSub.
Referenced by SwDropCapCache::CalcFontSize(), SwTextPortion::CreateHyphen(), and SwAttrIter::InitFontAndAttrHandler().
|
inline |
Definition at line 335 of file swfont.hxx.
|
inline |
Definition at line 287 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextFormatter::BuildPortions(), SwDropCapCache::CalcFontSize(), SwTextFrame::CalcHeightOfLastLine(), SwLineLayout::CalcLine(), SwTextPainter::CheckSpecialUnderline(), SwTextPaintInfo::DrawPostIts(), SwTextFrame::FillRegister(), SwCombinedPortion::Format(), SwAttrHandler::GetDefaultAscentAndHeight(), GetTextBreak(), and SwTextFormatter::NewTextPortion().
|
inline |
Definition at line 300 of file swfont.hxx.
References m_aSub.
|
inline |
Definition at line 332 of file swfont.hxx.
|
inline |
Definition at line 197 of file swfont.hxx.
References m_aHighlightColor.
Referenced by checkApplyParagraphMarkFormatToNumbering(), and SwTextPaintInfo::DrawBackBrush().
|
inline |
Definition at line 260 of file swfont.hxx.
References m_nInputFieldCount.
Referenced by SwAttrHandler::ActivateTop(), and SwAttrHandler::FontChg().
|
inline |
Definition at line 285 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextPortion::BreakCut(), and SwTextGuess::Guess().
|
inline |
Definition at line 286 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextGuess::AlternativeSpelling(), SwTaggedPDFHelper::BeginInlineStructureElements(), SwSubFont::DrawStretchText_(), SwFntObj::DrawText(), SwSubFont::DrawText_(), SwFntObj::GetModelPositionForViewPoint(), SwSubFont::GetModelPositionForViewPoint_(), SwTextFrame::GetScalingOfSelectedText(), SwSubFont::GetTextSize_(), SwTextGuess::Guess(), SwTextFormatter::Hyphenate(), SwTextFormatInfo::HyphWord(), SwTextFormatInfo::IsHyphenate(), lcl_MinMaxString(), SwTextFormatter::NewFieldPortion(), SwTaggedPDFHelper::SetAttributes(), and sw_CalcCaseMap().
|
inline |
Definition at line 296 of file swfont.hxx.
References m_aSub.
|
inline |
Definition at line 349 of file swfont.hxx.
References m_aLeftBorder.
Referenced by SwTextPaintInfo::DrawText_(), and SwTextCursor::GetModelPositionForViewPoint().
|
inline |
Definition at line 369 of file swfont.hxx.
References m_nLeftBorderDist.
|
inline |
Definition at line 910 of file swfont.hxx.
References m_aLeftBorder, m_aShadowLocation, m_nLeftBorderDist, and m_nShadowWidth.
Referenced by SwTextPaintInfo::DrawText_(), SwTextCursor::GetModelPositionForViewPoint(), SwTextPortion::GetTextSize(), SwHolePortion::GetTextSize(), SwTextGuess::Guess(), and SwTextFormatter::MergeCharacterBorder().
|
inline |
Definition at line 256 of file swfont.hxx.
References m_nMetaCount.
Referenced by SwAttrHandler::ActivateTop(), and SwAttrHandler::FontChg().
|
inline |
Definition at line 318 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextCursor::GetModelPositionForViewPoint().
|
inline |
Definition at line 294 of file swfont.hxx.
References m_aSub.
Degree10 SwFont::GetOrientation | ( | const bool | bVertLayout = false , |
const bool | bVertFormatLRBT = false |
||
) | const |
Definition at line 412 of file swfont.cxx.
References GetOrientation(), m_aSub, m_nActual, and UnMapDirection().
Referenced by CalcShadowSpace(), SwTextPaintInfo::DrawPostIts(), SwTextPaintInfo::DrawText_(), GetAbsBottomBorder(), GetAbsLeftBorder(), GetAbsRightBorder(), GetAbsShadowLocation(), GetAbsTopBorder(), GetOrientation(), SwAttrIter::InitFontAndAttrHandler(), lcl_DrawSpecial(), SwTextFormatter::NewPortion(), SwDropPortion::Paint(), SwControlCharPortion::Paint(), SwBookmarkPortion::Paint(), PaintCharacterBorder(), SwTabPortion::PreFormat(), SwLinePortion::PrePaint(), SetVertical(), and SwRubyPortion::SwRubyPortion().
|
inline |
Definition at line 278 of file swfont.hxx.
References m_aOverColor.
Referenced by operator=(), and SwFont().
|
inline |
Definition at line 277 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTaggedPDFHelper::BeginInlineStructureElements(), SwNumberPortion::Paint(), SwHolePortion::Paint(), and SwTaggedPDFHelper::SetAttributes().
|
inline |
Definition at line 284 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwDropCapCache::CalcFontSize(), SwTextCursor::GetModelPositionForViewPoint(), and SetProportion().
|
inline |
Definition at line 254 of file swfont.hxx.
References m_nRefCount.
Referenced by SwAttrHandler::ActivateTop(), and SwAttrHandler::FontChg().
|
inline |
Definition at line 348 of file swfont.hxx.
References m_aRightBorder.
Referenced by SwTextCursor::GetCharRect_(), and SwTextCursor::GetModelPositionForViewPoint().
|
inline |
Definition at line 368 of file swfont.hxx.
References m_nRightBorderDist.
|
inline |
Definition at line 895 of file swfont.hxx.
References m_aRightBorder, m_aShadowLocation, m_nRightBorderDist, and m_nShadowWidth.
Referenced by SwTextCursor::GetCharRect_(), SwTextCursor::GetModelPositionForViewPoint(), SwTextPortion::GetTextSize(), SwHolePortion::GetTextSize(), SwTextGuess::Guess(), and SwTextFormatter::MergeCharacterBorder().
|
inline |
Definition at line 384 of file swfont.hxx.
References m_aShadowColor.
Referenced by PaintCharacterBorder().
|
inline |
Definition at line 386 of file swfont.hxx.
References m_aShadowLocation.
|
inline |
Definition at line 385 of file swfont.hxx.
References m_nShadowWidth.
Referenced by PaintCharacterBorder().
|
inline |
Definition at line 209 of file swfont.hxx.
References m_aSub.
Referenced by SwTextPainter::CheckSpecialUnderline(), SwTextMargin::CtorInitTextMargin(), SwBookmarkPortion::DoPaint(), dumpAsXml(), SwCombinedPortion::Format(), lcl_DrawSpecial(), and SwCombinedPortion::Paint().
|
inline |
Definition at line 279 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTaggedPDFHelper::BeginInlineStructureElements(), SwTextPainter::DrawTextLine(), SwNumberPortion::Paint(), SwHolePortion::Paint(), and SwTaggedPDFHelper::SetAttributes().
TextFrameIndex SwFont::GetTextBreak | ( | SwDrawTextInfo const & | rInf, |
tools::Long | nTextWidth | ||
) |
Definition at line 1959 of file fntcache.cxx.
References CheckKerning(), ChgFnt(), CJK, COMPLETE_STRING, SwScriptInfo::Compress(), SwScriptInfo::CountCompChg(), SwFrame::FindPageFrame(), g_pBreakIt, o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), GetActual(), SwBreakIt::GetBreakIter(), GetCapitalBreak(), GetCaseMap(), SwViewShell::GetDoc(), SwDrawTextInfo::GetFont(), SwDrawTextInfo::GetFrame(), GetGridItem(), SwTextGridItem::GetGridType(), GetGridWidth(), GetHeight(), SwDrawTextInfo::GetHyphPos(), SwDrawTextInfo::GetIdx(), SwDrawTextInfo::GetKanaComp(), SwDrawTextInfo::GetKern(), SalLayoutGlyphsCache::GetLayoutGlyphs(), SwDrawTextInfo::GetLen(), SwBreakIt::GetLocale(), SwDrawTextInfo::GetOut(), SwDrawTextInfo::GetpOut(), SwDrawTextInfo::GetScriptInfo(), SwDrawTextInfo::GetShell(), SwDrawTextInfo::GetText(), GetTextArray(), OutputDevice::GetTextBreak(), SwDrawTextInfo::GetVclCache(), GRID_LINES_CHARS, SwTextGridItem::IsSnapToChars(), lcl_IsFullstopCentered(), lcl_IsMonoSpaceFont(), m_aSub, m_nActual, SalLayoutGlyphsCache::self(), SwDrawTextInfo::SnapToGrid(), sw::Justify::SnapToGrid(), sw::Justify::SnapToGridEdge(), sw_CalcCaseMap(), and u.
Referenced by SwTextSizeInfo::GetTextBreak().
|
inline |
Definition at line 313 of file swfont.hxx.
References m_aSub, m_nActual, and SwDrawTextInfo::SetFont().
Referenced by SwCombinedPortion::Format(), SwTextNode::GetMinMaxSize(), SwTextFrame::GetScalingOfSelectedText(), SwTextSizeInfo::GetTextSize(), and lcl_MinMaxString().
|
inline |
Definition at line 346 of file swfont.hxx.
References m_aTopBorder.
Referenced by SwDropCapCache::CalcFontSize().
|
inline |
Definition at line 366 of file swfont.hxx.
References m_nTopBorderDist.
|
inline |
Definition at line 865 of file swfont.hxx.
References m_aShadowLocation, m_aTopBorder, m_nShadowWidth, and m_nTopBorderDist.
Referenced by SwTextFormatter::CalcAscent(), SwDropCapCache::CalcFontSize(), SwFieldPortion::Format(), SwTextPortion::GetTextSize(), and SwHolePortion::GetTextSize().
|
inline |
Definition at line 252 of file swfont.hxx.
References m_nToxCount.
Referenced by SwAttrHandler::ActivateTop(), and SwAttrHandler::FontChg().
|
inline |
Definition at line 276 of file swfont.hxx.
References m_aUnderColor.
Referenced by GetUnderColor(), operator=(), and SwFont().
|
inline |
Definition at line 275 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTaggedPDFHelper::BeginInlineStructureElements(), SwTextFormatter::BuildPortions(), SwTextPainter::CheckSpecialUnderline(), SwTextPainter::DrawTextLine(), IsUnderlineBreak(), SwNumberPortion::Paint(), SwHolePortion::Paint(), and SwTaggedPDFHelper::SetAttributes().
|
inline |
Definition at line 288 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextPainter::CheckSpecialUnderline(), and dumpAsXml().
|
inline |
Check whether font has any border on any side.
Definition at line 925 of file swfont.hxx.
References m_aBottomBorder, m_aLeftBorder, m_aRightBorder, and m_aTopBorder.
Referenced by SwDropCapCache::CalcFontSize(), and SwTextFormatter::MergeCharacterBorder().
|
inline |
Definition at line 338 of file swfont.hxx.
References m_bFontChg, and m_bOrgChg.
Referenced by SwTextSizeInfo::SelectFont(), SetDiffFnt(), SwFontSave::SwFontSave(), and SwFontSave::~SwFontSave().
|
inline |
Definition at line 259 of file swfont.hxx.
References m_nContentControlCount.
|
inline |
Definition at line 211 of file swfont.hxx.
References m_bFontChg.
Referenced by SwAttrIter::Seek(), SwAttrIter::SeekAndChgAttrIter(), and SwAttrIter::SeekStartAndChgAttrIter().
|
inline |
|
inline |
Definition at line 261 of file swfont.hxx.
References m_nInputFieldCount.
|
inline |
Definition at line 257 of file swfont.hxx.
References m_nMetaCount.
|
inline |
Definition at line 264 of file swfont.hxx.
References m_bPaintBlank.
Referenced by SwGluePortion::Paint(), SwKernPortion::Paint(), and SwTabPortion::Paint().
|
inline |
Definition at line 255 of file swfont.hxx.
References m_nRefCount.
|
inline |
Definition at line 273 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextFormatInfo::HyphWord(), SwAttrIter::IsSymbol(), and SwTextNode::IsSymbolAt().
|
inline |
Definition at line 253 of file swfont.hxx.
References m_nToxCount.
|
inline |
Definition at line 281 of file swfont.hxx.
References m_aSub, and m_nActual.
Referenced by SwTextPainter::CheckSpecialUnderline(), IsUnderlineBreak(), and SwNumberPortion::Paint().
Definition at line 828 of file swfont.cxx.
References CJK, CTL, GetOverColor(), GetUnderColor(), Latin, m_aBottomBorder, m_aHighlightColor, m_aLeftBorder, m_aOverColor, m_aRightBorder, m_aShadowColor, m_aShadowLocation, m_aSub, m_aTopBorder, m_aUnderColor, m_bFontChg, m_bGreyWave, m_bOrgChg, m_bPaintBlank, m_nActual, m_nBottomBorderDist, m_nContentControlCount, m_nInputFieldCount, m_nLeftBorderDist, m_nMetaCount, m_nRefCount, m_nRightBorderDist, m_nShadowWidth, m_nTopBorderDist, m_nToxCount, and mxBackColor.
|
inline |
Definition at line 754 of file swfont.hxx.
References m_bFontChg, m_bOrgChg, and m_nActual.
Referenced by AttrSetToLineHeight(), SwCombinedPortion::Format(), SwDoubleLinePortion::FormatBrackets(), SwAttrIter::InitFontAndAttrHandler(), lcl_GetCharRectInsideField(), SwCombinedPortion::Paint(), SwDoubleLinePortion::PaintBracket(), and SwAttrIter::Seek().
|
inline |
Definition at line 524 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwBookmarkPortion::DoPaint(), SetDiffFnt(), SwFont(), and SwFontSave::SwFontSave().
|
inline |
Definition at line 640 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
void SwFont::SetBackColor | ( | std::optional< Color > | xNewColor | ) |
Definition at line 64 of file swfont.cxx.
References CJK, CTL, Latin, m_aSub, m_bFontChg, and mxBackColor.
Referenced by SwExtend::ActualizeFont(), checkApplyParagraphMarkFormatToNumbering(), and SwAttrHandler::FontChg().
void SwFont::SetBottomBorder | ( | const editeng::SvxBorderLine * | pBottomBorder | ) |
Definition at line 84 of file swfont.cxx.
References CJK, CTL, Latin, m_aBottomBorder, m_aSub, m_bFontChg, and m_nBottomBorderDist.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 844 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, m_bFontChg, and m_nBottomBorderDist.
Referenced by SwDropCapCache::CalcFontSize(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 664 of file swfont.hxx.
References CJK, CTL, Latin, and m_aSub.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 497 of file swfont.hxx.
References m_aSub, and m_bFontChg.
Referenced by SwAttrHandler::FontChg(), and lcl_DrawSpecial().
|
inline |
Definition at line 421 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwExtend::ActualizeFont(), SwTextPainter::CheckSpecialUnderline(), SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), lcl_DrawSpecial(), SwBlankPortion::Paint(), SwTmpEndPortion::Paint(), SwBookmarkPortion::Paint(), SetDiffFnt(), and SwFont().
void SwFont::SetDiffFnt | ( | const SfxItemSet * | pSet, |
const IDocumentSettingAccess * | pIDocumentSettingAccess | ||
) |
Definition at line 473 of file swfont.cxx.
References ALIGN_BASELINE, CJK, CTL, IDocumentSettingAccess::get(), SfxItemSet::GetItemIfSet(), SvxTwoLinesItem::GetValue(), Invalidate(), KERN_ASIAN_PUNCTUATION, Latin, m_aSub, m_bPaintBlank, mxBackColor, RES_CHRATR_AUTOKERN(), RES_CHRATR_BACKGROUND(), RES_CHRATR_BOX(), RES_CHRATR_CASEMAP(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_COLOR(), RES_CHRATR_CONTOUR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_EMPHASIS_MARK(), RES_CHRATR_ESCAPEMENT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_HIGHLIGHT(), RES_CHRATR_KERNING(), RES_CHRATR_LANGUAGE(), RES_CHRATR_OVERLINE(), RES_CHRATR_POSTURE(), RES_CHRATR_RELIEF(), RES_CHRATR_ROTATE(), RES_CHRATR_SHADOW(), RES_CHRATR_SHADOWED(), RES_CHRATR_TWO_LINES(), RES_CHRATR_UNDERLINE(), RES_CHRATR_WEIGHT(), RES_CHRATR_WORDLINEMODE(), SetAlign(), SetAutoKern(), SetBottomBorder(), SetBottomBorderDist(), SetCaseMap(), SetColor(), SetEmphasisMark(), SetEscapement(), SetFixKerning(), Size::setHeight(), SetHighlightColor(), SetLeftBorder(), SetLeftBorderDist(), SetOutline(), SetOverColor(), SetOverline(), SetProportion(), SetPropWidth(), SetRelief(), SetRightBorder(), SetRightBorderDist(), SetShadow(), SetShadowColor(), SetShadowLocation(), SetShadowWidth(), SetStrikeout(), SetTopBorder(), SetTopBorderDist(), SetTransparent(), SetUnderColor(), SetUnderline(), SetVertical(), and SetWordLineMode().
Referenced by checkApplyParagraphMarkFormatToNumbering(), and SwTextFormatter::NewDropPortion().
|
inline |
Definition at line 692 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 791 of file swfont.hxx.
References CJK, CTL, GetEscapement(), Latin, m_aSub, m_bFontChg, and m_bOrgChg.
Referenced by SwTextPainter::CheckSpecialUnderline(), SwControlCharPortion::DoPaint(), SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 458 of file swfont.hxx.
References m_aSub, and m_bFontChg.
Referenced by SwAttrHandler::FontChg(), and lcl_DrawSpecial().
|
inline |
Definition at line 443 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwTextPainter::CheckSpecialUnderline().
|
inline |
Definition at line 657 of file swfont.hxx.
References CJK, CTL, Latin, and m_aSub.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 212 of file swfont.hxx.
References m_bFontChg.
Referenced by SwTextFrame::CalcHeightOfLastLine(), SwAttrIter::SeekAndChgAttrIter(), and SwAttrIter::SeekStartAndChgAttrIter().
|
inline |
Definition at line 203 of file swfont.hxx.
References m_aSub.
Referenced by SwAttrIter::IsSymbol(), SwAttrIter::SeekAndChgAttrIter(), and SwAttrIter::SeekStartAndChgAttrIter().
|
inline |
Definition at line 825 of file swfont.hxx.
References m_bGreyWave.
Referenced by SwExtend::ActualizeFont().
|
inline |
Definition at line 951 of file swfont.hxx.
References CJK, CTL, Latin, m_aHighlightColor, m_aSub, and m_bFontChg.
Referenced by checkApplyParagraphMarkFormatToNumbering(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 597 of file swfont.hxx.
References m_aSub, and m_bFontChg.
Referenced by SwAttrHandler::FontChg().
|
inline |
Definition at line 814 of file swfont.hxx.
References CJK, CTL, Latin, and m_aSub.
Referenced by SwAttrHandler::FontChg().
void SwFont::SetLeftBorder | ( | const editeng::SvxBorderLine * | pLeftBorder | ) |
Definition at line 110 of file swfont.cxx.
References CJK, CTL, Latin, m_aLeftBorder, m_aSub, m_bFontChg, and m_nLeftBorderDist.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 858 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, m_bFontChg, and m_nLeftBorderDist.
Referenced by SwDropCapCache::CalcFontSize(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 471 of file swfont.hxx.
References m_aSub, and m_bFontChg.
Referenced by SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), and lcl_DrawSpecial().
|
inline |
Definition at line 610 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 221 of file swfont.hxx.
References m_aOverColor.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 567 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwTextPainter::CheckSpecialUnderline(), SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 511 of file swfont.hxx.
References m_aSub, and m_bFontChg.
Referenced by SwBookmarkPortion::DoPaint(), and SwAttrHandler::FontChg().
|
inline |
Definition at line 772 of file swfont.hxx.
References CJK, CTL, GetPropr(), Latin, m_aSub, m_bFontChg, and m_bOrgChg.
Referenced by SwDropCapCache::CalcFontSize(), SwTextPainter::CheckSpecialUnderline(), ChgPhysFnt(), SwControlCharPortion::DoPaint(), SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), SwCombinedPortion::Format(), SwDoubleLinePortion::FormatBrackets(), SwTextCursor::GetCharRect_(), SwCombinedPortion::Paint(), SwDoubleLinePortion::PaintBracket(), SwTextPainter::PaintMultiPortion(), SwAttrIter::Seek(), SwAttrIter::SeekStartAndChgAttrIter(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 700 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 718 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
void SwFont::SetRightBorder | ( | const editeng::SvxBorderLine * | pRightBorder | ) |
Definition at line 97 of file swfont.cxx.
References CJK, CTL, Latin, m_aRightBorder, m_aSub, m_bFontChg, and m_nRightBorderDist.
Referenced by SwAttrHandler::FontChg(), SwExpandPortion::Paint(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 851 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, m_bFontChg, and m_nRightBorderDist.
Referenced by SwDropCapCache::CalcFontSize(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 625 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 930 of file swfont.hxx.
References CJK, CTL, Latin, m_aShadowColor, m_aSub, and m_bFontChg.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 944 of file swfont.hxx.
References CJK, CTL, Latin, m_aShadowLocation, m_aSub, and m_bFontChg.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 937 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, m_bFontChg, and m_nShadowWidth.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 744 of file swfont.hxx.
References m_aSize, m_aSub, m_bFontChg, and m_bOrgChg.
Referenced by SwDropCapCache::CalcFontSize(), SwTextPainter::CheckSpecialUnderline(), SwAttrHandler::FontChg(), SwCombinedPortion::Format(), lcl_DrawSpecial(), and SwCombinedPortion::Paint().
|
inline |
Definition at line 582 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwTextPainter::CheckSpecialUnderline(), SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), SwTmpEndPortion::Paint(), SwBreakPortion::Paint(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 484 of file swfont.hxx.
References m_aSub, and m_bFontChg.
Referenced by SwAttrHandler::FontChg(), and lcl_DrawSpecial().
void SwFont::SetTopBorder | ( | const editeng::SvxBorderLine * | pTopBorder | ) |
Definition at line 71 of file swfont.cxx.
References CJK, CTL, Latin, m_aSub, m_aTopBorder, m_bFontChg, and m_nTopBorderDist.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 837 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, m_bFontChg, and m_nTopBorderDist.
Referenced by SwDropCapCache::CalcFontSize(), SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 650 of file swfont.hxx.
References CJK, CTL, Latin, and m_aSub.
Referenced by SwBookmarkPortion::DoPaint(), SetDiffFnt(), SwFont(), and SwFontSave::SwFontSave().
|
inline |
Definition at line 219 of file swfont.hxx.
References m_aUnderColor.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 552 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwExtend::ActualizeFont(), SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), SwTmpEndPortion::Paint(), SwBreakPortion::Paint(), SwHolePortion::Paint(), SetDiffFnt(), and SwFont().
void SwFont::SetVertical | ( | Degree10 | nDir, |
const bool | bVertLayout = false , |
||
const bool | bVertLayoutLRBT = false |
||
) |
Definition at line 417 of file swfont.cxx.
References CJK, CTL, GetOrientation(), Latin, m_aSub, m_bFontChg, and MapDirection().
Referenced by SwAttrHandler::ActivateTop(), SwAttrHandler::FontChg(), SwAttrIter::InitFontAndAttrHandler(), lcl_DrawSpecial(), SwTextFormatter::NewDropPortion(), SwTextPainter::PaintMultiPortion(), SetDiffFnt(), and SwFont().
|
inline |
Definition at line 539 of file swfont.hxx.
References m_aSub, and m_bFontChg.
Referenced by SwTextPainter::CheckSpecialUnderline(), SwBookmarkPortion::DoPaint(), SwAttrHandler::FontChg(), and SwBookmarkPortion::Paint().
|
inline |
Definition at line 678 of file swfont.hxx.
References CJK, CTL, Latin, m_aSub, and m_bFontChg.
Referenced by SwAttrHandler::FontChg(), SetDiffFnt(), and SwFont().
|
private |
Definition at line 148 of file swfont.hxx.
Referenced by GetAbsBottomBorder(), GetAbsLeftBorder(), GetAbsRightBorder(), GetAbsTopBorder(), GetBottomBorder(), GetBottomBorderSpace(), HasBorder(), operator=(), SetBottomBorder(), and SwFont().
|
private |
Definition at line 142 of file swfont.hxx.
Referenced by GetHighlightColor(), operator=(), SetHighlightColor(), and SwFont().
|
private |
Definition at line 150 of file swfont.hxx.
Referenced by GetAbsBottomBorder(), GetAbsLeftBorder(), GetAbsRightBorder(), GetAbsTopBorder(), GetLeftBorder(), GetLeftBorderSpace(), HasBorder(), operator=(), SetLeftBorder(), and SwFont().
|
private |
Definition at line 144 of file swfont.hxx.
Referenced by ChgPhysFnt(), GetOverColor(), operator=(), SetOverColor(), and SwFont().
|
private |
Definition at line 149 of file swfont.hxx.
Referenced by GetAbsBottomBorder(), GetAbsLeftBorder(), GetAbsRightBorder(), GetAbsTopBorder(), GetRightBorder(), GetRightBorderSpace(), HasBorder(), operator=(), SetRightBorder(), and SwFont().
|
private |
Definition at line 158 of file swfont.hxx.
Referenced by GetShadowColor(), operator=(), SetShadowColor(), and SwFont().
|
private |
Definition at line 160 of file swfont.hxx.
Referenced by GetAbsShadowLocation(), GetBottomBorderSpace(), GetLeftBorderSpace(), GetRightBorderSpace(), GetShadowLocation(), GetTopBorderSpace(), operator=(), SetShadowLocation(), and SwFont().
|
private |
Definition at line 138 of file swfont.hxx.
Referenced by AllocFontCacheId(), CheckFontCacheId(), CheckKerning(), ChgFnt(), ChgPhysFnt(), DifferentFontCacheId(), DoOnCapitals(), DrawStretchText_(), DrawText_(), GetActualFont(), GetAscent(), GetCaseMap(), GetCharSet(), GetColor(), GetEmphasisMark(), GetEscapement(), GetFnt(), GetFontCacheId(), GetHangingBaseline(), GetHeight(), GetItalic(), GetLanguage(), GetModelPositionForViewPoint_(), GetName(), GetOrientation(), GetOverline(), GetPropr(), GetSize(), GetStrikeout(), GetTextBreak(), GetTextSize_(), GetUnderline(), GetWeight(), IsSymbol(), IsWordLineMode(), operator=(), SetAlign(), SetAutoKern(), SetBackColor(), SetBottomBorder(), SetBottomBorderDist(), SetCaseMap(), SetCharSet(), SetColor(), SetDiffFnt(), SetEmphasisMark(), SetEscapement(), SetFamily(), SetFillColor(), SetFixKerning(), SetFontCacheId(), SetHighlightColor(), SetItalic(), SetLanguage(), SetLeftBorder(), SetLeftBorderDist(), SetName(), SetOutline(), SetOverline(), SetPitch(), SetProportion(), SetPropWidth(), SetRelief(), SetRightBorder(), SetRightBorderDist(), SetShadow(), SetShadowColor(), SetShadowLocation(), SetShadowWidth(), SetSize(), SetStrikeout(), SetStyleName(), SetTopBorder(), SetTopBorderDist(), SetTransparent(), SetUnderline(), SetVertical(), SetWeight(), SetWordLineMode(), and SwFont().
|
private |
Definition at line 147 of file swfont.hxx.
Referenced by GetAbsBottomBorder(), GetAbsLeftBorder(), GetAbsRightBorder(), GetAbsTopBorder(), GetTopBorder(), GetTopBorderSpace(), HasBorder(), operator=(), SetTopBorder(), and SwFont().
|
private |
Definition at line 143 of file swfont.hxx.
Referenced by ChgPhysFnt(), GetUnderColor(), operator=(), SetUnderColor(), and SwFont().
|
private |
Definition at line 172 of file swfont.hxx.
Referenced by ChgPhysFnt(), Invalidate(), IsFntChg(), operator=(), SetActual(), SetAlign(), SetAutoKern(), SetBackColor(), SetBottomBorder(), SetBottomBorderDist(), SetCharSet(), SetColor(), SetEmphasisMark(), SetEscapement(), SetFamily(), SetFillColor(), SetFntChg(), SetHighlightColor(), SetItalic(), SetLeftBorder(), SetLeftBorderDist(), SetName(), SetOutline(), SetOverline(), SetPitch(), SetProportion(), SetPropWidth(), SetRelief(), SetRightBorder(), SetRightBorderDist(), SetShadow(), SetShadowColor(), SetShadowLocation(), SetShadowWidth(), SetSize(), SetStrikeout(), SetStyleName(), SetTopBorder(), SetTopBorderDist(), SetUnderline(), SetVertical(), SetWeight(), SetWordLineMode(), and SwFont().
|
private |
Definition at line 174 of file swfont.hxx.
Referenced by IsGreyWave(), operator=(), SetGreyWave(), and SwFont().
|
private |
Definition at line 173 of file swfont.hxx.
Referenced by ChgPhysFnt(), Invalidate(), operator=(), SetActual(), SetEscapement(), SetProportion(), SetSize(), and SwFont().
|
private |
Definition at line 171 of file swfont.hxx.
Referenced by ChgFnt(), IsPaintBlank(), operator=(), SetDiffFnt(), and SwFont().
|
private |
Definition at line 168 of file swfont.hxx.
Referenced by CheckKerning(), ChgFnt(), ChgPhysFnt(), DoOnCapitals(), DrawStretchText_(), DrawText_(), GetActual(), GetActualFont(), GetAscent(), GetCaseMap(), GetColor(), GetEmphasisMark(), GetEscapement(), GetHangingBaseline(), GetHeight(), GetItalic(), GetLanguage(), GetModelPositionForViewPoint_(), GetOrientation(), GetOverline(), GetPropr(), GetStrikeout(), GetTextBreak(), GetTextSize_(), GetUnderline(), GetWeight(), IsSymbol(), IsWordLineMode(), operator=(), SetActual(), and SwFont().
|
private |
Definition at line 154 of file swfont.hxx.
Referenced by GetBottomBorderDist(), GetBottomBorderSpace(), operator=(), SetBottomBorder(), SetBottomBorderDist(), and SwFont().
|
private |
Definition at line 165 of file swfont.hxx.
Referenced by GetContentControl(), IsContentControl(), operator=(), and SwFont().
|
private |
Definition at line 166 of file swfont.hxx.
Referenced by GetInputField(), IsInputField(), operator=(), and SwFont().
|
private |
Definition at line 156 of file swfont.hxx.
Referenced by GetLeftBorderDist(), GetLeftBorderSpace(), operator=(), SetLeftBorder(), SetLeftBorderDist(), and SwFont().
|
private |
Definition at line 164 of file swfont.hxx.
Referenced by GetMeta(), IsMeta(), operator=(), and SwFont().
|
private |
Definition at line 163 of file swfont.hxx.
Referenced by GetRef(), IsRef(), operator=(), and SwFont().
|
private |
Definition at line 155 of file swfont.hxx.
Referenced by GetRightBorderDist(), GetRightBorderSpace(), operator=(), SetRightBorder(), SetRightBorderDist(), and SwFont().
|
private |
Definition at line 159 of file swfont.hxx.
Referenced by CalcShadowSpace(), GetBottomBorderSpace(), GetLeftBorderSpace(), GetRightBorderSpace(), GetShadowWidth(), GetTopBorderSpace(), operator=(), SetShadowWidth(), and SwFont().
|
private |
Definition at line 153 of file swfont.hxx.
Referenced by GetTopBorderDist(), GetTopBorderSpace(), operator=(), SetTopBorder(), SetTopBorderDist(), and SwFont().
|
private |
Definition at line 162 of file swfont.hxx.
Referenced by GetTox(), IsTox(), operator=(), and SwFont().
|
private |
Definition at line 141 of file swfont.hxx.
Referenced by GetBackColor(), operator=(), SetBackColor(), SetDiffFnt(), and SwFont().