21#include <ooxml/resourceids.hxx>
22#include <osl/diagnose.h>
30 , m_bEqualWidth(false)
42 sal_Int32 nIntValue = rVal.
getInt();
45 case NS_ooxml::LN_CT_Columns_equalWidth:
48 case NS_ooxml::LN_CT_Columns_space:
51 case NS_ooxml::LN_CT_Columns_num:
54 case NS_ooxml::LN_CT_Columns_sep:
58 case NS_ooxml::LN_CT_Column_w:
61 case NS_ooxml::LN_CT_Column_space:
65 OSL_FAIL(
"SectionColumnHandler: unknown attribute");
71 switch (rSprm.
getId())
73 case NS_ooxml::LN_CT_Columns_col:
79 pProperties->resolve(*
this);
85 OSL_FAIL(
"SectionColumnHandler: unknown sprm");
An SPRM: Section, Paragraph and Run Modifier.
virtual sal_uInt32 getId() const =0
Returns id of the SPRM.
virtual writerfilter::Reference< Properties >::Pointer_t getProps()=0
Returns reference to properties contained in the SPRM.
virtual int getInt() const =0
Returns integer representation of the value.
virtual void lcl_sprm(Sprm &sprm) override
virtual void lcl_attribute(Id Name, Value &val) override
std::vector< Column_ > m_aCols
virtual ~SectionColumnHandler() override
sal_Int32 convertTwipToMM100(sal_Int32 _t)