Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


On 22.11.2017 17:32, Regina Henschel wrote:
Hi all,

I've started on 
https://bugs.documentfoundation.org/show_bug.cgi?id=101242. My current 
work is in the attachment.

Problem: Although I remove the config-items IsVisible, IsPrintable, 
IsLocked from the settings.xml of a file, the values from draw:display 
and draw:locked of the <draw:layer> element are not used. It seems to 
me, that somewhere the read values are overwritten with a default.

Where and when are the values from settings.xml transformed to 
properties of the layers of a newly opened draw document?

probably in sd/source/ui/view/frmview.cxx,
FrameView::ReadUserDataSequence(), around line 858

Any other hint, where to look?

there are SetVisibleLayers functions on 3 different classes, maybe
setting breakpoints on those would be helpful.

Besides that, it would be nice, if you could tell me, if my approach is 
correct so far.

looks promising to me


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.