[Libreoffice] errors in idl files

Tomas Hlavaty tomas.hlavaty at knowledgetools.de
Wed Nov 23 09:02:05 PST 2011


Hi all,

I would like to report a few errors in idl files, see below.

Also, is the binary format of the binary rdb files specified and
described somewhere?

I've been parsing idl files from libreoffice git repository (offapi/ and
udkapi/) and hit some issues trying to #include dependencies.

The com/sun/star/chart2 module seems rather broken, so I wonder if it is
used?

The errors I got were when trying:

   #include <com/sun/star/chart2/XUndoSupplier.idl>
   #include <com/sun/star/chart2/XScale.idl>
   #include <com/sun/star/chart2/BitmapProperty.idl>
   #include <com/sun/star/chart2/DataCaptionStyle.idl>
   #include <com/sun/star/chart2/CoordinateSystemSupplier.idl>
   #include <com/sun/star/chart2/data/XDataSeries.idl>
   #include <com/sun/star/layout/RelativeSize.idl>
   #include <com/sun/star/chart2/XGrid.idl>
   #include <com/sun/star/chart2/DataSequence.idl>
   #include <com/sun/star/chart2/XMutableDataSequence.idl>
   #include <com/sun/star/layout/LayoutElement.idl>
   #include <com/sun/star/chart2/XRangeHighlighter.idl>

   #include <com/sun/star/chart2/XLegendSymbolProvider.idl>
   #include <com/sun/star/chart2/ExplicitSubIncrement.idl>
   #include <com/sun/star/chart2/DataSource.idl>
   #include "com/sun/star/chart2/LegendSymbolStyle.idl"
   #include <com/sun/star/chart2/XUndoManager.idl>
   #include <com/sun/star/document/XVbaEventsHelper.idl>
   #include <com/sun/star/drawing/framework/XPaneController.idl>
   #include <com/sun/star/drawing/framework/XViewController.idl>
   #include <com/sun/star/drawing/framework/XResourceController.idl>
   #include <com/sun/star/drawing/framework/XResourceController.idl>
   #include <com/sun/star/drawing/framework/XPaneFactory.idl>
   #include <com/sun/star/linguistic2/SingleGrammarError.idl>
   #include <com/sun/star/script/XVBAMacroHelper.idl>
   #include <com/sun/star/script/XVBAMacroResolvedInfo.idl>

so there are idl files that try to include nonexisting dependencies or
misnamed dependencies (e.g. com/sun/star/chart2/XScale.idl seems to be
com/sun/star/chart2/XScaling.idl now).

There are also files that should probably use #include "..." to search
in the current/relative directory:

   #include <NativeNumberXmlAttributes.idl>
   #include <MultipleCharsOutputException.idl>
   #include <XLanguageGuessing.idl>
   #include <XLogger.idl>
   #include <XLoggerRemote.idl>

Cheers,

Tomas


More information about the LibreOffice mailing list