summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-02-08 02:06:32 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-02-08 02:59:50 +0100
commitcf9d8194932318d5e8b27ec8188cf32938670abc (patch)
tree1eb393698728b9821fe61e2aa258bc24e9bff1fe /include
parentebd0d0056d89a6a69d2cb75e28758132cb5c236b (diff)
New frame attribute: TextVerticalAdjust <-> RES_TEXT_VERT_ADJUST
By now this property is added for MS Word interoperability. With it we can make DOCX import/export working. I use this solution instead of InteropGrabBag because vertical adjustment would be a good thing to have for text frames too. So later it can be the first step of an enhanchement. Change-Id: I9dcfdc8ae56ce443f0c286c51136e1d006951938
Diffstat (limited to 'include')
-rw-r--r--include/svx/sdtaitm.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/sdtaitm.hxx b/include/svx/sdtaitm.hxx
index 0cd3589049b8..cab0d069ade3 100644
--- a/include/svx/sdtaitm.hxx
+++ b/include/svx/sdtaitm.hxx
@@ -37,6 +37,7 @@ class SVX_DLLPUBLIC SdrTextVertAdjustItem: public SfxEnumItem {
public:
TYPEINFO();
SdrTextVertAdjustItem(SdrTextVertAdjust eAdj=SDRTEXTVERTADJUST_TOP): SfxEnumItem(SDRATTR_TEXT_VERTADJUST,(sal_uInt16)eAdj) {}
+ SdrTextVertAdjustItem(SdrTextVertAdjust eAdj, sal_uInt16 nWhich): SfxEnumItem(nWhich,(sal_uInt16)eAdj) {}
SdrTextVertAdjustItem(SvStream& rIn) : SfxEnumItem(SDRATTR_TEXT_VERTADJUST,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;