summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/drawutil.hxx
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2017-08-25 17:53:58 -0400
committerJustin Luth <justin_luth@sil.org>2017-08-26 03:14:54 +0200
commitfde332fc9d59102749dbeb20f4e78e2233152e1b (patch)
treeda97ad99edb4478a8697896db32ee0cc4db64ae2 /sc/source/ui/inc/drawutil.hxx
parentc420f36d9a19bb0b9da5cefa0c1b54b60ccb41a8 (diff)
tdf#32991 DOCexport: MSO-compatible table justification
Although LO could round-trip the files, MSO didn't open them properly, indicating both import and export differences. There are two table justification codes: sprmTJc and sprmTJc90. LO appears to treat sprmTJc90 as the WW8 version, but actually both are valid. TJc is the LOGICAL justification - meaning that it is affected by RTL/LTR settings. TJc90 is the PHYSICAL justification, regardless of BiDi. https://msdn.microsoft.com/en-us/library/dd951612(v=office.12).aspx Based on testing results, it appears that MSO REQUIRES TJc codes. If it isn't defined, MSO uses the default value of TJc:LEFT, and ignores TJc90 code. It appears that MSO always writes out both codes if they aren't the default values. This patch only deals with the export difference. Change-Id: Id722261acab7ae6c0b7d808be75fc3452c2255d8 Reviewed-on: https://gerrit.libreoffice.org/41584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sc/source/ui/inc/drawutil.hxx')
0 files changed, 0 insertions, 0 deletions