Bug 87906

Summary: Insert > Image should allow adding ODG
Product: LibreOffice Reporter: Jay Philips <philipz85>
Component: ux-adviseAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: medium CC: cno, jbfaure, libreoffice-ux-advise, stgohi-lobugs, vstuart.foote
Version: 4.5.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Jay Philips 2014-12-31 13:33:50 UTC
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.
Comment 1 Cor Nouws 2014-12-31 14:00:08 UTC
Hi Jay,

What happens when one double clicks on an inserted .svg?
Cor
Comment 2 A (Andy) 2014-12-31 14:52:32 UTC
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?
Comment 3 Cor Nouws 2014-12-31 15:23:09 UTC
(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.
Comment 4 A (Andy) 2014-12-31 15:29:04 UTC
(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?
Comment 5 V Stuart Foote 2014-12-31 16:51:03 UTC
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.
Comment 6 Cor Nouws 2014-12-31 17:45:48 UTC
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 ;)
Comment 7 Jay Philips 2014-12-31 17:55:24 UTC
@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).
Comment 8 Jean-Baptiste Faure 2014-12-31 19:03:28 UTC
(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
Comment 9 Jay Philips 2014-12-31 22:53:20 UTC
(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.

http://en.wikipedia.org/wiki/Raster_graphics
http://en.wikipedia.org/wiki/Vector_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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.