[Libreoffice-bugs] [Bug 131136] Unclear option "Use printer metrics for document formatting"
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 19 15:05:44 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=131136
Buovjaga <ilmari.lauhakangas at libreoffice.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ilmari.lauhakangas at libreoff
| |ice.org
--- Comment #3 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
I did some grepping and could not find anything under sd, but the thing leads
to the property SC_UNONAME_PRMETRICS and the setting/getting of TextWysiwyg
input option.
so we have this in sc/source/core/data/documen8.cxx:
OutputDevice* ScDocument::GetRefDevice()
{
// Create printer like ref device, see Writer...
OutputDevice* pRefDevice = nullptr;
if ( SC_MOD()->GetInputOptions().GetTextWysiwyg() )
pRefDevice = GetPrinter();
else
pRefDevice = GetVirtualDevice_100th_mm();
return pRefDevice;
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200619/fad43f4b/attachment.htm>
More information about the Libreoffice-bugs
mailing list