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

Hi all,
I have only answered to list.

Heiko Tietze schrieb am 09.04.2018 um 10:36:
On 08.04.2018 15:20, Regina Henschel wrote:

We plan to keep the layer of the objects, if copy&paste happens on the same page, see

Doubt that an internal object identification by name is a good idea. You have to suppress identical 
naming and on paste you add a number (Foo1). But that's up to development. From the user 
perspective I don't care.

The user will be able to change display name without affecting the internal name. The current solution of "paste always to the active layer" produces the problem described in the linked comment".

We need advise, what should happen, if an object is copy&pasted into a different page of the same 
document. In the end of the project it will be possible, that pages of a document may have different 
layer-sets. Similar problem is  pasting into a different document. Possible actions e.g.
a) paste all into the active layer
b) paste objects into that layer, which has the same name, and on the active layer in case no such 
layer exists
c) paste objects into that layer, which has the same name, and generate a new layer in case no such 
layer exists.
d) others?

As an example

Page 1
 Layer "Foo"
Page 2
 Default layer

If you copy/move Shape_1 from Layer_Foo to Page 2 it should affect only this object, and Shape_1 is 
placed on the default layer.

So do not generate a new layer "Foo" on page 2.

 If the user copy/pastes a group, all objects are taken.

That is the purpose of a group. But you can have this situation
Page 1
  Layer "Foo"
   Shape_2 (contained in group1)
   Shape_3 (contained in group1)
 Page 2
  Default layer

So group1 contains shapes from different layers, see description in the linked comment.

 And we need a separate function for the layer. So copying Layer_Bar

There is currently no option to copy a layer. We have not yet considered such option.

into page 2 adds it likewise when creating a new layer and pasting just all objects from Layer_Bar. Differently to the ctrl+a,ctrl+c/x interaction, I would include all hidden elements too for the layer copy action..

There exists no hidden elements in Draw/Impress. Visible/Not-Visible is a property of the layer not of the element.

But you are right, copying an entire layer sound like a useful feature. That would be an option "paste and force a new layer for the clipboard content".

Kind regards

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.