diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-04-17 08:14:12 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-04-17 09:01:31 +0200 |
commit | 3cd14725b6a16d7e6cc328aef3d1d9a9a6649634 (patch) | |
tree | 27552ea19dfd5a4b69a9c061854345f728bc9016 /xmloff | |
parent | e870d996efb4a856f667c601032e02e5b21c5b82 (diff) |
sw floatable: teach the DOC export about SwFormatFlySplit
Floating tables were always written back as a shape, containing a table,
which can't split over pages, not even in Word.
Now that we have split flys, we know that floating tables are mapped to
split flys, so we can map split flys back to floating tables on export.
The following SPRMs need writing, which are more or less the equivalent
to DOCX's <w:tblpPr> attributes:
- sprmTPc: relation orient for positioning the table
- sprmTDyaFromText, sprmTDyaFromTextBottom: top/bottom margin
- sprmTDxaFromText, sprmTDxaFromTextRight: left/right margin
- sprmTDxaAbs: horizontal orientation
- sprmTDyaAbs: vertical orientation
With this, testTdf107773 passes in the SW_FORCE_FLY_SPLIT=1 case, while
previously only the import side worked.
Change-Id: Id534c1497eb56f9268bf49d2a19764051397bb18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150464
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'xmloff')
0 files changed, 0 insertions, 0 deletions