|
|
69cc7b |
From db7a015c86248bd2a3d090240f9360f84b3bec8c Mon Sep 17 00:00:00 2001
|
|
|
69cc7b |
From: Justin Luth <justin_luth@sil.org>
|
|
|
69cc7b |
Date: Thu, 24 Aug 2017 15:48:29 -0400
|
|
|
69cc7b |
Subject: [PATCH] tdf#111891 unostyle: use default handler for non-page style
|
|
|
69cc7b |
|
|
|
69cc7b |
LO 5.1 commit 664197d95becd516c3dac25a50439078ba61e051
|
|
|
69cc7b |
introduced a handler for RES_TEXT_VERT_ADJUST to handle
|
|
|
69cc7b |
page styles, but that meant that the default handler
|
|
|
69cc7b |
was no longer called for frames (the only other item
|
|
|
69cc7b |
currently using RES_TEXT_VERT_ADJUST).
|
|
|
69cc7b |
|
|
|
69cc7b |
Change-Id: I33827160fe64dc4cc2107afc26f7ac2e698007e1
|
|
|
69cc7b |
Reviewed-on: https://gerrit.libreoffice.org/41538
|
|
|
69cc7b |
Tested-by: Justin Luth <justin_luth@sil.org>
|
|
|
69cc7b |
Reviewed-by: Justin Luth <justin_luth@sil.org>
|
|
|
69cc7b |
(cherry picked from commit 10dc371d31f003ac3ed9b89ca1db95d36603603f)
|
|
|
69cc7b |
Reviewed-on: https://gerrit.libreoffice.org/41910
|
|
|
69cc7b |
Tested-by: Jenkins <ci@libreoffice.org>
|
|
|
69cc7b |
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
|
69cc7b |
(cherry picked from commit 461aa995d75f031209711feda9d785d915c42dd2)
|
|
|
69cc7b |
Reviewed-on: https://gerrit.libreoffice.org/42082
|
|
|
69cc7b |
---
|
|
|
69cc7b |
sw/qa/extras/odfexport/data/tdf111891_frameVertStyle.odt | Bin 0 -> 8814 bytes
|
|
|
69cc7b |
sw/qa/extras/odfexport/odfexport.cxx | 6 ++++++
|
|
|
69cc7b |
sw/source/core/unocore/unostyle.cxx | 7 ++++++-
|
|
|
69cc7b |
3 files changed, 12 insertions(+), 1 deletion(-)
|
|
|
69cc7b |
create mode 100644 sw/qa/extras/odfexport/data/tdf111891_frameVertStyle.odt
|
|
|
69cc7b |
|
|
|
69cc7b |
diff --git a/sw/qa/extras/odfexport/data/tdf111891_frameVertStyle.odt b/sw/qa/extras/odfexport/data/tdf111891_frameVertStyle.odt
|
|
|
69cc7b |
new file mode 100644
|
|
|
69cc7b |
index 0000000000000000000000000000000000000000..8fcf98a6272bb749d26c88030b35f8c147a02308
|
|
|
69cc7b |
GIT binary patch
|
|
|
69cc7b |
literal 8814
|
|
|
69cc7b |
zcmb_>1z1~Kvo^({xND*1KyfKjw73
|
|
|
69cc7b |
zAI|smw&%M&=YID-|K!=pUP
|
|
|
69cc7b |
zuMof>Fc9i$3k2BOT7yghP>>CT!wF)>ZUb-tIk4N<0wHELrjB4B1j-Htx
|
|
|
69cc7b |
zarFTa0pac-y9Lv*bOf6~03d4z4(N|lc3X%=sH(CoHYNq;?O(9v<)qXR5boWcBGjTI
|
|
|
69cc7b |
z-M-(G%L%#tm{wKPkba@`Qo~T!Kto?a!$ijjpkr*JY2^km)HgP_v;ccpnnNui9#;0A
|
|
|
69cc7b |
z_E1|32Y*XwfVF2dG&IRGCe16hB+Sh^!3XM-P~ewR5S>#OUD!~b8PQmfSX-I}tH`UY
|
|
|
69cc7b |
ztZZ&>E^h5_`8d~BmegL8Kh#(-)l%Bo3GeLc?dgIK_I3^Q_Vf&VY#o^!8W|tyZyOov
|
|
|
69cc7b |
zUz{GCn3x!wU0C=u*EO-yGrcjhusXN2zP>cKwKVp9fA;If(%#p#ue
|
|
|
69cc7b |
z92^{+U3|YhJGeYQxW2x=y|bH}8!n?ArrSGBm6sCNaGBki)KP9XCJR#2c;t|VM)jVN
|
|
|
69cc7b |
zgucxu301oK(am+;8gz$Vsb*8515tS)znTcsi~bhk|0?@)k*md!G!-Al#z5-~#xevQ
|
|
|
69cc7b |
zY99~8&g6TYBnV=N|Njo-8Vr2{B4OW!UCw|xvl)uIU5hKYwF@^*BN3DD!cgzBxbsc6
|
|
|
69cc7b |
zFo!6g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ve@xzpZ_TG9ts%}PuPnpyUv|7r>PzAjtU5UHg3bg2M{2dLs+ilANqjSC
|
|
|
69cc7b |
zMSPfFQ~UBfnPlv&E3=NB&LcC~hh*G%P{_a!Hmscj*~wnhUoP#jB8@jcnU3GS{GQ-l
|
|
|
69cc7b |
zxeCzY4}2FSb_g&l!0i}g)7e&aBUX%lPlYV6dqGluC@3fv>-}||e`{+H;dHya|D9`1
|
|
|
69cc7b |
zMRfjkX=dS9OYj17eY_%Ts3HI@K~3O
|
|
|
69cc7b |
zXpMKw=^8$W=x
|
|
|
69cc7b |
zbmSZS(-rs;20j|m1MDe>z=WduZWpZy4lL!DHfLxgD~m0{-x2T3nOe(Fg>`Gr(Lc?3
|
|
|
69cc7b |
z50MDr@0-52HvL6@w18C={;Kuw-QAxmO1Gzf*X#X(^1~N?tx(@}&3=l|?M#2^q5Zq!
|
|
|
69cc7b |
zulu~a0`^bYLi@Fx{qK6eZVK*pfj?#bwn%>4?f!F5`0rZ3#_>Cs{VAISf89R((EPhN
|
|
|
69cc7b |
z|5MY7{GX!!Uyc1!>tC((pX03Gp!{Tkzel;_fuAz@8
|
|
|
69cc7b |
z{HHhyzrp#HHU3i^|KH&J$|8S{bH@fhrQtU?e`S^b6zSwQNPlISzel>`nV-Tz`QL5*
|
|
|
69cc7b |
zlXd=u^267D4XJ-!#K2pW|B9ZsEc9a$|Iqw3dfbKFpOSlPqTdE!RRxsWyaxdR|MmsE
|
|
|
69cc7b |
LZ9yGT-;Mqsc2j`C
|
|
|
69cc7b |
|
|
|
69cc7b |
literal 0
|
|
|
69cc7b |
HcmV?d00001
|
|
|
69cc7b |
|
|
|
69cc7b |
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx
|
|
|
69cc7b |
index e513aaa..19f1695 100644
|
|
|
69cc7b |
--- a/sw/qa/extras/odfexport/odfexport.cxx
|
|
|
69cc7b |
+++ b/sw/qa/extras/odfexport/odfexport.cxx
|
|
|
69cc7b |
@@ -758,6 +758,12 @@ DECLARE_ODFEXPORT_TEST(testTextFrameVertAdjust, "textframe-vertadjust.odt")
|
|
|
69cc7b |
CPPUNIT_ASSERT_EQUAL(drawing::TextVerticalAdjust_BOTTOM, getProperty<drawing::TextVerticalAdjust>(xFrame, "TextVerticalAdjust"));
|
|
|
69cc7b |
}
|
|
|
69cc7b |
|
|
|
69cc7b |
+DECLARE_ODFEXPORT_TEST(testTdf111891_frameVertStyle, "tdf111891_frameVertStyle.odt")
|
|
|
69cc7b |
+{
|
|
|
69cc7b |
+ uno::Reference<beans::XPropertySet> xFrame(getShape(1), uno::UNO_QUERY);
|
|
|
69cc7b |
+ CPPUNIT_ASSERT_EQUAL(drawing::TextVerticalAdjust_BOTTOM, getProperty<drawing::TextVerticalAdjust>(xFrame, "TextVerticalAdjust"));
|
|
|
69cc7b |
+}
|
|
|
69cc7b |
+
|
|
|
69cc7b |
DECLARE_ODFEXPORT_TEST(testShapeRelsize, "shape-relsize.odt")
|
|
|
69cc7b |
{
|
|
|
69cc7b |
uno::Reference<drawing::XShape> xShape = getShape(1);
|
|
|
69cc7b |
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
|
|
|
69cc7b |
index ad6dd78..db6fc57 100644
|
|
|
69cc7b |
--- a/sw/source/core/unocore/unostyle.cxx
|
|
|
69cc7b |
+++ b/sw/source/core/unocore/unostyle.cxx
|
|
|
69cc7b |
@@ -1803,8 +1803,13 @@ void SwXStyle::SetPropertyValue<RES_PAGEDESC>(const SfxItemPropertySimpleEntry&
|
|
|
69cc7b |
}
|
|
|
69cc7b |
}
|
|
|
69cc7b |
template<>
|
|
|
69cc7b |
-void SwXStyle::SetPropertyValue<RES_TEXT_VERT_ADJUST>(const SfxItemPropertySimpleEntry&, const SfxItemPropertySet&, const uno::Any& rValue, SwStyleBase_Impl& o_rStyleBase)
|
|
|
69cc7b |
+void SwXStyle::SetPropertyValue<RES_TEXT_VERT_ADJUST>(const SfxItemPropertySimpleEntry& rEntry, const SfxItemPropertySet& rPropSet, const uno::Any& rValue, SwStyleBase_Impl& o_rStyleBase)
|
|
|
69cc7b |
{
|
|
|
69cc7b |
+ if(m_rEntry.m_eFamily != SfxStyleFamily::Page)
|
|
|
69cc7b |
+ {
|
|
|
69cc7b |
+ SetPropertyValue<HINT_BEGIN>(rEntry, rPropSet, rValue, o_rStyleBase);
|
|
|
69cc7b |
+ return;
|
|
|
69cc7b |
+ }
|
|
|
69cc7b |
if(!m_pDoc || !rValue.has<drawing::TextVerticalAdjust>() || !o_rStyleBase.GetOldPageDesc())
|
|
|
69cc7b |
return;
|
|
|
69cc7b |
SwPageDesc* pPageDesc = m_pDoc->FindPageDesc(o_rStyleBase.GetOldPageDesc()->GetName());
|
|
|
69cc7b |
--
|
|
|
69cc7b |
2.9.5
|
|
|
69cc7b |
|