Bug 155429 - difficulty using unoidl-write
Summary: difficulty using unoidl-write
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
7.5.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-21 21:24 UTC by Martin Lord
Modified: 2023-06-05 03:14 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
idl input file (522 bytes, text/plain)
2023-05-21 21:27 UTC, Martin Lord
Details
unoidl-write output file (67 bytes, application/octet-stream)
2023-05-21 21:28 UTC, Martin Lord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Lord 2023-05-21 21:24:51 UTC
Description:
I am attempting to write a steam table add in (bulk of this already written in C).

Available tutorials use idlc and regmerge.

Using unoidl-write and the available documentation generated a binary file which overwrote the input file (couldn't work out how to specify the output name).  This output file was unreadable by 

Steps to Reproduce:
C:\Users\martin\source\repos\libre_office_try\libre_office_try>cppumaker -C -Tcom.sun.star.sheet.addin.XTestAddIn -OC:\Users\martin\source\repos\libre_office_try\libre_office_try\out test.idl


Actual Results:
ERROR: Bad format of <file:///C:/Users/martin/source/repos/libre_office_try/libre_office_try/test.idl>, "cannot parse line 1, syntax error"

Expected Results:
a cpp header file


Reproducible: Always


User Profile Reset: No

Additional Info:
an example such as this:

https://niocs.github.io/LOBook/extensions/part10.html

using the updated toolchain would be appreciated!
Comment 1 Martin Lord 2023-05-21 21:27:01 UTC
Created attachment 187428 [details]
idl input file
Comment 2 Martin Lord 2023-05-21 21:28:56 UTC
Created attachment 187429 [details]
unoidl-write output file
Comment 3 Martin Lord 2023-05-21 21:30:43 UTC
... should say unreadable by cppumaker