Bug 116160 - Writer should write draw:class-id for OLE object (which contains the clsid number)
Summary: Writer should write draw:class-id for OLE object (which contains the clsid nu...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OLE-Objects
  Show dependency treegraph
 
Reported: 2018-03-03 14:46 UTC by Regina Henschel
Modified: 2018-03-10 17:21 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2018-03-03 14:46:52 UTC
This bug needs Windows for testing.

Start Writer. Insert > Object > OLE Object > Create New and Further Objects. Select an application from the list, but neither LibreOffice or ApacheOpenOffice or similar, e.g. PaintBrush.

Create the object. You will likely find "End and back" or "update" in the file menu of that application. Finish that way.

Back in Writer save the document. Open the file and inspect the <draw:object-ole> element. It should have a draw:class-id attribute which the clsid number for the used application, but this attribute is missing.

Do the same with starting with Calc, Draw, or Impress. There the attribute is written.

The attribute is not mandatory, but it is useful for interoperability to write this attribute. And as the other modules write it, Writer should write it too.

In the API the CLSID exists both for TextEmbeddedObject and for OLE2Shape.
Comment 1 Buovjaga 2018-03-10 17:21:54 UTC
I believe you and thus set to NEW.