Bugzilla – Attachment 56150 Details for
Bug 38542
FORMATTING TABLE double borders incompatibility with old LibO / OOo Versions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
put "double" cell borders on a diet
0001-fdo-38542-sw-ODF-import-divide-width-by-3-for-double.patch (text/plain), 1.06 KB, created by
Michael Stahl (allotropia)
on 2012-01-25 09:03:01 UTC
(
hide
)
Description:
put "double" cell borders on a diet
Filename:
MIME Type:
Creator:
Michael Stahl (allotropia)
Created:
2012-01-25 09:03:01 UTC
Size:
1.06 KB
patch
obsolete
>From 5c21b3d55ac332acd097fb7a4e564398c1628929 Mon Sep 17 00:00:00 2001 >From: Michael Stahl <mstahl@redhat.com> >Date: Wed, 25 Jan 2012 17:44:36 +0100 >Subject: [PATCH 1/2] fdo#38542: sw: ODF import: divide width by 3 for > "double" borders > >The problem is that the width from the fo:border{,-left,-right,-top,-bottom} >attributes is effectively tripled for "double" borders. >--- > sw/source/filter/xml/xmlithlp.cxx | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/sw/source/filter/xml/xmlithlp.cxx b/sw/source/filter/xml/xmlithlp.cxx >index 18a1b6b..cd383b5 100644 >--- a/sw/source/filter/xml/xmlithlp.cxx >+++ b/sw/source/filter/xml/xmlithlp.cxx >@@ -212,6 +212,10 @@ sal_Bool lcl_frmitems_setXMLBorder( SvxBorderLine*& rpLine, > rpLine->GetOutWidth(); > > rpLine->SetWidth( nWidth ); >+ if (bDouble) >+ { // fdo#38542: divide width by 3 for outer line, gap, inner line >+ rpLine->ScaleMetrics(1, 3); >+ } > } > lcl_frmitems_setXMLBorderStyle( *rpLine, nStyle ); > } >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38542
:
48258
|
48259
|
48504
|
49327
|
55271
|
55272
|
55448
|
55449
|
55450
| 56150 |
56151
|
56161