diff options
Diffstat (limited to 'sw/source/filter/ww8/docxattributeoutput.hxx')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.hxx | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index 887976a53931..4d380bf6e656 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -27,6 +27,7 @@ #include <IMark.hxx> #include "docxexport.hxx" +#include <editeng/boxitem.hxx> #include <sax/fshelper.hxx> #include <sax/fastattribs.hxx> #include <vcl/vclenum.hxx> @@ -68,8 +69,6 @@ enum DocxColBreakStatus COLBRK_WRITE }; -struct BorderDistances; - /** * A structure that holds information about the options selected * when outputting a border to DOCX. @@ -88,21 +87,7 @@ struct OutputBorderOptions bool bWriteInsideHV = false; bool bWriteDistance = false; SvxShadowLocation aShadowLocation = SvxShadowLocation::NONE; - std::shared_ptr<BorderDistances> pDistances; -}; - -/** - * A structure that holds information about the page margins. - * - */ -struct PageMargins -{ - sal_uInt16 nPageMarginLeft; - sal_uInt16 nPageMarginRight; - sal_uInt16 nPageMarginTop; - sal_uInt16 nPageMarginBottom; - - PageMargins() : nPageMarginLeft(0), nPageMarginRight(0), nPageMarginTop(0), nPageMarginBottom(0) {} + std::shared_ptr<editeng::WordBorderDistances> pDistances; }; struct DocxTableExportContext; @@ -929,7 +914,7 @@ private: /// Is fake rotation detected, so rotation with 90 degrees should be ignored in this cell? bool m_bBtLr; - PageMargins m_pageMargins; + editeng::WordPageMargins m_pageMargins; std::shared_ptr<DocxTableStyleExport> m_pTableStyleExport; // flag to check if auto spacing was set in original file |