22#include <osl/diagnose.h>
34 OSL_ENSURE( nId < POOLATTR_END && nId >=
POOLATTR_BEGIN,
"SwAttrFnTab::Out()" );
62 bool bFillItemUsed =
false;
66 OSL_ENSURE(
rSet.
Count(),
"It has been handled already, right?" );
76 (*pOut)( rWrt, *pItem );
83 }
while ((pItem = aIter.
NextItem()));
91 if( SfxItemState::SET == aIter.
GetItemState( bDeep, &pItem ) &&
100 (*pOut)( rWrt, *pItem );
104 bFillItemUsed =
true;
120 if(
nullptr !=
pOut )
122 (*pOut)( rWrt, *aSvxBrushItem );
149 OSL_FAIL(
"What kind of node is it now?");
153 if(
nullptr !=
pOut )
154 (*pOut)( rWrt, *pCNd );
const SfxPoolItem * GetCurItem() const
const SfxPoolItem * NextItem()
const SfxPoolItem & GetDefaultItem(sal_uInt16 nWhich) const
SfxItemPool * GetPool() const
const SfxItemSet * GetParent() const
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
SfxItemState GetItemState(bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
Base class of the Writer document model elements.
SwContentNode * GetContentNode()
SwNodeType GetNodeType() const
constexpr sal_uInt16 POOLATTR_BEGIN(HINT_BEGIN)
constexpr TypedWhichId< SvxBrushItem > RES_BACKGROUND(111)
constexpr sal_uInt16 RES_CHRATR_BEGIN(HINT_BEGIN)
constexpr sal_uInt16 POOLATTR_END(RES_UNKNOWNATR_END)
SVXCORE_DLLPUBLIC std::unique_ptr< SvxBrushItem > getSvxBrushItemFromSourceSet(const SfxItemSet &rSourceSet, sal_uInt16 nBackgroundID, bool bSearchInParents=true, bool bXMLImportHack=false)
SwHTMLWriter & Out_SfxItemSet(const SwAttrFnTab pTab, SwHTMLWriter &rWrt, const SfxItemSet &rSet, bool bDeep)
SwHTMLWriter & Out(const SwAttrFnTab pTab, const SfxPoolItem &rHt, SwHTMLWriter &rWrt)
Writer &(* FnNodeOut)(Writer &, SwContentNode &)
FnAttrOut SwAttrFnTab[POOLATTR_END - POOLATTR_BEGIN]
FnNodeOut SwNodeFnTab[RES_NODE_END - RES_NODE_BEGIN]
SwHTMLWriter &(* FnAttrOut)(SwHTMLWriter &, const SfxPoolItem &)
constexpr TypedWhichId< XFillStyleItem > XATTR_FILLSTYLE(XATTR_FILL_FIRST)