summaryrefslogtreecommitdiff
path: root/svx/source/table/tablelayouter.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-06-08 12:17:19 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-06-08 11:44:05 +0000
commita106165e7fd39215c4717e1486aef05f6af9180f (patch)
treeb4c953b89820c43165b301dea1ae5ba73a67e4e1 /svx/source/table/tablelayouter.hxx
parent7f25ccc81a35d2a89880cacf7835aa4b875f2ab2 (diff)
Related: tdf#100269 sd xml dump: expose layout of table shapes
So that it's possible to assert the layout from cppunit tests. Change-Id: I09631f978ed44bb1c27806089b6d69c70db643c3 Reviewed-on: https://gerrit.libreoffice.org/26054 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'svx/source/table/tablelayouter.hxx')
-rw-r--r--svx/source/table/tablelayouter.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx
index b38345588a54..0ab692c2591c 100644
--- a/svx/source/table/tablelayouter.hxx
+++ b/svx/source/table/tablelayouter.hxx
@@ -96,6 +96,7 @@ public:
void DistributeColumns( ::Rectangle& rArea, sal_Int32 nFirstCol, sal_Int32 nLastCol );
void DistributeRows( ::Rectangle& rArea, sal_Int32 nFirstRow, sal_Int32 nLastRow );
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const;
private:
CellRef getCell( const CellPos& rPos ) const;
@@ -125,6 +126,7 @@ private:
Layout() : mnPos( 0 ), mnSize( 0 ), mnMinSize( 0 ) {}
void clear() { mnPos = 0; mnSize = 0; mnMinSize = 0; }
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const;
};
typedef std::vector< Layout > LayoutVector;