Apache OpenOffice (AOO) Bugzilla – Issue 21353
Template for Drawings
Last modified: 2017-05-20 11:29:53 UTC
For drawings you can create templates as for text documents. And then you can define your very sophisticated template as the default for every new drawing. If you, however, include an embedded drawing into a text document, OOo does not take your template but rather some system default with such completely inconvenient settings as Times New Roman 24 for the font of objects. I don't know - is there a way to change this? I did not find out. Greetings Walter
Another severe bug in the same context. If you have an embedded drawing, consisting of rectangles and other objects, the rectangles adjusted to have a font of Arial 8, and you copy some or all objects to the clipboard (e.g. CTRL-A, CTRL-C) and paste them into another embedded drawing, the pasted rectangles switch back to the default font Times New Roman 24. This makes copy-paste as good as not applicable.
Please report only one issue at a time. Thanks! Would it be possible to give adetailed description of what you are doing (setting up the template, including it into the writer doc) and attach the final document to the iddue? Thanks in advance.
Created attachment 10404 [details] Text doc, describes further the problem of the issue
Created attachment 10405 [details] Template for drawings to illustrate the issue
Hope I get you right: the core problem seems to be that you have two drawings with each a default style called "Default". But each style has different settings. So when you copy n paste from one to another how should anyone know which default to take? Normally I would say the one I am pasting into. Or not? Thanks.
Well, yes and no. In terms of object oriented programming a rectangle is an object with all its properties. If I as a user make a copy of such an object, I am not interested where the object takes its information from, whether inherited or inherent. I expect the copy to appear the same way as the original. If you change the font of any object (not the template) this object also has to know that it must not any longer look for the parent font but has its own. Thus a copy operation should manage an object in this way. But this all is not actually the main point. The most crucial thing is, that I want every new embedded drawing in any old or new writer doc to rely on object templates I (!) define and not OOo (!). I have found out how to do this with standalone drawings but not for embedded drawings. Greetings Walter
I do not think that this behaviour is a problem when you cut and paste objects that belong to styles with standard names. But the fontsize is even changed when you have a newly designed style with a special name. Copying and pasting an object of this style resets the fontsize, too. And this is a bug.
Reassigned to Christian.
will have a look
Reset assigne to the default "issues@openoffice.apache.org".