21#include <ooxml/resourceids.hxx>
22#include <osl/diagnose.h>
23#include <com/sun/star/text/SizeType.hpp>
35m_nRowHeightSizeType(
text::SizeType::
MIN )
47 sal_Int32 nIntValue = rVal.
getInt();
50 case NS_ooxml::LN_CT_TblWidth_type:
58 beans::PropertyValue aValue;
62 case NS_ooxml::LN_Value_ST_TblWidth_nil: aValue.Value <<= OUString(
"nil");
break;
63 case NS_ooxml::LN_Value_ST_TblWidth_pct: aValue.Value <<= OUString(
"pct");
break;
64 case NS_ooxml::LN_Value_ST_TblWidth_dxa: aValue.Value <<= OUString(
"dxa");
break;
65 case NS_ooxml::LN_Value_ST_TblWidth_auto: aValue.Value <<= OUString(
"auto");
break;
71 case NS_ooxml::LN_CT_Height_hRule:
74 if ( sHeightType ==
"exact" )
78 case NS_ooxml::LN_CT_TblWidth_w:
82 beans::PropertyValue aValue;
84 aValue.Value <<= nIntValue;
88 case NS_ooxml::LN_CT_Height_val:
90 m_nUnit = NS_ooxml::LN_Value_ST_TblWidth_dxa;
96 OSL_FAIL(
"unknown attribute");
110 if(
m_nUnit == 3 || sal::static_int_cast<Id>(
m_nUnit) == NS_ooxml::LN_Value_ST_TblWidth_dxa)
128 beans::PropertyValue aRet;
An SPRM: Section, Paragraph and Run Modifier.
virtual int getInt() const =0
Returns integer representation of the value.
virtual OUString getString() const =0
Returns string representation of the value.
std::vector< css::beans::PropertyValue > m_aInteropGrabBag
css::beans::PropertyValue getInteropGrabBag()
virtual ~MeasureHandler() override
virtual void lcl_sprm(Sprm &sprm) override
sal_Int32 getMeasureValue() const
void enableInteropGrabBag(const OUString &aName)
sal_Int32 m_nMeasureValue
virtual void lcl_attribute(Id Name, Value &val) override
OUString m_aInteropGrabBagName
sal_Int16 m_nRowHeightSizeType
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)
sal_Int32 convertTwipToMM100(sal_Int32 _t)