diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-08 02:06:32 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-08 02:59:50 +0100 |
commit | cf9d8194932318d5e8b27ec8188cf32938670abc (patch) | |
tree | 1eb393698728b9821fe61e2aa258bc24e9bff1fe /offapi | |
parent | ebd0d0056d89a6a69d2cb75e28758132cb5c236b (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 'offapi')
-rw-r--r-- | offapi/com/sun/star/text/BaseFrameProperties.idl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/BaseFrameProperties.idl b/offapi/com/sun/star/text/BaseFrameProperties.idl index 9038d48487ca..2a1f25cc6556 100644 --- a/offapi/com/sun/star/text/BaseFrameProperties.idl +++ b/offapi/com/sun/star/text/BaseFrameProperties.idl @@ -29,6 +29,7 @@ #include <com/sun/star/xml/UserDefinedAttributesSupplier.idl> #include <com/sun/star/drawing/FillStyle.idl> #include <com/sun/star/awt/Gradient.idl> +#include <com/sun/star/drawing/TextVerticalAdjust.hpp> module com { module sun { module star { module text { @@ -351,6 +352,13 @@ published service BaseFrameProperties @since LibreOffice 4.3 */ [optional, property] short RelativeWidthRelation; + + /** adjusts the vertical position of the text inside of the frame. + + @see com::sun::star::drawing::TextVerticalAdjust + @since LibreOffice 4.3 + */ + [optional, property] com::sun::star::drawing::TextVerticalAdjust TextVerticalAdjust; }; |