19#ifndef INCLUDED_XMLOFF_TABLE_XMLTABLEEXPORT_HXX
20#define INCLUDED_XMLOFF_TABLE_XMLTABLEEXPORT_HXX
25#include <rtl/ustring.hxx>
31#include <com/sun/star/table/XColumnRowRange.hpp>
32#include <com/sun/star/table/XCell.hpp>
33#include <com/sun/star/container/XIndexAccess.hpp>
46typedef std::map< const css::uno::Reference< css::uno::XInterface >, OUString >
TableStyleMap;
63 void collectTableAutoStyles(
const css::uno::Reference < css::table::XColumnRowRange >& xColumnRowRange);
66 void exportTable(
const css::uno::Reference < css::table::XColumnRowRange >& xColumnRowRange);
69 void exportTableStyles();
72 void exportAutoStyles();
75 void exportTableTemplates();
81 std::map< const css::uno::Reference< css::table::XColumnRowRange >, std::shared_ptr< XMLTableInfo > >
89 SAL_DLLPRIVATE
void ImpExportText(
const css::uno::Reference < css::table::XCell >& xCell );
91 void ExportCell(
const css::uno::Reference < css::table::XCell >& xCell,
const std::shared_ptr< XMLTableInfo >& pTableInfo, std::u16string_view sDefaultCellStyle );
92 void ExportTableColumns(
const css::uno::Reference < css::container::XIndexAccess >& xtableColumns,
const std::shared_ptr< XMLTableInfo >& pTableInfo );
99 virtual void exportStyleAttributes(
const css::uno::Reference<css::style::XStyle>& rStyle)
override;
100 virtual void exportStyleContent(
const css::uno::Reference<css::style::XStyle>& rStyle)
override;
std::map< const css::uno::Reference< css::uno::XInterface >, OUString > TableStyleMap
XMLStyleExport(SvXMLExport &rExp, SvXMLAutoStylePoolP *pAutoStyleP=nullptr)
rtl::Reference< SvXMLExportPropertyMapper > mxColumnExportPropertySetMapper
rtl::Reference< SvXMLExportPropertyMapper > mxRowExportPropertySetMapper
const SvXMLExport & GetExport() const
SvXMLExport & GetExport()
rtl::Reference< SvXMLExportPropertyMapper > mxCellExportPropertySetMapper
std::map< const css::uno::Reference< css::table::XColumnRowRange >, std::shared_ptr< XMLTableInfo > > maTableInfoMap
TableStyleMap maColumnStyleMap
TableStyleMap maRowStyleMap
TableStyleMap maCellStyleMap
std::vector< OUString > maDefaultRowCellStyles