Bugzilla – Attachment 188727 Details for
Bug 153102
docx: instead of line showing triangle at left bottom
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible but rough fix. Works, but not recommended.
patch_tdf#153102.diff (text/plain), 2.55 KB, created by
Armin Le Grand
on 2023-08-02 12:24:52 UTC
(
hide
)
Description:
Possible but rough fix. Works, but not recommended.
Filename:
MIME Type:
Creator:
Armin Le Grand
Created:
2023-08-02 12:24:52 UTC
Size:
2.55 KB
patch
obsolete
>diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx >index 7c757e4d19ca..42f0f9dd85eb 100644 >--- a/sw/source/core/layout/paintfrm.cxx >+++ b/sw/source/core/layout/paintfrm.cxx >@@ -3286,6 +3286,12 @@ void SwRootFrame::PaintSwFrame(vcl::RenderContext& rRenderContext, SwRect const& > > if ( pSh->Imp()->HasDrawView() ) > { >+ if (comphelper::LibreOfficeKit::isTiledPainting()) >+ { >+ rRenderContext.Push( vcl::PushFlags::CLIPREGION ); >+ rRenderContext.SetClipRegion(vcl::Region(aPaintRect.SVRect())); >+ } >+ > gProp.pSLines->LockLines( true ); > const IDocumentDrawModelAccess& rIDDMA = pSh->getIDocumentDrawModelAccess(); > pSh->Imp()->PaintLayer( rIDDMA.GetHellId(), >@@ -3296,6 +3302,11 @@ void SwRootFrame::PaintSwFrame(vcl::RenderContext& rRenderContext, SwRect const& > &aSwRedirector ); > gProp.pSLines->PaintLines( pSh->GetOut(), gProp ); > gProp.pSLines->LockLines( false ); >+ >+ if (comphelper::LibreOfficeKit::isTiledPainting()) >+ { >+ rRenderContext.Pop(); >+ } > } > > if ( pSh->GetDoc()->GetDocumentSettingManager().get( DocumentSettingId::BACKGROUND_PARA_OVER_DRAWINGS ) ) >@@ -3333,12 +3344,22 @@ void SwRootFrame::PaintSwFrame(vcl::RenderContext& rRenderContext, SwRect const& > > if ( pSh->Imp()->HasDrawView() ) > { >+ if (comphelper::LibreOfficeKit::isTiledPainting()) >+ { >+ rRenderContext.Push( vcl::PushFlags::CLIPREGION ); >+ rRenderContext.SetClipRegion(vcl::Region(aPaintRect.SVRect())); >+ } >+ > pSh->Imp()->PaintLayer( pSh->GetDoc()->getIDocumentDrawModelAccess().GetHeavenId(), > pPrintData, > *pPage, pPage->getFrameArea(), > &aPageBackgrdColor, > pPage->IsRightToLeft(), > &aSwRedirector ); >+ if (comphelper::LibreOfficeKit::isTiledPainting()) >+ { >+ rRenderContext.Pop(); >+ } > } > > if ( bExtraData )
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 153102
:
184768
|
184769
|
184908
|
184923
|
184924
|
188723
| 188727