12#include <ooxml/resourceids.hxx>
13#include <com/sun/star/beans/PropertyValue.hpp>
14#include <com/sun/star/text/HoriOrientation.hpp>
15#include <com/sun/star/text/VertOrientation.hpp>
16#include <com/sun/star/text/RelOrientation.hpp>
34 case NS_ooxml::LN_CT_TblPPr_vertAnchor:
37 case NS_ooxml::LN_CT_TblPPr_tblpYSpec:
40 case NS_ooxml::LN_CT_TblPPr_horzAnchor:
43 case NS_ooxml::LN_CT_TblPPr_tblpXSpec:
46 case NS_ooxml::LN_CT_TblPPr_tblpY:
49 case NS_ooxml::LN_CT_TblPPr_tblpX:
52 case NS_ooxml::LN_CT_TblPPr_leftFromText:
55 case NS_ooxml::LN_CT_TblPPr_rightFromText:
58 case NS_ooxml::LN_CT_TblPPr_topFromText:
61 case NS_ooxml::LN_CT_TblPPr_bottomFromText:
78 aFrameProperties[
"LeftBorderDistance"] <<= sal_Int32(0);
79 aFrameProperties[
"RightBorderDistance"] <<= sal_Int32(0);
80 aFrameProperties[
"TopBorderDistance"] <<= sal_Int32(0);
81 aFrameProperties[
"BottomBorderDistance"] <<= sal_Int32(0);
88 table::BorderLine2 aEmptyBorder;
89 aFrameProperties[
"TopBorder"] <<= aEmptyBorder;
90 aFrameProperties[
"BottomBorder"] <<= aEmptyBorder;
91 aFrameProperties[
"LeftBorder"] <<= aEmptyBorder;
92 aFrameProperties[
"RightBorder"] <<= aEmptyBorder;
97 nHoriOrient = text::HoriOrientation::CENTER;
99 nHoriOrient = text::HoriOrientation::INSIDE;
101 nHoriOrient = text::HoriOrientation::LEFT;
103 nHoriOrient = text::HoriOrientation::OUTSIDE;
105 nHoriOrient = text::HoriOrientation::RIGHT;
107 sal_Int16 nHoriOrientRelation;
109 nHoriOrientRelation = text::RelOrientation::PAGE_PRINT_AREA;
111 nHoriOrientRelation = text::RelOrientation::PAGE_FRAME;
115 aFrameProperties[
"HoriOrient"] <<= nHoriOrient;
116 aFrameProperties[
"HoriOrientRelation"] <<= nHoriOrientRelation;
122 nVertOrient = text::VertOrientation::BOTTOM;
124 nVertOrient = text::VertOrientation::CENTER;
126 nVertOrient = text::VertOrientation::TOP;
129 sal_Int16 nVertOrientRelation;
131 nVertOrientRelation = text::RelOrientation::PAGE_PRINT_AREA;
133 nVertOrientRelation = text::RelOrientation::PAGE_FRAME;
137 aFrameProperties[
"VertOrient"] <<= nVertOrient;
138 aFrameProperties[
"VertOrientRelation"] <<= nVertOrientRelation;
140 aFrameProperties[
"FillTransparence"] <<= sal_Int32(100);
css::uno::Sequence< css::beans::PropertyValue > getAsConstPropertyValueList() const
An SPRM: Section, Paragraph and Run Modifier.
static TagLogger & getInstance()
void element(const std::string &name)
virtual int getInt() const =0
Returns integer representation of the value.
virtual OUString getString() const =0
Returns string representation of the value.
Handler for floating table positioning.
~TablePositionHandler() override
sal_Int32 m_nRightFromText
bool operator==(const TablePositionHandler &rHandler) const
sal_Int32 m_nLeftFromText
sal_Int32 m_nBottomFromText
css::uno::Sequence< css::beans::PropertyValue > getTablePosition() const
Compute the UNO properties for the frame containing the table based on the received tokens.
void lcl_attribute(Id nId, Value &rVal) override
void lcl_sprm(Sprm &sprm) override
sal_Int32 convertTwipToMM100(sal_Int32 _t)