[PATCH] docx export: export default table cell margins and borders

Pierre-Eric Pelloux-Prayer (via Code Review) gerrit at gerrit.libreoffice.org
Thu Sep 20 05:00:17 PDT 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/656

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/56/656/1

docx export: export default table cell margins and borders

Export table cell margins/borders in w:tblPr. First cell is used
to provide default values, then each cell is compared to those. If
a cell has different margins/borders, it will have its own w:tcMar
or w:tcBorers.
This is needed for exporting properly table as Office use w:tblCellMar
to position top-level tables.

Change-Id: I49ec61ea92536f51df01aa1bfd6121e51b029441
---
M sw/source/filter/ww8/docxattributeoutput.cxx
M sw/source/filter/ww8/docxattributeoutput.hxx
2 files changed, 83 insertions(+), 30 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/656
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I49ec61ea92536f51df01aa1bfd6121e51b029441
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Pierre-Eric Pelloux-Prayer <pierre-eric at lanedo.com>



More information about the LibreOffice mailing list