diff options
author | Szabolcs Toth <toth.szabolcs@nisz.hu> | 2020-10-15 16:13:08 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-10-29 17:52:48 +0100 |
commit | bc9049851fd7e914fd695bcfb3c9a94a19634ce0 (patch) | |
tree | 2bc56c13a71ff0e8125b569c2a290a6474fa5cac /xmloff/source/style/xmlexppr.cxx | |
parent | ec7feef1bcd055098e49e55df3737148e62b75cb (diff) |
tdf#137627 sw top page border orientation: add ODF
Map between RelOrientation::PAGE_PRINT_AREA_TOP and
loext:vertical-rel="page-content-top".
Follow-up of commit 1c593e1916c9164c7db71da2017cfc26972f8e9f
(tdf#133045 sw: add shape alignment to the top page border).
See also commit 65b7873aab5deec7157328047e869a6385e0a74a
(sw from-bottom relative orientation: add ODF filter).
Change-Id: I9bff7a9507152262dda7d126fa3e7e1bee6a8276
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104554
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'xmloff/source/style/xmlexppr.cxx')
-rw-r--r-- | xmloff/source/style/xmlexppr.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index b65669aed3c3..893e0fb36ee4 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -1080,6 +1080,12 @@ void SvXMLExportPropertyMapper::_exportXML( XML_NAMESPACE_LO_EXT, mpImpl->mxPropMapper->GetEntryXMLName(rProperty.mnIndex)); } + if (IsXMLToken(aValue, XML_PAGE_CONTENT_TOP)) + { + sName = rNamespaceMap.GetQNameByKey( + XML_NAMESPACE_LO_EXT, + mpImpl->mxPropMapper->GetEntryXMLName(rProperty.mnIndex)); + } } rAttrList.AddAttribute( sName, aValue ); |