Need code pointer for import of <draw:layer> attributes
Michael Stahl
mstahl at redhat.com
Thu Nov 23 20:37:59 UTC 2017
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
More information about the LibreOffice
mailing list