diff options
author | Mark Hung <marklh9@gmail.com> | 2018-02-03 17:27:36 +0800 |
---|---|---|
committer | Mark Hung <marklh9@gmail.com> | 2018-02-10 10:16:31 +0100 |
commit | 275a60e17ddfacae505df56374b334261a646a3b (patch) | |
tree | f4a1ad6a59dfdccc24a1ac50fe1f6dd9f67ca8e6 /writerfilter/source/dmapper/PropertyIds.cxx | |
parent | 94ab8e4360a2a7a932656e99f718244321d0f923 (diff) |
writerfilter / ww8filter: enhancement to support new ruby position.
1. Allow ooxml / rtf import the ruby aligned on the right side
( rightVertical or jc=5 ) as css::text::RubyPosition::INTER_CHARACTER.
2. Allow rtf / ww8 export of css::text::RubyPosition::INTER_CHARACTER
as jc=5.
Though rtf filter can save and load the new ruby position,
character format seems lost. The reset of the MSO formats have
other issues that they can't make roundtrip yet.
Change-Id: Idb77423842f43abc375a1282a52b0bc6f20049e4
Reviewed-on: https://gerrit.libreoffice.org/49177
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'writerfilter/source/dmapper/PropertyIds.cxx')
-rw-r--r-- | writerfilter/source/dmapper/PropertyIds.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/PropertyIds.cxx b/writerfilter/source/dmapper/PropertyIds.cxx index e109ca15d0c6..6035b617a465 100644 --- a/writerfilter/source/dmapper/PropertyIds.cxx +++ b/writerfilter/source/dmapper/PropertyIds.cxx @@ -353,6 +353,7 @@ OUString getPropertyName( PropertyIds eId ) case PROP_RUBY_STYLE: sName = "RubyCharStyleName"; break; case PROP_RUBY_TEXT: sName = "RubyText"; break; case PROP_RUBY_ADJUST: sName = "RubyAdjust"; break; + case PROP_RUBY_POSITION: sName = "RubyPosition"; break; } assert(sName.getLength()>0); return sName; |