diff options
author | Mark Hung <marklh9@gmail.com> | 2018-01-20 17:23:06 +0800 |
---|---|---|
committer | Mark Hung <marklh9@gmail.com> | 2018-01-28 15:12:04 +0100 |
commit | b74750a9d8bbbd290832d2750a3e0174fe983530 (patch) | |
tree | ea74440139a016afc06a2490828a45ce7af34044 /offapi/com/sun/star/style | |
parent | 972cb3ea9949325d74b9d7d919765e22df0101d7 (diff) |
tdf#35301 offapi: add RubyPosition for filters.
RubyPosition describes the position of the ruby text
relative to the base text. ABOVE and BELOW were defined
in ODF, while INTER_CHARACTER is originated from CSS
to indicate the alignment used in traditional Chinese.
For INTER_CHARACTER, the ruby text is aligned vertically
on the right side of the base text, disregard of the
writing mode is horizontal or vertical.
Change-Id: I89224704c192adf9ebb94024d0f2b03f00880cf5
Reviewed-on: https://gerrit.libreoffice.org/48326
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'offapi/com/sun/star/style')
-rw-r--r-- | offapi/com/sun/star/style/CharacterProperties.idl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/offapi/com/sun/star/style/CharacterProperties.idl b/offapi/com/sun/star/style/CharacterProperties.idl index 5d56f0febb7b..010dab9acb53 100644 --- a/offapi/com/sun/star/style/CharacterProperties.idl +++ b/offapi/com/sun/star/style/CharacterProperties.idl @@ -268,6 +268,8 @@ published service CharacterProperties /** This optional property determines whether the ruby text is printed above/left or below/right of the text. + <p>This property is replaced by RubyPosition.</p> + @deprecated */ [optional, property] boolean RubyIsAbove; @@ -452,6 +454,12 @@ published service CharacterProperties */ [optional, property] sequence<com::sun::star::beans::PropertyValue> CharInteropGrabBag; + /** This optional property determines the position of the ruby . + @see com::sun::star::text::RubyPosition + @since LibreOffice 6.1 + */ + [optional, property] short RubyPosition; + }; }; }; }; }; |