Kaydet (Commit) e3b0bae4 authored tarafından Miklos Vajna's avatar Miklos Vajna

SwXTextDocument::initializeForTiledRendering: allow having different defaults

SetHardBlank() configures the gray background for non-breaking spaces.

Change-Id: I779503189085cc6537b776deb3d30cb93b316acd
üst e3c1a394
...@@ -3165,6 +3165,11 @@ void SwXTextDocument::initializeForTiledRendering() ...@@ -3165,6 +3165,11 @@ void SwXTextDocument::initializeForTiledRendering()
return; return;
pView->SetViewLayout(nColumns, bBookMode, true); pView->SetViewLayout(nColumns, bBookMode, true);
// Tiled rendering defaults.
SwViewOption aViewOption(*pViewShell->GetViewOptions());
aViewOption.SetHardBlank(false);
pViewShell->ApplyViewOptions(aViewOption);
// Disable map mode, so that it's possible to send mouse event coordinates // Disable map mode, so that it's possible to send mouse event coordinates
// directly in twips. // directly in twips.
SwEditWin& rEditWin = pDocShell->GetView()->GetEditWin(); SwEditWin& rEditWin = pDocShell->GetView()->GetEditWin();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment