diff options
author | Sarper Akdemir <sarper.akdemir@collabora.com> | 2023-03-29 19:44:18 +0300 |
---|---|---|
committer | Sarper Akdemir <sarper.akdemir@collabora.com> | 2023-04-17 16:21:06 +0200 |
commit | 178832ef7139b9279a3ae0056eb11be9c476800e (patch) | |
tree | 28c49618beca5101f445a16dc1a9b131254d14df /include/svx | |
parent | 77655fc3dca05d4bb2366e67ccea228e3886bfe2 (diff) |
oox: tcPr vert roundtrip, introduce interopability grab bag for table cell
To properly roundtrip all possible values of <a:tcPr vert="...">
+ Introduce grab bag for table cell
+ on import: Store the unsupported values in the grab bag:
+ (e.g. wordArtVert, mongolianVert, wordArtVertRtl)
+ on export: if nothing is being exported from the doc
model, export the value from the grabbag
Also adds a unit test covering this behavior.
Change-Id: I791ed2d992b0a554ef6da37200f027cffd8c5f2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149737
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir@collabora.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svddef.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/svddef.hxx b/include/svx/svddef.hxx index 85a72e5b713d..84db8c4d0aa4 100644 --- a/include/svx/svddef.hxx +++ b/include/svx/svddef.hxx @@ -138,6 +138,7 @@ class SdrVertShearAllItem; class SdrVertShearOneItem; class SdrYesNoItem; class SfxBoolItem; +class SfxGrabBagItem; class SfxInt16Item; class SfxUInt16Item; class SfxUInt32Item; @@ -417,7 +418,8 @@ constexpr TypedWhichId<SvxBoxInfoItem> SDRATTR_TABLE_BORDER_INNER (SDRATTR_T constexpr TypedWhichId<SvxLineItem> SDRATTR_TABLE_BORDER_TLBR (SDRATTR_TABLE_FIRST+2); constexpr TypedWhichId<SvxLineItem> SDRATTR_TABLE_BORDER_BLTR (SDRATTR_TABLE_FIRST+3); constexpr TypedWhichId<SvxTextRotateItem> SDRATTR_TABLE_TEXT_ROTATION (SDRATTR_TABLE_FIRST+4); -constexpr sal_uInt16 SDRATTR_TABLE_LAST (SDRATTR_TABLE_TEXT_ROTATION); +constexpr TypedWhichId<SfxGrabBagItem> SDRATTR_TABLE_GRABBAG (SDRATTR_TABLE_FIRST+5); +constexpr sal_uInt16 SDRATTR_TABLE_LAST (SDRATTR_TABLE_GRABBAG); constexpr sal_uInt16 SDRATTR_GLOW_FIRST (SDRATTR_TABLE_LAST+1); constexpr TypedWhichId<SdrMetricItem> SDRATTR_GLOW_RADIUS (SDRATTR_GLOW_FIRST+0); |