Jan Nieuwenhuizen wrote:
Juergen Schmidt writes:

i don't think so. I would take a look on the new office structure. The main changes are two type libraries and two service rdb's, one in the office base layer and one in the URE.

Yes, I did not notice that; I figured they were renamed.  Previously,
services.rdb and types.rdb were loaded, but in the new structure
only the UNO_types.rdb and UNO_services.rdb get loaded.
that's not enough, you need the offapi.rdb and the service.rdb from the basis layer as well. It should be fine to put an <yourappname>rc (<yourappname>.ini) besides your test application and specify which rdb's should be used. See for example the fundamentalrc

I haven't tried it but i hope it works ;-)

Juergen


I'm not sure why that is, this may be the problem, or if these now need
to be loaded first.

You will also need a different LD_LIBRARY_PATH according the new structure because not all libraries are now in the same directory.

Yes, that's an obvious fix.

Maybe you can provide some more details about the layout engine test tool. How do you use it and in which context or environment.

The test tool is used to show and test xml dialogs standalone.

To see it working, use dev300-m3 or earlier, to see the breakage,
checkout dev300-m4 or later.  This is all upstream.  A new CWS
("layoutdialogs") with build fixes for Solaris and Windows is
slated for integration later this week.

From the new README:

    Testing workbench and editor for Layout engine.

    * Configure using --enable-layout.

    * [d]make all

    * [d]make install DESTDIR=$(pwd)/ooo-layout/

    * Compile test program in toolkit/workben/layout

      cd toolkit/workben/layout && dmake all

    | Currently broken on dev300 installation: m3 < dev300 <= m10.
    |
    | * Run it on any .xml file
    |
    |   ../../$INPATH/bin/test --inst .../ooo-layout/ zoom.xml
    |
    | * Run it for specific dialogs, see test.cxx
    |
    |   ../../$INPATH/bin/test --inst .../ooo-layout/ --test zoom
    |   ../../$INPATH/bin/test --inst .../ooo-layout/ --test wordcount
    |
    | * Or source refresh in workben/layout, do something like
    |
    |     cd toolkit/workben/layout && . ./refresh --inst .../ooo-layout/

Greetings,
Jan.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to