26#include <oox/token/namespaces.hxx>
27#include <oox/token/tokens.hxx>
36, mrTableCell( rTableCell )
54 switch( aElementToken )
56 case A_TOKEN( txBody ):
83 case A_TOKEN( lnTlToBr ):
85 case A_TOKEN( lnBlToTr ):
87 case A_TOKEN( cell3D ):
90 case A_TOKEN( extLst ):
Provides access to attribute values of an element.
bool hasAttribute(sal_Int32 nAttrToken) const
Returns true, if the specified attribute is present.
std::optional< sal_Int32 > getInteger(sal_Int32 nAttrToken) const
Returns the 32-bit signed integer value of the specified attribute (decimal).
std::optional< bool > getBool(sal_Int32 nAttrToken) const
Returns the boolean value of the specified attribute.
std::optional< sal_Int32 > getToken(sal_Int32 nAttrToken) const
Returns the token identifier of the value of the specified attribute.
::oox::core::ContextHandlerRef createFillContext(::oox::core::ContextHandler2Helper const &rParent, sal_Int32 nElement, const ::oox::AttributeList &rAttribs, FillProperties &rFillProps, model::FillStyle *pFillStyle)
virtual ~TableCellContext() override
virtual ::oox::core::ContextHandlerRef onCreateContext(::sal_Int32 Element, const ::oox::AttributeList &rAttribs) override
TableCellContext(::oox::core::ContextHandler2Helper const &rParent, const ::oox::AttributeList &rAttribs, TableCell &rTableCell)
oox::drawingml::FillProperties maFillProperties
oox::drawingml::LineProperties maLinePropertiesTopLeftToBottomRight
void setLeftMargin(sal_Int32 nMargin)
void setRightMargin(sal_Int32 nMargin)
void setAnchorToken(sal_Int32 nToken)
oox::drawingml::LineProperties maLinePropertiesBottomLeftToTopRight
void setTopMargin(sal_Int32 nMargin)
void setTextBody(const oox::drawingml::TextBodyPtr &pTextBody)
void setBottomMargin(sal_Int32 nMargin)
void setGridSpan(sal_Int32 nGridSpan)
void sethMerge(bool bhMerge)
void setHorzOverflowToken(sal_Int32 nToken)
oox::drawingml::LineProperties maLinePropertiesLeft
oox::drawingml::LineProperties maLinePropertiesTop
oox::drawingml::LineProperties maLinePropertiesRight
void setvMerge(bool bvMerge)
void setAnchorCtr(bool bAnchorCtr)
oox::drawingml::LineProperties maLinePropertiesBottom
void setVertToken(sal_Int32 nToken)
void setRowSpan(sal_Int32 nRowSpan)
std::shared_ptr< TextBody > TextBodyPtr