Bugzilla – Attachment 142716 Details for
Bug 117881
FILEOPEN DOCX: Spacing in Linux is slightly different from Windows for bullet lists with Microsoft fonts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that fixes the bug.
fix.patch (text/plain), 1.03 KB, created by
Marco Diego Aurélio Mesquita
on 2018-06-13 18:36:22 UTC
(
hide
)
Description:
Patch that fixes the bug.
Filename:
MIME Type:
Creator:
Marco Diego Aurélio Mesquita
Created:
2018-06-13 18:36:22 UTC
Size:
1.03 KB
patch
obsolete
>diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx >index 46af46f..49b7eaf 100644 >--- a/sw/source/core/layout/flowfrm.cxx >+++ b/sw/source/core/layout/flowfrm.cxx >@@ -1541,6 +1541,25 @@ SwTwips SwFlowFrame::CalcUpperSpace( const SwBorderAttrs *pAttrs, > { > nUpper += GetUpperSpaceAmountConsideredForPageGrid_( nUpper ); > } >+ >+ if (pPrevFrame && pPrevFrame->IsTextFrame()) { >+ const SwTextFrame *pTextFrame = static_cast< const SwTextFrame * >( pPrevFrame ); >+ if (pTextFrame) { >+ if (pTextFrame->GetTextNode() && pTextFrame->GetTextNode()->HasBullet()) { >+ >+ SwTwips nPrevLowerSpace = 0; >+ SwTwips nPrevLineSpacing = 0; >+ if ( pPrevFrame ) >+ { >+ bool bDummy = false; >+ GetSpacingValuesOfFrame( (*pPrevFrame), nPrevLowerSpace, nPrevLineSpacing, bDummy ); >+ } >+ >+ nUpper += 0.15*nPrevLineSpacing; >+ } >+ } >+ } >+ > return nUpper; > } >
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 117881
:
142382
|
142383
|
142384
|
142605
|
142706
|
142715
| 142716 |
162892