|
LibreOffice Module sc (master) 1
|
#include <docpool.hxx>
Public Member Functions | |
| ScDocumentPool () | |
| virtual rtl::Reference< SfxItemPool > | Clone () const override |
| virtual MapUnit | GetMetric (sal_uInt16 nWhich) const override |
| void | StyleDeleted (const ScStyleSheet *pStyle) |
| void | CellStyleCreated (std::u16string_view rName, const ScDocument &rDoc) |
| virtual bool | GetPresentation (const SfxPoolItem &rItem, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntl) const override |
Public Member Functions inherited from SfxItemPool | |
| void | FillItemIdRanges_Impl (WhichRangesContainer &pWhichRanges) const |
| const WhichRangesContainer & | GetFrozenIdRanges () const |
| SfxItemPool (const SfxItemPool &rPool, bool bCloneStaticDefaults=false) | |
| SfxItemPool (const OUString &rName, sal_uInt16 nStart, sal_uInt16 nEnd, const SfxItemInfo *pItemInfos, std::vector< SfxPoolItem * > *pDefaults=nullptr) | |
| virtual | ~SfxItemPool () |
| SfxBroadcaster & | BC () |
| void | SetPoolDefaultItem (const SfxPoolItem &) |
| const SfxPoolItem * | GetPoolDefaultItem (sal_uInt16 nWhich) const |
| const T * | GetPoolDefaultItem (TypedWhichId< T > nWhich) const |
| void | ResetPoolDefaultItem (sal_uInt16 nWhich) |
| void | SetDefaults (std::vector< SfxPoolItem * > *pDefaults) |
| void | ClearDefaults () |
| void | ReleaseDefaults (bool bDelete=false) |
| virtual MapUnit | GetMetric (sal_uInt16 nWhich) const |
| void | SetDefaultMetric (MapUnit eNewMetric) |
| MapUnit | GetDefaultMetric () const |
| virtual bool | GetPresentation (const SfxPoolItem &rItem, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const |
| virtual rtl::Reference< SfxItemPool > | Clone () const |
| const OUString & | GetName () const |
| const T & | Put (std::unique_ptr< T > xItem, sal_uInt16 nWhich=0) |
| const T & | Put (const T &rItem, sal_uInt16 nWhich=0) |
| void | Remove (const SfxPoolItem &) |
| const SfxPoolItem & | GetDefaultItem (sal_uInt16 nWhich) const |
| const T & | GetDefaultItem (TypedWhichId< T > nWhich) const |
| bool | CheckItemInPool (const SfxPoolItem *) const |
| const SfxPoolItem * | GetItem2Default (sal_uInt16 nWhich) const |
| const T * | GetItem2Default (TypedWhichId< T > nWhich) const |
| sal_uInt32 | GetItemCount2 (sal_uInt16 nWhich) const |
| Item2Range | GetItemSurrogates (sal_uInt16 nWhich) const |
| std::vector< const SfxPoolItem * > | FindItemSurrogate (sal_uInt16 nWhich, SfxPoolItem const &rNeedle) const |
| sal_uInt16 | GetFirstWhich () const |
| sal_uInt16 | GetLastWhich () const |
| bool | IsInRange (sal_uInt16 nWhich) const |
| void | SetSecondaryPool (SfxItemPool *pPool) |
| SfxItemPool * | GetSecondaryPool () const |
| SfxItemPool * | GetLastPoolInChain () |
| SfxItemPool * | GetMasterPool () const |
| void | FreezeIdRanges () |
| void | Delete () |
| bool | IsItemPoolable (sal_uInt16 nWhich) const |
| bool | IsItemPoolable (const SfxPoolItem &rItem) const |
| void | SetItemInfos (const SfxItemInfo *pInfos) |
| sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
| TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
| sal_uInt16 | GetSlotId (sal_uInt16 nWhich) const |
| sal_uInt16 | GetTrueWhich (sal_uInt16 nSlot, bool bDeep=true) const |
| sal_uInt16 | GetTrueSlotId (sal_uInt16 nWhich) const |
| void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Member Functions | |
| virtual | ~ScDocumentPool () override |
| virtual const SfxPoolItem & | PutImpl (const SfxPoolItem &, sal_uInt16 nWhich=0, bool bPassingOwnership=false) override |
Private Attributes | |
| std::vector< SfxPoolItem * > | mvPoolDefaults |
| sal_uInt64 | mnCurrentMaxKey |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxItemPool | |
| static void | ReleaseDefaults (std::vector< SfxPoolItem * > *pDefaults, bool bDelete=false) |
| static bool | IsWhich (sal_uInt16 nId) |
| static bool | IsSlot (sal_uInt16 nId) |
| virtual const SfxPoolItem & | PutImpl (const SfxPoolItem &, sal_uInt16 nWhich=0, bool bPassingOwnership=false) |
Static Protected Member Functions inherited from SfxItemPool | |
| static void | ClearRefCount (SfxPoolItem &rItem) |
| static void | AddRef (const SfxPoolItem &rItem) |
| static sal_uInt32 | ReleaseRef (const SfxPoolItem &rItem, sal_uInt32 n=1) |
Definition at line 29 of file docpool.hxx.
| ScDocumentPool::ScDocumentPool | ( | ) |
Definition at line 185 of file docpool.cxx.
References ATTR_BACKGROUND(), ATTR_BORDER(), ATTR_BORDER_BLTR(), ATTR_BORDER_INNER(), ATTR_BORDER_TLBR(), ATTR_CJK_FONT(), ATTR_CJK_FONT_HEIGHT(), ATTR_CJK_FONT_LANGUAGE(), ATTR_CJK_FONT_POSTURE(), ATTR_CJK_FONT_WEIGHT(), ATTR_CONDITIONAL(), ATTR_CTL_FONT(), ATTR_CTL_FONT_HEIGHT(), ATTR_CTL_FONT_LANGUAGE(), ATTR_CTL_FONT_POSTURE(), ATTR_CTL_FONT_WEIGHT(), ATTR_FONT(), ATTR_FONT_COLOR(), ATTR_FONT_CONTOUR(), ATTR_FONT_CROSSEDOUT(), ATTR_FONT_EMPHASISMARK(), ATTR_FONT_HEIGHT(), ATTR_FONT_LANGUAGE(), ATTR_FONT_OVERLINE(), ATTR_FONT_POSTURE(), ATTR_FONT_RELIEF(), ATTR_FONT_SHADOWED(), ATTR_FONT_UNDERLINE(), ATTR_FONT_WEIGHT(), ATTR_FONT_WORDLINE(), ATTR_FORBIDDEN_RULES(), ATTR_HANGPUNCTUATION(), ATTR_HIDDEN(), ATTR_HOR_JUSTIFY(), ATTR_HOR_JUSTIFY_METHOD(), ATTR_HYPERLINK(), ATTR_HYPHENATE(), ATTR_INDENT(), ATTR_LANGUAGE_FORMAT(), ATTR_LINEBREAK(), ATTR_LRSPACE(), ATTR_MARGIN(), ATTR_MERGE(), ATTR_MERGE_FLAG(), ATTR_PAGE(), ATTR_PAGE_CHARTS(), ATTR_PAGE_DRAWINGS(), ATTR_PAGE_DYNAMIC(), ATTR_PAGE_FIRSTPAGENO(), ATTR_PAGE_FOOTERFIRST(), ATTR_PAGE_FOOTERLEFT(), ATTR_PAGE_FOOTERRIGHT(), ATTR_PAGE_FOOTERSET(), ATTR_PAGE_FORMULAS(), ATTR_PAGE_GRID(), ATTR_PAGE_HEADERFIRST(), ATTR_PAGE_HEADERLEFT(), ATTR_PAGE_HEADERRIGHT(), ATTR_PAGE_HEADERS(), ATTR_PAGE_HEADERSET(), ATTR_PAGE_HORCENTER(), ATTR_PAGE_NOTES(), ATTR_PAGE_NULLVALS(), ATTR_PAGE_OBJECTS(), ATTR_PAGE_ON(), ATTR_PAGE_PAPERBIN(), ATTR_PAGE_SCALE(), ATTR_PAGE_SCALETO(), ATTR_PAGE_SCALETOPAGES(), ATTR_PAGE_SHARED(), ATTR_PAGE_SHARED_FIRST(), ATTR_PAGE_SIZE(), ATTR_PAGE_TOPDOWN(), ATTR_PAGE_VERCENTER(), ATTR_PATTERN(), ATTR_PROTECTION(), ATTR_ROTATE_MODE(), ATTR_ROTATE_VALUE(), ATTR_SCRIPTSPACE(), ATTR_SHADOW(), ATTR_SHRINKTOFIT(), ATTR_STACKED(), ATTR_STARTINDEX(), ATTR_ULSPACE(), ATTR_USERDEF(), ATTR_VALIDDATA(), ATTR_VALUE_FORMAT(), ATTR_VER_JUSTIFY(), ATTR_VER_JUSTIFY_METHOD(), ATTR_VERTICAL_ASIAN(), ATTR_WRITINGDIR(), COL_AUTO(), COL_TRANSPARENT(), ScGlobal::eLnge, ScGlobal::GetEmptyBrushItem(), ScModule::GetSpellSettings(), ITALIC_NONE, svl::Items, LANGUAGE_DONTKNOW, LINESTYLE_NONE, mvPoolDefaults, ScResId(), SfxItemPool::SetDefaults(), SvxBoxInfoItem::SetDist(), SvxBoxInfoItem::SetLine(), SvxBoxInfoItem::SetMinDist(), SvxBoxInfoItem::SetTable(), STRIKEOUT_NONE, STRING_STANDARD, SVX_ROTATE_MODE_BOTTOM, and WEIGHT_NORMAL.
|
overrideprivatevirtual |
Definition at line 327 of file docpool.cxx.
References ATTR_ENDINDEX(), ATTR_STARTINDEX(), SfxItemPool::ClearRefCount(), SfxItemPool::Delete(), i, mvPoolDefaults, and SfxItemPool::SetSecondaryPool().
| void ScDocumentPool::CellStyleCreated | ( | std::u16string_view | rName, |
| const ScDocument & | rDoc | ||
| ) |
Definition at line 369 of file docpool.cxx.
References ATTR_PATTERN(), SfxItemPool::GetItemSurrogates(), and ScPatternAttr::GetStyleName().
Referenced by ScUndoModifyStyle::DoChange(), ScTabViewShell::ExecStyle(), ScStyleFamilyObj::insertByName(), and ScStyleObj::setName().
|
overridevirtual |
Reimplemented from SfxItemPool.
Definition at line 388 of file docpool.cxx.
References SfxItemPool::SfxItemPool().
|
overridevirtual |
Reimplemented from SfxItemPool.
Definition at line 611 of file docpool.cxx.
References ATTR_ENDINDEX(), and ATTR_STARTINDEX().
Referenced by GetPresentation().
|
overridevirtual |
Reimplemented from SfxItemPool.
Definition at line 484 of file docpool.cxx.
References aBuffer, ATTR_PAGE_FIRSTPAGENO(), ATTR_PAGE_FOOTERSET(), ATTR_PAGE_FORMULAS(), ATTR_PAGE_GRID(), ATTR_PAGE_HEADERS(), ATTR_PAGE_HEADERSET(), ATTR_PAGE_NOTES(), ATTR_PAGE_NULLVALS(), ATTR_PAGE_SCALE(), ATTR_PAGE_SCALETOPAGES(), ATTR_PAGE_TOPDOWN(), unicode::formatPercent(), GetMetric(), SfxPoolItem::GetPresentation(), Application::GetSettings(), GetValue, lcl_HFPresentation(), ScResId(), and SfxPoolItem::Which().
|
overrideprivatevirtual |
Reimplemented from SfxItemPool.
Definition at line 339 of file docpool.cxx.
References ATTR_PATTERN(), ATTR_STARTINDEX(), SfxPoolItem::GetRefCount(), mnCurrentMaxKey, mvPoolDefaults, nRef, SfxItemPool::PutImpl(), ScPatternAttr::SetKey(), and SfxPoolItem::Which().
| void ScDocumentPool::StyleDeleted | ( | const ScStyleSheet * | pStyle | ) |
Definition at line 359 of file docpool.cxx.
References ATTR_PATTERN(), SfxItemPool::GetItemSurrogates(), ScPatternAttr::GetStyleSheet(), and ScPatternAttr::StyleToName().
|
private |
Definition at line 32 of file docpool.hxx.
Referenced by PutImpl().
|
private |
Definition at line 31 of file docpool.hxx.
Referenced by PutImpl(), ScDocumentPool(), and ~ScDocumentPool().