55#include <osl/diagnose.h>
60#include <stlsheet.hxx>
62#include <document.hxx>
96 pStyle ( rPatternAttr.pStyle ),
97 mnKey(rPatternAttr.mnKey)
111static bool StrCmp(
const OUString* pStr1,
const OUString* pStr2 )
119 return *pStr1 == *pStr2;
141 return { memcmp( pItems1, pItems2,
compareSize *
sizeof(pItems1[0]) ) == 0 };
147 if(
equal.has_value())
149 return rSet1 == rSet2;
156 if (!SfxPoolItem::operator==(rCmp) )
160 auto const & rOther =
static_cast<const ScPatternAttr&
>(rCmp);
161 if (!rOther.mxHashCode)
173 for(
auto it =
begin; it !=
end; ++it)
194 eOrient = SvxCellOrientation::Stacked;
199 if( nAngle == 9000_deg100 )
200 eOrient = SvxCellOrientation::BottomUp;
201 else if( nAngle == 27000_deg100 )
202 eOrient = SvxCellOrientation::TopBottom;
222 if ( nScript == SvtScriptType::ASIAN )
230 else if ( nScript == SvtScriptType::COMPLEX )
254 const Color* pBackConfigColor,
const Color* pTextConfigColor)
274 sal_uInt32 nFontHeight;
292 getFontIDsByScriptType(nScript, nFontId, nHeightId, nWeightId, nPostureId, nLangId);
298 pFontAttr = &rItemSet.
Get( nFontId );
301 if ( !pFontHeightItem )
302 pFontHeightItem = &rItemSet.
Get( nHeightId );
303 nFontHeight = pFontHeightItem->
GetHeight();
306 if ( !pFontHWeightItem )
307 pFontHWeightItem = &rItemSet.
Get( nWeightId );
308 eWeight = pFontHWeightItem->GetValue();
312 pPostureItem = &rItemSet.
Get( nPostureId );
313 eItalic = pPostureItem->GetValue();
316 if ( !pUnderlineItem )
318 eUnder = pUnderlineItem->GetValue();
321 if ( !pOverlineItem )
323 eOver = pOverlineItem->GetValue();
326 if ( !pWordlineItem )
328 bWordLine = pWordlineItem->GetValue();
331 if ( !pCrossedOutItem )
333 eStrike = pCrossedOutItem->GetValue();
338 bOutline = pContourItem->GetValue();
341 if ( !pShadowedItem )
343 bShadow = pShadowedItem->GetValue();
346 if ( !pEmphasisMarkItem )
351 if ( !pCharReliefItem )
353 eRelief = pCharReliefItem->GetValue();
356 if ( !pLanguageItem )
357 pLanguageItem = &rItemSet.
Get( nLangId );
362 pFontAttr = &rItemSet.
Get( nFontId );
363 nFontHeight = rItemSet.
Get( nHeightId ).GetHeight();
364 eWeight = rItemSet.
Get( nWeightId ).GetValue();
365 eItalic = rItemSet.
Get( nPostureId ).GetValue();
375 eLang = rItemSet.
Get( nLangId ).GetLanguage();
377 OSL_ENSURE(pFontAttr,
"Oops?");
396 if ( pOutDev !=
nullptr )
404 MapMode aSrcMode( MapUnit::MapTwip,
Point(), aFraction, aFraction );
487 else if ( pBackConfigColor )
490 aBackColor = *pBackConfigColor;
515 else if (pTextConfigColor)
518 aSysTextColor = *pTextConfigColor;
539 aColor = aSysTextColor;
543 rComplexColor = aComplexColor;
553 getFontIDsByScriptType(nScript, nFontId, nHeightId, nWeightId, nPostureId, nLangId);
569 aReturn.
eWeight = pItem->GetValue();
574 aReturn.
eItalic = pItem->GetValue();
580 aReturn.
eUnder = pItem->GetValue();
585 aReturn.
eOver = pItem->GetValue();
596 aReturn.
eStrike = pItem->GetValue();
601 aReturn.
bOutline = pItem->GetValue();
607 aReturn.
bShadow = pItem->GetValue();
612 aReturn.
eEmphasis = pItem->GetEmphasisMark();
617 aReturn.
eRelief = pItem->GetValue();
622 aReturn.
aColor = pItem->GetValue();
627 aReturn.
eLang = pItem->GetLanguage();
638 pItem = &rSrcSet.
Get( nWhich );
639 rxItem.reset(pItem->Clone());
646 std::unique_ptr<SvxColorItem> aColorItem(std::make_unique<SvxColorItem>(
EE_CHAR_COLOR));
647 std::unique_ptr<SvxFontItem> aFontItem(std::make_unique<SvxFontItem>(
EE_CHAR_FONTINFO));
676 if (!pFontHeightItem)
680 if ( !pFontHeightItem )
682 nCjkTHeight = pFontHeightItem->
GetHeight();
684 if ( !pFontHeightItem )
686 nCtlTHeight = pFontHeightItem->
GetHeight();
691 eWeight = pWeightItem->GetValue();
695 eCjkWeight = pWeightItem->GetValue();
699 eCtlWeight = pWeightItem->GetValue();
704 eItalic = pPostureItem->GetValue();
708 eCjkItalic = pPostureItem->GetValue();
712 eCtlItalic = pPostureItem->GetValue();
718 if ( !pWordLineModeItem )
720 bWordLine = pWordLineModeItem->GetValue();
723 if ( !pCrossedOutItem )
725 eStrike = pCrossedOutItem->GetValue();
730 bOutline = pContourItem->GetValue();
733 if ( !pShadowedItem )
735 bShadow = pShadowedItem->GetValue();
738 if ( !pForbiddenRuleItem )
740 bForbidden = pForbiddenRuleItem->GetValue();
743 if ( !pEmphasisMarkItem )
747 if ( !pCharReliefItem )
749 eRelief = pCharReliefItem->GetValue();
752 if ( !pLanguageItem )
756 if ( !pLanguageItem )
760 if ( !pLanguageItem )
765 if ( !pHyphenateCell )
767 bHyphenate = pHyphenateCell->
GetValue();
770 if ( !pFrameDirectionItem )
772 eDirection = pFrameDirectionItem->GetValue();
813 if ( aColorItem->GetValue() ==
COL_AUTO )
957 case SvxAdjust::Left:
960 eVal = SvxCellHorJustify::Standard;
962 case SvxAdjust::Right:
963 eVal = SvxCellHorJustify::Right;
965 case SvxAdjust::Block:
966 eVal = SvxCellHorJustify::Block;
968 case SvxAdjust::Center:
969 eVal = SvxCellHorJustify::Center;
971 case SvxAdjust::BlockLine:
972 eVal = SvxCellHorJustify::Block;
975 eVal = SvxCellHorJustify::Right;
978 eVal = SvxCellHorJustify::Standard;
980 if ( eVal != SvxCellHorJustify::Standard )
1005 case SvxCellHorJustify::Right: eSvxAdjust = SvxAdjust::Right;
break;
1006 case SvxCellHorJustify::Center: eSvxAdjust = SvxAdjust::Center;
break;
1007 case SvxCellHorJustify::Block: eSvxAdjust = SvxAdjust::Block;
break;
1008 default: eSvxAdjust = SvxAdjust::Left;
break;
1024 if ( rThisSet.
GetItemState( nSubWhich,
false, &pThisItem ) == SfxItemState::SET )
1027 if ( eOldState == SfxItemState::SET )
1030 if ( pThisItem == pOldItem )
1037 else if ( eOldState != SfxItemState::DONTCARE )
1054 for (sal_uInt16
i=0; pWhich[
i];
i++)
1063 for (sal_uInt16
i=0; pWhich[
i];
i++)
1077 if ( !pSrcStyle || !pDestPool || !pSrcPool )
1079 OSL_FAIL(
"CopyStyleToPool: Invalid Arguments :-/" );
1083 const OUString aStrSrcStyle = pSrcStyle->
GetName();
1089 const OUString aStrParent = pSrcStyle->
GetParent();
1092 pDestStyle = &pDestPool->
Make( aStrSrcStyle, eFamily, SfxStyleSearchBits::UserDefined );
1094 rDestSet.
Put( rSrcSet );
1100 if ( pFormatExchangeList &&
1104 SvNumberFormatterIndexTable::const_iterator it = pFormatExchangeList->find(nOldFormat);
1105 if (it != pFormatExchangeList->end())
1107 sal_uInt32 nNewFormat = it->second;
1114 if (
ScResId(STR_STYLENAME_STANDARD) != aStrParent &&
1115 aStrSrcStyle != aStrParent &&
1116 !pDestPool->
Find( aStrParent, eFamily ) )
1119 pSrcPool, pDestPool, pFormatExchangeList );
1137 if ( pDestDoc != pSrcDoc )
1139 OSL_ENSURE(
pStyle,
"Missing Pattern-Style! :-/" );
1156 if (eItemState==SfxItemState::SET)
1158 std::unique_ptr<SfxPoolItem> pNewItem;
1164 sal_uInt32 nNewIndex = 0;
1180 SvNumberFormatterIndexTable::const_iterator it = pDestDoc->
GetFormatExchangeList()->find(nOldFormat);
1183 sal_uInt32 nNewFormat = it->second;
1190 pDestSet->
Put(std::move(pNewItem));
1193 pDestSet->
Put(*pSrcItem);
1198 return pPatternAttr;
1218 if ( pBoxItem->GetTop() || pBoxItem->GetBottom() ||
1219 pBoxItem->GetLeft() || pBoxItem->GetRight() )
1224 if( pItem->GetLine() )
1228 if( pItem->GetLine() )
1232 if ( pItem->GetLocation() != SvxShadowLocation::NONE )
1242 auto IsInterestingWhich = [](sal_uInt16
n)
1253 while (nWhich1 != nWhich2)
1256 sal_uInt16* pSmallerWhich;
1257 if (nWhich1 == 0 || nWhich1 > nWhich2)
1259 pSmallerWhich = &nWhich2;
1260 pIterToIncrement = &aIter2;
1264 pSmallerWhich = &nWhich1;
1265 pIterToIncrement = &aIter1;
1268 if (IsInterestingWhich(*pSmallerWhich))
1275 *pSmallerWhich = pIterToIncrement->
NextWhich();
1283 if (IsInterestingWhich(nWhich1))
1289 if (state1 != state2
1290 && (state1 < SfxItemState::DEFAULT || state2 < SfxItemState::DEFAULT))
1292 if (pItem1 != pItem2)
1313 if (bClearDirectFormat)
1327 OSL_FAIL(
"ScPatternAttr::SetStyleSheet( NULL ) :-|" );
1379 return pItem->GetCharSet() == RTL_TEXTENCODING_SYMBOL;
1386sal_uInt32 getNumberFormatKey(
const SfxItemSet& rSet)
1400 sal_uInt32 nFormat = getNumberFormatKey(
GetItemSet());
1404 else if ( pFormatter )
1424 nFormat = getNumberFormatKey(*pCondSet);
1426 eLang = getLanguageType(*pCondSet);
1442 if ( pCondSet && pCondSet->
GetItemState( nWhich,
true, &pCondItem ) == SfxItemState::SET )
1444 return rItemSet.
Get(nWhich);
1460 GetValue() == SvxCellHorJustify::Repeat );
1483 Degree100 nRot180 = nAttrRotate % 18000_deg100;
1484 if ( nRot180 == 9000_deg100 )
1518 h1 = 31 * h1 +
reinterpret_cast<size_t>(*it);
1520 h2 = 31 * h2 +
reinterpret_cast<size_t>(*it);
1522 h3 = 31 * h3 +
reinterpret_cast<size_t>(*it);
1524 h4 = 31 * h4 +
reinterpret_cast<size_t>(*it);
constexpr auto convertTwipToMm100(N n)
sal_uInt32 GetValue() const
void SetScaleY(const Fraction &rScaleY)
MapUnit GetMapUnit() const
void SetScaleX(const Fraction &rScaleX)
SAL_DLLPRIVATE sal_Int32 GetDPIX() const
SAL_WARN_UNUSED_RESULT Point LogicToLogic(const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
SAL_WARN_UNUSED_RESULT Point LogicToPixel(const Point &rLogicPt) const
const MapMode & GetMapMode() const
SC_DLLPUBLIC ScDocumentPool * GetPool()
SC_DLLPUBLIC ScStyleSheetPool * GetStyleSheetPool() const
SC_DLLPUBLIC sal_uLong AddValidationEntry(const ScValidationData &rNew)
const ScValidationDataList * GetValidationList() const
SvNumberFormatterIndexTable * GetFormatExchangeList() const
bool IsSymbolFont() const
If font is an old symbol font StarBats/StarMath with text encoding RTL_TEXTENC_SYMBOL.
void UpdateStyleSheet(const ScDocument &rDoc)
virtual lookup_iterator Lookup(lookup_iterator begin, lookup_iterator end) const override
virtual bool operator==(const SfxPoolItem &rCmp) const override
std::optional< sal_uInt32 > mxHashCode
static void fillFont(vcl::Font &rFont, const SfxItemSet &rItemSet, ScAutoFontColorMode eAutoMode, const OutputDevice *pOutDev=nullptr, const Fraction *pScale=nullptr, const SfxItemSet *pCondSet=nullptr, SvtScriptType nScript=SvtScriptType::NONE, const Color *pBackConfigColor=nullptr, const Color *pTextConfigColor=nullptr)
void ClearItems(const sal_uInt16 *pWhich)
ScPatternAttr * PutInPool(ScDocument *pDestDoc, ScDocument *pSrcDoc) const
void CalcHashCode() const
std::optional< OUString > pName
Degree100 GetRotateVal(const SfxItemSet *pCondSet) const
static std::optional< bool > FastEqualPatternSets(const SfxItemSet &rSet1, const SfxItemSet &rSet2)
bool IsVisibleEqual(const ScPatternAttr &rOther) const
const OUString * GetStyleName() const
void SetStyleSheet(ScStyleSheet *pNewStyle, bool bClearDirectFormat=true)
static void fillColor(model::ComplexColor &rComplexColor, const SfxItemSet &rItemSet, ScAutoFontColorMode eAutoMode, const SfxItemSet *pCondSet=nullptr, const Color *pBackConfigColor=nullptr, const Color *pTextConfigColor=nullptr)
sal_uInt32 GetNumberFormat(SvNumberFormatter *) const
ScPatternAttr(SfxItemSet &&pItemSet, const OUString &rStyleName)
void DeleteUnchanged(const ScPatternAttr *pOldAttrs)
sal_uInt64 GetKey() const
ScRotateDir GetRotateDir(const SfxItemSet *pCondSet) const
static void FillToEditItemSet(SfxItemSet &rEditSet, const SfxItemSet &rSrcSet, const SfxItemSet *pCondSet=nullptr)
Converts all Calc items contained in rSrcSet to edit engine items and puts them into rEditSet.
static ScDxfFont GetDxfFont(const SfxItemSet &rSet, SvtScriptType nScript)
void SetKey(sal_uInt64 nKey)
bool HasItemsSet(const sal_uInt16 *pWhich) const
SfxItemSet & GetItemSet()
static void fillFontOnly(vcl::Font &rFont, const SfxItemSet &rItemSet, const OutputDevice *pOutDev=nullptr, const Fraction *pScale=nullptr, const SfxItemSet *pCondSet=nullptr, SvtScriptType nScript=SvtScriptType::NONE)
Static helper function to fill a font object from the passed item set.
const SfxPoolItem & GetItem(sal_uInt16 nWhichP) const
void FillEditItemSet(SfxItemSet *pEditSet, const SfxItemSet *pCondSet=nullptr) const
Converts all Calc items contained in the own item set to edit engine items and puts them into pEditSe...
static void GetFromEditItemSet(SfxItemSet &rDestSet, const SfxItemSet &rEditSet)
Converts all edit engine items contained in rEditSet to Calc items and puts them into rDestSet.
static SvxCellOrientation GetCellOrientation(const SfxItemSet &rItemSet, const SfxItemSet *pCondSet)
std::optional< bool > mxVisible
virtual ScPatternAttr * Clone(SfxItemPool *pPool=nullptr) const override
void FillEditParaItems(SfxItemSet *pSet) const
virtual SC_DLLPUBLIC SfxItemSet & GetItemSet() override
ScViewData & GetViewData()
ScValidationData * GetData(sal_uInt32 nKey)
const ScViewOptions & GetOptions() const
const Color & GetDocColor() const
const SfxPoolItem & GetDefaultItem(sal_uInt16 nWhich) const
const T & Put(std::unique_ptr< T > xItem, sal_uInt16 nWhich=0)
SfxItemPool * GetPool() const
void SetParent(const SfxItemSet *pNew)
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
sal_uInt16 ClearItem(sal_uInt16 nWhich=0)
SfxPoolItem const ** GetItems_Impl() const
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
sal_uInt16 TotalCount() const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
std::vector< SfxPoolItem * >::const_iterator lookup_iterator
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const=0
virtual std::unique_ptr< SfxStyleSheetIterator > CreateIterator(SfxStyleFamily, SfxStyleSearchBits nMask=SfxStyleSearchBits::All)
virtual SfxStyleSheetBase & Make(const OUString &, SfxStyleFamily eFam, SfxStyleSearchBits nMask=SfxStyleSearchBits::All)
virtual SfxStyleSheetBase * Find(const OUString &, SfxStyleFamily eFam, SfxStyleSearchBits n=SfxStyleSearchBits::All)
virtual const OUString & GetParent() const
const OUString & GetName() const
SfxStyleFamily GetFamily() const
virtual bool SetParent(const OUString &)
virtual SfxItemSet & GetItemSet()
static SAL_WARN_UNUSED_RESULT SfxViewShell * Current()
SfxItemState GetItemState(bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
SvxAdjust GetAdjust() const
const Color & GetColor() const
const Color & GetValue() const
model::ComplexColor const & getComplexColor() const
FontEmphasisMark GetEmphasisMark() const
sal_uInt32 GetHeight() const
FontFamily GetFamily() const
FontPitch GetPitch() const
const OUString & GetStyleName() const
rtl_TextEncoding GetCharSet() const
const OUString & GetFamilyName() const
LanguageType GetLanguage() const
ColorType getType() const
void setColor(Color const &rColor)
void setFinalColor(Color const &rColor)
Color const & getFinalColor() const
void SetFontSize(const Size &)
void SetOutline(bool bOutline)
void SetStyleName(const OUString &rStyleName)
void SetWordLineMode(bool bWordLine)
void SetPitch(FontPitch ePitch)
void SetTransparent(bool bTransparent)
void SetColor(const Color &)
const OUString & GetStyleName() const
void SetItalic(FontItalic)
void SetWeight(FontWeight)
const OUString & GetFamilyName() const
void SetFamily(FontFamily)
void SetUnderline(FontLineStyle)
void SetCharSet(rtl_TextEncoding)
void SetOverline(FontLineStyle)
void SetFamilyName(const OUString &rFamilyName)
void SetLanguage(LanguageType)
void SetShadow(bool bShadow)
void SetRelief(FontRelief)
void SetEmphasisMark(FontEmphasisMark)
void SetStrikeout(FontStrikeout)
constexpr ::Color COL_WHITE(0xFF, 0xFF, 0xFF)
constexpr ::Color COL_AUTO(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
constexpr ::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
constexpr TypedWhichId< SvxContourItem > EE_CHAR_OUTLINE(EE_CHAR_START+8)
constexpr TypedWhichId< SfxBoolItem > EE_PARA_HYPHENATE(EE_PARA_START+6)
constexpr TypedWhichId< SvxFontItem > EE_CHAR_FONTINFO_CJK(EE_CHAR_START+17)
constexpr TypedWhichId< SvxUnderlineItem > EE_CHAR_UNDERLINE(EE_CHAR_START+5)
constexpr TypedWhichId< SvxAdjustItem > EE_PARA_JUST(EE_PARA_START+16)
constexpr TypedWhichId< SvxFontHeightItem > EE_CHAR_FONTHEIGHT(EE_CHAR_START+2)
constexpr TypedWhichId< SvxShadowedItem > EE_CHAR_SHADOW(EE_CHAR_START+9)
constexpr TypedWhichId< SvxOverlineItem > EE_CHAR_OVERLINE(EE_CHAR_START+29)
constexpr TypedWhichId< SvxLanguageItem > EE_CHAR_LANGUAGE_CTL(EE_CHAR_START+16)
constexpr TypedWhichId< SvxWeightItem > EE_CHAR_WEIGHT(EE_CHAR_START+4)
constexpr TypedWhichId< SvxColorItem > EE_CHAR_COLOR(EE_CHAR_START+0)
constexpr TypedWhichId< SvxWeightItem > EE_CHAR_WEIGHT_CTL(EE_CHAR_START+22)
constexpr TypedWhichId< SvxCrossedOutItem > EE_CHAR_STRIKEOUT(EE_CHAR_START+6)
constexpr TypedWhichId< SvxForbiddenRuleItem > EE_PARA_FORBIDDENRULES(EE_PARA_START+3)
constexpr TypedWhichId< SvxPostureItem > EE_CHAR_ITALIC(EE_CHAR_START+7)
constexpr TypedWhichId< SvxEmphasisMarkItem > EE_CHAR_EMPHASISMARK(EE_CHAR_START+25)
constexpr TypedWhichId< SvxFontHeightItem > EE_CHAR_FONTHEIGHT_CTL(EE_CHAR_START+20)
constexpr TypedWhichId< SvxWeightItem > EE_CHAR_WEIGHT_CJK(EE_CHAR_START+21)
constexpr TypedWhichId< SvxLanguageItem > EE_CHAR_LANGUAGE_CJK(EE_CHAR_START+15)
constexpr TypedWhichId< SvxFrameDirectionItem > EE_PARA_WRITINGDIR(EE_PARA_START+0)
constexpr TypedWhichId< SvxPostureItem > EE_CHAR_ITALIC_CJK(EE_CHAR_START+23)
constexpr TypedWhichId< SvxFontItem > EE_CHAR_FONTINFO_CTL(EE_CHAR_START+18)
constexpr TypedWhichId< SvxPostureItem > EE_CHAR_ITALIC_CTL(EE_CHAR_START+24)
constexpr TypedWhichId< SvxLanguageItem > EE_CHAR_LANGUAGE(EE_CHAR_START+14)
constexpr TypedWhichId< SvxScriptSpaceItem > EE_PARA_ASIANCJKSPACING(EE_PARA_START+4)
constexpr TypedWhichId< SvxWordLineModeItem > EE_CHAR_WLM(EE_CHAR_START+13)
constexpr TypedWhichId< SvxCharReliefItem > EE_CHAR_RELIEF(EE_CHAR_START+26)
constexpr TypedWhichId< SvxFontHeightItem > EE_CHAR_FONTHEIGHT_CJK(EE_CHAR_START+19)
constexpr TypedWhichId< SvxFontItem > EE_CHAR_FONTINFO(EE_CHAR_START+1)
constexpr auto toTwips(N number, Length from)
enumrange< T >::Iterator begin(enumrange< T >)
constexpr size_t compareSize
static SfxStyleSheetBase * lcl_CopyStyleToPool(SfxStyleSheetBase *pSrcStyle, SfxStyleSheetBasePool *pSrcPool, SfxStyleSheetBasePool *pDestPool, const SvNumberFormatterIndexTable *pFormatExchangeList)
static bool StrCmp(const OUString *pStr1, const OUString *pStr2)
static void lcl_populate(std::unique_ptr< T > &rxItem, TypedWhichId< T > nWhich, const SfxItemSet &rSrcSet, const SfxItemSet *pCondSet)
static bool EqualPatternSets(const SfxItemSet &rSet1, const SfxItemSet &rSet2)
ScAutoFontColorMode
how to treat COL_AUTO in GetFont:
@ Print
black or white, depending on background
@ IgnoreAll
like DISPLAY, but ignore stored font and background colors
@ Raw
COL_AUTO is returned.
@ IgnoreBack
like DISPLAY, but ignore stored background color (use configured color)
@ IgnoreFont
like DISPLAY, but ignore stored font color (assume COL_AUTO)
OUString ScResId(TranslateId aId)
constexpr TypedWhichId< SvxFontHeightItem > ATTR_FONT_HEIGHT(101)
constexpr TypedWhichId< SvxFontItem > ATTR_CJK_FONT(111)
constexpr TypedWhichId< ScPatternAttr > ATTR_PATTERN(156)
constexpr TypedWhichId< SvxForbiddenRuleItem > ATTR_FORBIDDEN_RULES(128)
constexpr TypedWhichId< SvxPostureItem > ATTR_CTL_FONT_POSTURE(119)
constexpr TypedWhichId< SvxFontItem > ATTR_CTL_FONT(116)
constexpr TypedWhichId< SvxFontHeightItem > ATTR_CJK_FONT_HEIGHT(112)
constexpr TypedWhichId< SvxPostureItem > ATTR_FONT_POSTURE(103)
constexpr TypedWhichId< SvxWeightItem > ATTR_FONT_WEIGHT(102)
constexpr TypedWhichId< SvxColorItem > ATTR_FONT_COLOR(109)
constexpr TypedWhichId< SvxWeightItem > ATTR_CJK_FONT_WEIGHT(113)
constexpr TypedWhichId< SvxEmphasisMarkItem > ATTR_FONT_EMPHASISMARK(121)
constexpr TypedWhichId< SvxLineItem > ATTR_BORDER_TLBR(141)
constexpr TypedWhichId< SvxShadowedItem > ATTR_FONT_SHADOWED(108)
constexpr TypedWhichId< SvxWordLineModeItem > ATTR_FONT_WORDLINE(123)
constexpr TypedWhichId< SvxContourItem > ATTR_FONT_CONTOUR(107)
constexpr TypedWhichId< SvxLanguageItem > ATTR_CTL_FONT_LANGUAGE(120)
constexpr TypedWhichId< SvxBrushItem > ATTR_BACKGROUND(148)
constexpr TypedWhichId< SvxOverlineItem > ATTR_FONT_OVERLINE(105)
constexpr TypedWhichId< SvxShadowItem > ATTR_SHADOW(152)
constexpr TypedWhichId< SvxLanguageItem > ATTR_LANGUAGE_FORMAT(147)
constexpr TypedWhichId< ScRotateValueItem > ATTR_ROTATE_VALUE(135)
constexpr TypedWhichId< SvxHorJustifyItem > ATTR_HOR_JUSTIFY(129)
constexpr sal_uInt16 ATTR_PATTERN_START(100)
constexpr TypedWhichId< SvxRotateModeItem > ATTR_ROTATE_MODE(136)
constexpr TypedWhichId< SvxBoxItem > ATTR_BORDER(150)
constexpr TypedWhichId< SvxCharReliefItem > ATTR_FONT_RELIEF(124)
constexpr TypedWhichId< SfxUInt32Item > ATTR_VALUE_FORMAT(146)
constexpr TypedWhichId< SvxFrameDirectionItem > ATTR_WRITINGDIR(138)
constexpr TypedWhichId< SvxCrossedOutItem > ATTR_FONT_CROSSEDOUT(106)
constexpr TypedWhichId< SvxLineItem > ATTR_BORDER_BLTR(142)
constexpr TypedWhichId< ScVerticalStackCell > ATTR_STACKED(134)
constexpr TypedWhichId< ScHyphenateCell > ATTR_HYPHENATE(125)
constexpr TypedWhichId< SvxFontItem > ATTR_FONT(100)
constexpr TypedWhichId< SvxLanguageItem > ATTR_FONT_LANGUAGE(110)
constexpr sal_uInt16 ATTR_PATTERN_END(155)
constexpr TypedWhichId< SvxWeightItem > ATTR_CTL_FONT_WEIGHT(118)
constexpr TypedWhichId< SvxPostureItem > ATTR_CJK_FONT_POSTURE(114)
constexpr TypedWhichId< SfxUInt32Item > ATTR_VALIDDATA(153)
constexpr TypedWhichId< SvxLanguageItem > ATTR_CJK_FONT_LANGUAGE(115)
constexpr TypedWhichId< SvxFontHeightItem > ATTR_CTL_FONT_HEIGHT(117)
constexpr TypedWhichId< SvxUnderlineItem > ATTR_FONT_UNDERLINE(104)
std::optional< bool > bShadow
std::optional< const SvxFontItem * > pFontAttr
std::optional< bool > bOutline
std::optional< bool > bWordLine
std::optional< FontLineStyle > eUnder
std::optional< FontItalic > eItalic
std::optional< FontLineStyle > eOver
std::optional< FontRelief > eRelief
std::optional< LanguageType > eLang
std::optional< FontStrikeout > eStrike
std::optional< FontEmphasisMark > eEmphasis
std::optional< sal_uInt32 > nFontHeight
std::optional< FontWeight > eWeight
std::optional< Color > aColor
std::unordered_map< sal_uInt16, sal_uInt32 > SvNumberFormatterIndexTable
#define SV_COUNTRY_LANGUAGE_OFFSET