LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::DocumentStylePoolManager Class Referencefinal

#include <DocumentStylePoolManager.hxx>

Inheritance diagram for sw::DocumentStylePoolManager:
[legend]
Collaboration diagram for sw::DocumentStylePoolManager:
[legend]

Public Member Functions

 DocumentStylePoolManager (SwDoc &i_rSwdoc)
 
virtual SwTextFormatCollGetTextCollFromPool (sal_uInt16 nId, bool bRegardLanguage=true) override
 Return "Auto-Collection with ID. More...
 
virtual SwFormatGetFormatFromPool (sal_uInt16 nId) override
 Return the AutomaticFormat with the supplied Id. More...
 
virtual SwFrameFormatGetFrameFormatFromPool (sal_uInt16 nId) override
 Return required automatic format. More...
 
virtual SwCharFormatGetCharFormatFromPool (sal_uInt16 nId) override
 
virtual SwPageDescGetPageDescFromPool (sal_uInt16 nId, bool bRegardLanguage=true) override
 Return required automatic page style. More...
 
virtual SwNumRuleGetNumRuleFromPool (sal_uInt16 nId) override
 
virtual bool IsPoolTextCollUsed (sal_uInt16 nId) const override
 Check if this AutoCollection is already/still in use in this Document. More...
 
virtual bool IsPoolFormatUsed (sal_uInt16 nId) const override
 Check if this AutoCollection is already/still in use. More...
 
virtual bool IsPoolPageDescUsed (sal_uInt16 nId) const override
 Check if this AutoCollection is already/still in use in this Document. More...
 
virtual ~DocumentStylePoolManager () override
 
virtual SwTextFormatCollGetTextCollFromPool (sal_uInt16 nId, bool bRegardLanguage=true)=0
 Return "Auto-Collection with ID. More...
 
virtual SwFormatGetFormatFromPool (sal_uInt16 nId)=0
 Return required automatic format base class. More...
 
virtual SwFrameFormatGetFrameFormatFromPool (sal_uInt16 nId)=0
 Return required automatic format. More...
 
virtual SwCharFormatGetCharFormatFromPool (sal_uInt16 nId)=0
 
virtual SwPageDescGetPageDescFromPool (sal_uInt16 nId, bool bRegardLanguage=true)=0
 Return required automatic page style. More...
 
virtual SwNumRuleGetNumRuleFromPool (sal_uInt16 nId)=0
 
virtual bool IsPoolTextCollUsed (sal_uInt16 nId) const =0
 Check whether this "auto-collection" is used in document. More...
 
virtual bool IsPoolFormatUsed (sal_uInt16 nId) const =0
 
virtual bool IsPoolPageDescUsed (sal_uInt16 nId) const =0
 

Private Member Functions

 DocumentStylePoolManager (DocumentStylePoolManager const &)=delete
 
DocumentStylePoolManageroperator= (DocumentStylePoolManager const &)=delete
 

Private Attributes

SwDocm_rDoc
 

Additional Inherited Members

- Protected Member Functions inherited from IDocumentStylePoolAccess
virtual ~IDocumentStylePoolAccess ()
 

Detailed Description

Definition at line 29 of file DocumentStylePoolManager.hxx.

Constructor & Destructor Documentation

◆ DocumentStylePoolManager() [1/2]

sw::DocumentStylePoolManager::DocumentStylePoolManager ( SwDoc i_rSwdoc)

Definition at line 578 of file DocumentStylePoolManager.cxx.

◆ ~DocumentStylePoolManager()

sw::DocumentStylePoolManager::~DocumentStylePoolManager ( )
overridevirtual

Definition at line 2580 of file DocumentStylePoolManager.cxx.

◆ DocumentStylePoolManager() [2/2]

sw::DocumentStylePoolManager::DocumentStylePoolManager ( DocumentStylePoolManager const &  )
privatedelete

Member Function Documentation

◆ GetCharFormatFromPool()

SwCharFormat * sw::DocumentStylePoolManager::GetCharFormatFromPool ( sal_uInt16  nId)
overridevirtual

Implements IDocumentStylePoolAccess.

Definition at line 1723 of file DocumentStylePoolManager.cxx.

References GetFormatFromPool(), and nId.

Referenced by GetNumRuleFromPool().

◆ GetFormatFromPool()

SwFormat * sw::DocumentStylePoolManager::GetFormatFromPool ( sal_uInt16  nId)
overridevirtual

Return the AutomaticFormat with the supplied Id.

If it doesn't exist, create it.

Implements IDocumentStylePoolAccess.

Definition at line 1450 of file DocumentStylePoolManager.cxx.

References aCharFormatSetRange, aFrameFormatSetRange, SfxItemSet::ClearItem(), COL_BLACK(), COL_BLUE(), COL_CYAN(), COL_RED(), COLL_GET_RANGE_BITS, SfxItemSet::Count(), DFLT_ESC_AUTO_SUPER, DFLT_ESC_PROP, sw::DocumentSettingManager::get(), SwDoc::GetAttrPool(), SwDoc::GetCharFormats(), vcl::Font::GetCharSet(), numfunc::GetDefBulletFont(), GetDfltAttr(), SwDoc::GetDfltCharFormat(), SwDoc::GetDfltFrameFormat(), SwDoc::GetDocumentSettingManager(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), GetFormat(), SwDoc::GetFrameFormats(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), vcl::Font::GetPitch(), SwFormat::GetPoolFormatId(), SwDoc::GetSpzFrameFormats(), vcl::Font::GetStyleName(), SvxBorderLineWidth::Hairline, HTML_MODE, IDocumentState::IsModified(), ITALIC_NORMAL, LINESTYLE_DOTTED, LINESTYLE_NONE, LINESTYLE_SINGLE, m_rDoc, SwDoc::MakeCharFormat_(), SwDoc::MakeFrameFormat_(), Minimum, o3tl::mm, n, nId, POOLGRP_CHARFMT, POOLGRP_FRAMEFMT, POOLGRP_NOCOLLID, SfxItemSet::Put(), RES_BOX(), RES_CHRATR_CASEMAP(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_COLOR(), RES_CHRATR_EMPHASIS_MARK(), RES_CHRATR_ESCAPEMENT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_POSTURE(), RES_CHRATR_ROTATE(), RES_CHRATR_UNDERLINE(), RES_CHRATR_WEIGHT(), RES_LR_SPACE(), RES_OPAQUE(), RES_POOLCHR_BEGIN, RES_POOLCHR_BULLET_LEVEL, RES_POOLCHR_DROPCAPS, RES_POOLCHR_ENDNOTE, RES_POOLCHR_ENDNOTE_ANCHOR, RES_POOLCHR_FOOTNOTE, RES_POOLCHR_FOOTNOTE_ANCHOR, RES_POOLCHR_HTML_BEGIN, RES_POOLCHR_HTML_CITATION, RES_POOLCHR_HTML_CODE, RES_POOLCHR_HTML_EMPHASIS, RES_POOLCHR_HTML_END, RES_POOLCHR_HTML_KEYBOARD, RES_POOLCHR_HTML_SAMPLE, RES_POOLCHR_HTML_STRONG, RES_POOLCHR_HTML_TELETYPE, RES_POOLCHR_HTML_VARIABLE, RES_POOLCHR_IDX_MAIN_ENTRY, RES_POOLCHR_INET_NORMAL, RES_POOLCHR_INET_VISIT, RES_POOLCHR_JUMPEDIT, RES_POOLCHR_LABEL, RES_POOLCHR_LINENUM, RES_POOLCHR_NORMAL_BEGIN, RES_POOLCHR_NORMAL_END, RES_POOLCHR_NUM_LEVEL, RES_POOLCHR_PAGENO, RES_POOLCHR_RUBYTEXT, RES_POOLCHR_TOXJUMP, RES_POOLCHR_VERT_NUM, RES_POOLFRM_BEGIN, RES_POOLFRM_END, RES_POOLFRM_FORMEL, RES_POOLFRM_FRAME, RES_POOLFRM_GRAPHIC, RES_POOLFRM_LABEL, RES_POOLFRM_MARGINAL, RES_POOLFRM_OLE, RES_POOLFRM_WATERSIGN, RES_PROTECT(), RES_UL_SPACE(), IDocumentState::ResetModified(), SvxBoxItem::SetAllDistances(), SetAllScriptItem(), SwFormat::SetAuto(), SwFormat::SetAutoUpdateOnDirectFormat(), SwFormat::SetFormatAttr(), SvxBoxItem::SetLine(), SwFormat::SetPoolFormatId(), SvxProtectItem::SetPosProtect(), SvxProtectItem::SetSizeProtect(), STR_POOLCHR_ARY, STR_POOLCHR_HTML_ARY, STR_POOLFRM_ARY, SwResId(), o3tl::toTwips(), WEIGHT_BOLD, and XATTR_FILLSTYLE().

Referenced by GetCharFormatFromPool(), and GetFrameFormatFromPool().

◆ GetFrameFormatFromPool()

SwFrameFormat * sw::DocumentStylePoolManager::GetFrameFormatFromPool ( sal_uInt16  nId)
overridevirtual

Return required automatic format.

Implements IDocumentStylePoolAccess.

Definition at line 1718 of file DocumentStylePoolManager.cxx.

References GetFormatFromPool(), and nId.

◆ GetNumRuleFromPool()

SwNumRule * sw::DocumentStylePoolManager::GetNumRuleFromPool ( sal_uInt16  nId)
overridevirtual

Implements IDocumentStylePoolAccess.

Definition at line 1901 of file DocumentStylePoolManager.cxx.

References cBulletChar, o3tl::convert(), GetCharFormatFromPool(), numfunc::GetDefaultPositionAndSpaceMode(), numfunc::GetDefBulletFont(), SwDoc::getIDocumentState(), SwDoc::GetNumRuleTable(), SwNumRule::GetPoolFormatId(), IDocumentState::IsModified(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, SvxNumberFormat::LISTTAB, m_rDoc, SwDoc::MakeNumRule(), MAXLEVEL, o3tl::mm, o3tl::mm100, n, nId, nPos, RES_POOLCHR_NUM_LEVEL, RES_POOLNUMRULE_BEGIN, RES_POOLNUMRULE_BUL1, RES_POOLNUMRULE_BUL2, RES_POOLNUMRULE_BUL3, RES_POOLNUMRULE_BUL4, RES_POOLNUMRULE_BUL5, RES_POOLNUMRULE_END, RES_POOLNUMRULE_NUM1, RES_POOLNUMRULE_NUM2, RES_POOLNUMRULE_NUM3, RES_POOLNUMRULE_NUM4, RES_POOLNUMRULE_NUM5, IDocumentState::ResetModified(), SAL_N_ELEMENTS, SwNumRule::Set(), SvxNumberFormat::SetAbsLSpace(), SwNumRule::SetAutoRule(), SvxNumberFormat::SetBulletChar(), SvxNumberFormat::SetBulletFont(), SwNumFormat::SetCharFormat(), SvxNumberFormat::SetFirstLineIndent(), SvxNumberFormat::SetFirstLineOffset(), SvxNumberFormat::SetIncludeUpperLevels(), SvxNumberFormat::SetIndentAt(), SvxNumberFormat::SetLabelFollowedBy(), SvxNumberFormat::SetListFormat(), SvxNumberFormat::SetListtabPos(), SvxNumberFormat::SetNumAdjust(), SvxNumberType::SetNumberingType(), SwNumRule::SetPoolFormatId(), SvxNumberFormat::SetPositionAndSpaceMode(), SvxNumberFormat::SetStart(), size, SvxNumberFormat::SPACE, STR_POOLNUMRULE_NUM_ARY, SVX_NUM_ARABIC, SVX_NUM_CHAR_SPECIAL, SVX_NUM_CHARS_LOWER_LETTER, SVX_NUM_CHARS_UPPER_LETTER, SVX_NUM_ROMAN_LOWER, SVX_NUM_ROMAN_UPPER, SwResId(), o3tl::twip, and u.

◆ GetPageDescFromPool()

SwPageDesc * sw::DocumentStylePoolManager::GetPageDescFromPool ( sal_uInt16  nId,
bool  bRegardLanguage = true 
)
overridevirtual

Return required automatic page style.

Implements IDocumentStylePoolAccess.

Definition at line 1728 of file DocumentStylePoolManager.cxx.

References All, aPgFrameFormatSetRange, o3tl::cm, o3tl::convert(), SfxItemSet::Count(), FirstShare, Fixed, SwDoc::GetAttrPool(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFootnoteInfo(), SwFormat::GetFrameSize(), SvxSizeItem::GetHeight(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwPageDesc::GetLandscape(), SwPageDesc::GetLeft(), SvxLRSpaceItem::GetLeft(), SwPageDesc::GetMaster(), SwDoc::GetPageDesc(), SwDoc::GetPageDescCnt(), GetPageDescFromPool(), SvxPaperInfo::GetPaperSize(), SwPageDesc::GetPoolFormatId(), SvxLRSpaceItem::GetRight(), SvxSizeItem::GetWidth(), Size::Height(), IDocumentState::IsModified(), LandscapeSwap(), Left, m_rDoc, SwDoc::MakePageDesc(), n, nId, PAPER_ENV_C65, SfxItemSet::Put(), RES_LR_SPACE(), RES_POOLPAGE_BEGIN, RES_POOLPAGE_END, RES_POOLPAGE_ENDNOTE, RES_POOLPAGE_ENVELOPE, RES_POOLPAGE_FIRST, RES_POOLPAGE_FOOTNOTE, RES_POOLPAGE_HTML, RES_POOLPAGE_LANDSCAPE, RES_POOLPAGE_LEFT, RES_POOLPAGE_REGISTER, RES_POOLPAGE_RIGHT, RES_POOLPAGE_STANDARD, RES_UL_SPACE(), IDocumentState::ResetModified(), Right, SAL_N_ELEMENTS, SwPageFootnoteInfo::SetBottomDist(), SwPageDesc::SetFollow(), SwPageDesc::SetFootnoteInfo(), SwFormat::SetFormatAttr(), SvxSizeItem::SetHeight(), SwPageDesc::SetLandscape(), SvxLRSpaceItem::SetLeft(), SwPageFootnoteInfo::SetLineWidth(), SvxULSpaceItem::SetLower(), SwPageDesc::SetPoolFormatId(), SvxLRSpaceItem::SetRight(), SwPageFootnoteInfo::SetTopDist(), SvxULSpaceItem::SetUpper(), SwPageDesc::SetUseOn(), SvxSizeItem::SetWidth(), STR_POOLPAGE_ARY, SwResId(), o3tl::twip, and Size::Width().

Referenced by GetPageDescFromPool().

◆ GetTextCollFromPool()

SwTextFormatColl * sw::DocumentStylePoolManager::GetTextCollFromPool ( sal_uInt16  nId,
bool  bRegardLanguage = true 
)
overridevirtual

Return "Auto-Collection with ID.

Create, if it does not yet exist. If string pointer is defined request only description of attributes, do not create style sheet!

Implements IDocumentStylePoolAccess.

Definition at line 582 of file DocumentStylePoolManager.cxx.

References aName, aTextFormatCollSetRange, SvxULSpaceItem::Clone(), o3tl::cm, COL_GRAY(), o3tl::convert(), SfxItemSet::Count(), first, sw::DocumentSettingManager::get(), GetAppLanguage(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), SwDoc::GetAttrPool(), SwNumRule::GetBullIndent(), vcl::Font::GetCharSet(), SwDoc::GetDefault(), OutputDevice::GetDefaultFont(), GetDefaultFrameDirection(), SwDoc::GetDfltTextFormatColl(), SwDoc::GetDocumentSettingManager(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SwLangHelper::GetLanguage(), SwNumRule::GetNumIndent(), vcl::Font::GetPitch(), SwFormat::GetPoolFormatId(), GetPoolParent(), GetTextCollFromPool(), SwDoc::GetTextFormatColls(), SwStyleNameMapper::GetUIName(), SwFormat::GetULSpace(), HTML_MODE, HTML_PARSPACE, i, SvxTabStopItem::Insert(), comphelper::LibreOfficeKit::isActive(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), IsConditionalByPoolId(), ITALIC_NORMAL, LANGUAGE_ARABIC_SAUDI_ARABIA, LANGUAGE_DONTKNOW, LANGUAGE_ENGLISH_US, LANGUAGE_KOREAN, lBulletFirstLineOffset, left, LINE_SPACE_DEFAULT_HEIGHT, lNumberFirstLineOffset, m_rDoc, o3tl::mm, n, nId, nRightMargin, SwVectorModifyBase< Value >::push_back(), SfxItemSet::Put(), RES_BOX(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_LANGUAGE(), RES_CHRATR_POSTURE(), RES_CHRATR_WEIGHT(), RES_KEEP(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_RIGHT(), RES_MARGIN_TEXTLEFT(), RES_PARATR_ADJUST(), RES_PARATR_LINESPACING(), RES_PARATR_ORPHANS(), RES_PARATR_SCRIPTSPACE(), RES_PARATR_TABSTOP(), RES_PARATR_WIDOWS(), RES_POOLCOLL_BULLET_LEVEL1, RES_POOLCOLL_BULLET_LEVEL1E, RES_POOLCOLL_BULLET_LEVEL1S, RES_POOLCOLL_BULLET_LEVEL2, RES_POOLCOLL_BULLET_LEVEL2E, RES_POOLCOLL_BULLET_LEVEL2S, RES_POOLCOLL_BULLET_LEVEL3, RES_POOLCOLL_BULLET_LEVEL3E, RES_POOLCOLL_BULLET_LEVEL3S, RES_POOLCOLL_BULLET_LEVEL4, RES_POOLCOLL_BULLET_LEVEL4E, RES_POOLCOLL_BULLET_LEVEL4S, RES_POOLCOLL_BULLET_LEVEL5, RES_POOLCOLL_BULLET_LEVEL5E, RES_POOLCOLL_BULLET_LEVEL5S, RES_POOLCOLL_BULLET_NONUM1, RES_POOLCOLL_BULLET_NONUM2, RES_POOLCOLL_BULLET_NONUM3, RES_POOLCOLL_BULLET_NONUM4, RES_POOLCOLL_BULLET_NONUM5, RES_POOLCOLL_COMMENT, RES_POOLCOLL_CONFRONTATION, RES_POOLCOLL_DOC_APPENDIX, RES_POOLCOLL_DOC_BEGIN, RES_POOLCOLL_DOC_END, RES_POOLCOLL_DOC_SUBTITLE, RES_POOLCOLL_DOC_TITLE, RES_POOLCOLL_ENDNOTE, RES_POOLCOLL_ENVELOPE_ADDRESS, RES_POOLCOLL_EXTRA_BEGIN, RES_POOLCOLL_EXTRA_END, RES_POOLCOLL_FOOTER, RES_POOLCOLL_FOOTERL, RES_POOLCOLL_FOOTERR, RES_POOLCOLL_FOOTNOTE, RES_POOLCOLL_FRAME, RES_POOLCOLL_GREETING, RES_POOLCOLL_HEADER, RES_POOLCOLL_HEADERFOOTER, RES_POOLCOLL_HEADERL, RES_POOLCOLL_HEADERR, RES_POOLCOLL_HEADLINE1, RES_POOLCOLL_HEADLINE10, RES_POOLCOLL_HEADLINE2, RES_POOLCOLL_HEADLINE3, RES_POOLCOLL_HEADLINE4, RES_POOLCOLL_HEADLINE5, RES_POOLCOLL_HEADLINE6, RES_POOLCOLL_HEADLINE7, RES_POOLCOLL_HEADLINE8, RES_POOLCOLL_HEADLINE9, RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_HTML_BEGIN, RES_POOLCOLL_HTML_BLOCKQUOTE, RES_POOLCOLL_HTML_DD, RES_POOLCOLL_HTML_DT, RES_POOLCOLL_HTML_END, RES_POOLCOLL_HTML_HR, RES_POOLCOLL_HTML_PRE, RES_POOLCOLL_LABEL, RES_POOLCOLL_LABEL_ABB, RES_POOLCOLL_LABEL_DRAWING, RES_POOLCOLL_LABEL_FIGURE, RES_POOLCOLL_LABEL_FRAME, RES_POOLCOLL_LABEL_TABLE, RES_POOLCOLL_LISTS_BEGIN, RES_POOLCOLL_LISTS_END, RES_POOLCOLL_MARGINAL, RES_POOLCOLL_NUM_LEVEL1, RES_POOLCOLL_NUM_LEVEL1E, RES_POOLCOLL_NUM_LEVEL1S, RES_POOLCOLL_NUM_LEVEL2, RES_POOLCOLL_NUM_LEVEL2E, RES_POOLCOLL_NUM_LEVEL2S, RES_POOLCOLL_NUM_LEVEL3, RES_POOLCOLL_NUM_LEVEL3E, RES_POOLCOLL_NUM_LEVEL3S, RES_POOLCOLL_NUM_LEVEL4, RES_POOLCOLL_NUM_LEVEL4E, RES_POOLCOLL_NUM_LEVEL4S, RES_POOLCOLL_NUM_LEVEL5, RES_POOLCOLL_NUM_LEVEL5E, RES_POOLCOLL_NUM_LEVEL5S, RES_POOLCOLL_NUM_NONUM1, RES_POOLCOLL_NUM_NONUM2, RES_POOLCOLL_NUM_NONUM3, RES_POOLCOLL_NUM_NONUM4, RES_POOLCOLL_NUM_NONUM5, RES_POOLCOLL_NUMBER_BULLET_BASE, RES_POOLCOLL_REGISTER_BASE, RES_POOLCOLL_REGISTER_BEGIN, RES_POOLCOLL_REGISTER_END, RES_POOLCOLL_SEND_ADDRESS, RES_POOLCOLL_SIGNATURE, RES_POOLCOLL_STANDARD, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_POOLCOLL_TEXT, RES_POOLCOLL_TEXT_BEGIN, RES_POOLCOLL_TEXT_END, RES_POOLCOLL_TEXT_IDENT, RES_POOLCOLL_TEXT_MOVE, RES_POOLCOLL_TEXT_NEGIDENT, RES_POOLCOLL_TOX_AUTHORITIES1, RES_POOLCOLL_TOX_AUTHORITIESH, RES_POOLCOLL_TOX_CNTNT1, RES_POOLCOLL_TOX_CNTNT10, RES_POOLCOLL_TOX_CNTNT2, RES_POOLCOLL_TOX_CNTNT3, RES_POOLCOLL_TOX_CNTNT4, RES_POOLCOLL_TOX_CNTNT5, RES_POOLCOLL_TOX_CNTNT6, RES_POOLCOLL_TOX_CNTNT7, RES_POOLCOLL_TOX_CNTNT8, RES_POOLCOLL_TOX_CNTNT9, RES_POOLCOLL_TOX_CNTNTH, RES_POOLCOLL_TOX_IDX1, RES_POOLCOLL_TOX_IDX2, RES_POOLCOLL_TOX_IDX3, RES_POOLCOLL_TOX_IDXBREAK, RES_POOLCOLL_TOX_IDXH, RES_POOLCOLL_TOX_ILLUS1, RES_POOLCOLL_TOX_ILLUSH, RES_POOLCOLL_TOX_OBJECT1, RES_POOLCOLL_TOX_OBJECTH, RES_POOLCOLL_TOX_TABLES1, RES_POOLCOLL_TOX_TABLESH, RES_POOLCOLL_TOX_USER1, RES_POOLCOLL_TOX_USER10, RES_POOLCOLL_TOX_USER2, RES_POOLCOLL_TOX_USER3, RES_POOLCOLL_TOX_USER4, RES_POOLCOLL_TOX_USER5, RES_POOLCOLL_TOX_USER6, RES_POOLCOLL_TOX_USER7, RES_POOLCOLL_TOX_USER8, RES_POOLCOLL_TOX_USER9, RES_POOLCOLL_TOX_USERH, RES_UL_SPACE(), right, SAL_N_ELEMENTS, SetAllScriptItem(), SwFormatLineNumber::SetCountLines(), SwTextFormatColl::SetFormatAttr(), SwFormat::SetFormatName(), SvxBoxItem::SetLine(), SvxULSpaceItem::SetLower(), SwTextFormatColl::SetNextTextFormatColl(), SwFormat::SetPoolFormatId(), SvxLineSpacingItem::SetPropLineSpace(), SvxULSpaceItem::SetUpper(), SwVectorModifyBase< Value >::size(), STR_POOLCOLL_DOC_ARY, STR_POOLCOLL_EXTRA_ARY, STR_POOLCOLL_HTML_ARY, STR_POOLCOLL_LISTS_ARY, STR_POOLCOLL_REGISTER_ARY, STR_POOLCOLL_TEXT_ARY, STYLES_NODEFAULT, SwResId(), o3tl::twip, and WEIGHT_BOLD.

Referenced by GetTextCollFromPool().

◆ IsPoolFormatUsed()

bool sw::DocumentStylePoolManager::IsPoolFormatUsed ( sal_uInt16  nId) const
overridevirtual

◆ IsPoolPageDescUsed()

bool sw::DocumentStylePoolManager::IsPoolPageDescUsed ( sal_uInt16  nId) const
overridevirtual

Check if this AutoCollection is already/still in use in this Document.

Implements IDocumentStylePoolAccess.

Definition at line 2557 of file DocumentStylePoolManager.cxx.

References SwPageDesc::GetInfo(), SwDoc::GetNodes(), SwDoc::GetPageDesc(), SwDoc::GetPageDescCnt(), SwPageDesc::GetPoolFormatId(), m_rDoc, n, nId, RES_POOLPAGE_BEGIN, and RES_POOLPAGE_END.

◆ IsPoolTextCollUsed()

bool sw::DocumentStylePoolManager::IsPoolTextCollUsed ( sal_uInt16  nId) const
overridevirtual

◆ operator=()

DocumentStylePoolManager & sw::DocumentStylePoolManager::operator= ( DocumentStylePoolManager const &  )
privatedelete

Member Data Documentation

◆ m_rDoc

SwDoc& sw::DocumentStylePoolManager::m_rDoc
private

The documentation for this class was generated from the following files: