As .odg is no different than .svg, being it a graphics document format, it should be possible to insert it through the Insert > Image dialog.
What happens when one double clicks on an inserted .svg?
For me this sounds reasonable.
@Cor: What do you mean with double click on an inserted svg? In my case I can then after a double click add a text to it?
(In reply to A (Andy) from comment #2)
> @Cor: What do you mean with double click on an inserted svg? In my case I
> can then after a double click add a text to it?
Double clicking on an .odg opens the Draw interface, since it's an object.
(In reply to Cor Nouws from comment #3)
> (In reply to A (Andy) from comment #2)
> > @Cor: What do you mean with double click on an inserted svg? In my case I
> > can then after a double click add a text to it?
> Double clicking on an .odg opens the Draw interface, since it's an object.
Ok, thanks, now I know what you meant. But would this from your point of view contradict an implementation as Jay suggested?
If possible, making the ODG graphic/image insertion more seamless would improve UX, and would increase its prevalence for use as a graphics editor within the suite.
Not sure of all the reasons, but presently an ODG can be inserted, but only as an OLE object.
Insert -> Object -> OLE Object: Create from File.
Very awkward, and the object thus inserted does not receive the same treatment as other graphic/image formats (even other OLE)--different set of Properties for its frame.
Well, the reason for me asking the question of course lays hidden in what Stuart writes.
Because an .odg embeds as a document, it has different behaviour as images. (though .svg seems to be what in between?)
I'm not sure if that isn't going to lead to confusion, where apart from Insert > Object, also Cut'n paste from Draw with various choices is possible.
Just saying here ;)
@Cor: Yes it should act similar to SVG when it is inserted or double-clicked.
@Stuart: In Draw, if you attempt to add an ODG to an existing document, it adds the ODG pages to the file (Insert > File).
(In reply to Jay Philips from comment #0)
> As .odg is no different than .svg, being it a graphics document format, it
> should be possible to insert it through the Insert > Image dialog.
I am tempted to disagree because a .odg is not an image. What do you expect if you insert à multipage odg file in a text document ?
Best regards. JBF
(In reply to Jean-Baptiste Faure from comment #8)
> I am tempted to disagree because a .odg is not an image.
Well it depends on what your definition of image is. JPGs are bitmap images and SVG are vector images, or if you prefer, you can call them graphics. ODG stands for OpenDocument Graphics.
> What do you expect
> if you insert à multipage odg file in a text document ?
What happens when a multipage TIFF or PDF is inserted into a document? I've never tried doing that in LO, but when i opened a multipage PDF in photoshop, it would ask me which page i wanted to insert.
Created attachment 122704 [details]
I would like to further clarify what i was proposing with this enhancement.
So the proposal isnt to change the current behaviour of inserting an ODG as an OLE Object (Insert > Object > OLE Object), but instead to allow the Insert Image dialog to insert the contents of an ODG file into the current document in the same way that it does for an SVG.
One of the main advantages that would be gained by inserting an ODG file over inserting an SVG is that an SVG file is treated as a single non-editable vector image, while an inserted ODG would be a editable grouped collection of vector and not vector objects. Basically no different than opening the ODG in Draw and copying and pasting its content into your document (Paste Special's Drawing Format).
So with this functionality, i could have sent someone the attached odg file of a button and they inserted it into their Writer and easily change the button label to whatever they like. This functionality would be highly beneficial, as we could have similar ODG files in the gallery and in Draw's future stencil/symbol gallery.
Please add keyword 'needsUXEval' and CC 'firstname.lastname@example.org' if input from UX is needed.