82 virtual bool sprm(
Sprm & rSprm)
override;
149 if ( !sMoved.isEmpty() )
An SPRM: Section, Paragraph and Run Modifier.
virtual void insertRowProps(const TablePropertyMapPtr &pProps) override
Handle properties of the current row.
OUString getMoved() const
const TableParagraphVectorPtr & getCurrentParagraphs()
bool m_bTableSizeTypeInserted
Remember if table width was already set, when we lack a w:tblW, it should be set manually at the end.
void setMoved(OUString sMoved)
virtual ~DomainMapperTableManager() override
std::shared_ptr< std::vector< sal_Int32 > > IntVectorPtr
void finishTableLook()
Turn the attributes collected so far in m_aTableLook into a property and clear the container.
::std::vector< IntVectorPtr > m_aTableGrid
TablePositionHandler * getCurrentTableRealPosition()
std::stack< TableParagraphVectorPtr > m_aParagraphsToEndTable
Collected table paragraphs for table style handling.
virtual void endOfCellAction() override
Action to be carried out at the end of the last paragraph of a cell.
std::vector< TablePositionHandlerPtr > m_aTablePositions
::std::vector< sal_uInt32 > m_nCell
bool shouldInsertRow(IntVectorPtr pCellWidths, IntVectorPtr pTableGrid, size_t nGrids, bool &rIsIncompleteGrid)
sal_Int32 m_nHeaderRepeat
css::uno::Sequence< css::beans::PropertyValue > getCurrentTablePosition()
void SetStyleProperties(PropertyMapPtr pProperties)
std::vector< OUString > m_aMoved
Moved table (in moveRangeFromStart...moveRangeFromEnd or moveRangeToStart...moveRangeToEnd)
std::vector< OUString > m_aTableStyleNames
::std::vector< IntVectorPtr > m_aCellWidths
Individual table cell width values, used only in case the number of cells doesn't match the table gri...
IntVectorPtr const & getCurrentCellWidths()
PropertyMapPtr m_pStyleProps
virtual void startLevel() override
Start a new table level.
std::vector< TablePositionHandlerPtr > m_aTmpPosition
Temporarily stores the position to compare it later.
bool attribute(Id nName, Value const &val)
virtual void endOfRowAction() override
Action to be carried out at the end of the "table row" paragraph.
std::unique_ptr< TablePropertiesHandler > m_pTablePropsHandler
std::vector< TablePropertyMapPtr > m_aTmpTableProperties
Temporarily stores the table properties until end of row.
IntVectorPtr const & getCurrentGrid()
virtual bool sprm(Sprm &rSprm) override
Handle an SPRM at current handle.
sal_uInt32 m_nLayoutType
Table layout algorithm, IOW if we should consider fixed column width or not.
virtual void cellProps(const TablePropertyMapPtr &pProps) override
Handle properties of the current cell.
bool m_bIsInShape
Are we in a shape (text append stack is not empty) or in the body document?
bool m_bPushCurrentWidth
If this is true, then we pushed a width before the next level started, and that should be carried ove...
DomainMapperTableManager()
comphelper::SequenceAsHashMap m_aTableLook
Grab-bag of table look attributes for preserving.
virtual void endLevel() override
End a table level.
virtual void clearData() override
let the derived class clear their table related data
void SetLayoutType(sal_uInt32 nLayoutType)
void setIsInShape(bool bIsInShape)
virtual void insertTableProps(const TablePropertyMapPtr &pProps) override
Handle properties of the current table.
virtual void insertRowProps(const TablePropertyMapPtr &pProps)
Handle properties of the current row.
virtual void cellProps(const TablePropertyMapPtr &pProps)
Handle properties of the current cell.
Handler for floating table positioning.
std::shared_ptr< std::vector< TableParagraph > > TableParagraphVectorPtr