have a draw document with for example six layers.
it would be useful to have the possibility to have a set of layers in a visible printable and locked mode selectable with one click.
1) I have the layer n^1 n^4 and n^6 visible and printable and the other locked and not visible
I call this set with a name, for example "show kitchen" and save the set
2) I have the layer n^2 n^3 and n^5 visible and printable and the other locked and not visible
I call this set with a name, for example "show room" and save the set
when I recall the "show kitchen" set the layers will be set in 1) mode
when I recall the "show room" set the layers will be set in 2) mode
this avoid the very annoying procedure to double click on every layer and set for each visibility printability and lock.
manythanks, ciao, pier :-)
Please attach a sample document - assume that we don't use the product at all so explain a bit clearer your exact use case.
Marking as NEEDINFO - once you provide a bit more detail and attach a sample, set to UNCONFIRMED. Thanks
Created attachment 124515 [details]
draw 1) case, layers layout, 1, 4 and 6 visible
in this file you have the layers [layout, 1, 4, and 6] set as visible printable and not locked, and the layers [2, 3 and 5] set not visible not printable and locked.
so you can see and print the combination only of the layers [layout, 1, 4 and 6] and cannot incidentally modify layers [2, 3 and 5]
Created attachment 124516 [details]
draw 2) case layers 2, 3 and 5 visible
in this file you have the layers [layout, 2, 3, and 5] set as visible printable and not locked, and the layers [1, 4 and 6] set not visible not printable and locked.
so you can see and print the combination only of the layers [layout, 2, 3 and 5] and cannot incidentally modify layers [1, 4 and 6]
Consider the two attached files draw 1) and draw 2) as a different view (a combination of different layers properties) of the same file.
Layers are like transparent sheets that you can superpose.
Each layer have 3 properties: visible, printable, locked, that you can set as you like for each layer.
You have a common sketch on layer [layout].
a sketch with something different in layers [1, 2, 3, 4, 5, 6].
For example in the layer:
layout = apartment where lives John and Jane
1 = John's bedroom
2 = Jane's bedroom
3 = Jane's bathroom
4 = John's bathroom
5 = Jane's kitchen
6 = John's kitchen
If for example you want to show and print where John lives, that correspond to the content of layers [layout, 1, 4 and 6 ] you set this layers as visible printable and the other as not visible and not printable as in the file draw 1).
If for example you want to show and print where Jane lives, that correspond to the content of layers [layout, 2, 3 and 5 ] you set this layers as visible printable and the other as not visible and not printable as in the file draw 2).
this procedure is an annoying procedure, because you have to doubleclick to each layer and set as visible and printable and the other as not visible and not printable.
If we can have the possibility to save the combination of the properties of all layers together with a name (the thing I call view at the beginning), we can change from draw 1), to show where John lives, to draw 2) where Jane lives, recalling the name of the combination of the layers properties, with few clicks and without errors, and also make changes to the apartment that is common.
Hoping to have been clearer, manythanks, ciao :-) pier
So basically layer groups. Ok.
My mind is more focused on the layer's properties (visible, printable, locked) than the layers itself that are part of the same file, do you intend the same?? :-)
But yes, basically it may be layers property group.
It should be ok if each layer with different properties can be part of different groups.
layer property group 1=(useful if I can give at group a name)
[layer layout=visible, printable, locked
layer 1=visible, printable, not locked
layer 2=not visible, not printable, locked
layer 3=not visible, not printable, locked
layer 4=visible, printable, not locked
layer 5=not visible, not printable, locked
layer 6=visible, printable, not locked]
layer property group 2=
[layer layout=visible, printable, locked
layer 1=not visible, not printable, locked
layer 2=visible, printable, not locked
layer 3=visible, printable, not locked
layer 4=not visible, not printable, locked
layer 5=visible, printable, not locked
layer 6=not visible, not printable, locked]
so, if I choose [layer property group 1] the properties of the layers are set as in the example and if I choose [layer property group 2] the properties of the layers are changed.
Manythanks, ciao Pier
Well, any self-respecting graphics application has the ability to group layers. Then you can change the properties of the groups like they were individual layers (visibility, locking etc.).
If visibility, locking etc. can be changed for each layer that belong to the group yes, it is what I intend too.
And, so, any editing at the draw in a layer immediately reflect in the groups where the layer belong... :-)
manythanks, ciao, :-) pier
There is a problem in saving, because each page can only have one LayerSet in ODF and this LayerSet includes one version of the settings for visible/printable/locked.
Therefore such different views on the same page cannot be saved to the "core" ODF.
But ODF allows saving of environment settings into the part settings.xml. Having two views on the same document is already possible using menu Window > New Window. It would be possible to save two views into the settings.xml. But the implementation of it is faulty currently. And naming a view is not implemented.
With current state of LibreOffice I would try to solve the problem with a macro, which is stored inside the document.
On Hackfest Hamburg, April 2018, we decided to no longer use settings.xml for layers, but always save the active view.
You should really try to solve this task with a macro. Integrating a solution into LibreOffice is unlikely. Nevertheless it is a valid request.