merged tag ooo/DEV300_m102
[LibreOffice.git] / toolkit / workben / layout / README
blob3b83bbfc00cdde7988dd60c4b4be23f79f3274d1
1 Testing workbench and editor for Layout engine.
3 * Configure using --enable-layout.
5 * [d]make all
7 * export OOO_INSTALL_PREFIX=$(pwd)/ooo-layout
9 * [d]make install DESTDIR=$OOO_INSTALL_PREFIX
11 * Compile test program in toolkit/workben/layout
13   cd toolkit/workben/layout && dmake all
15 * FIXME: New three layer install/rpath feature needs these workarounds
17 |  test -d $OOO_INSTALL_PREFIX/openoffice.org3 && export OOO_PREFIX_BRAND=$OOO_INSTALL_PREFIX/openoffice.org3 || export OOO_PREFIX_BRAND=$OOO_INSTALL_PREFIX
18 |  cp -f ../..$INPATH/lib/libtkx.so $OOO_PREFIX/openoffice.org/basis3.0/program
19 |  export LD_LIBRARY_PATH=$OOO_PREFIX_BRAND/basis-link/program:$OOO_PREFIX_BRAND/basis-link/ure-link/lib
21 |  (see source/layout/helper.cxx)
23 * Run it on any .xml file
25   ../../$INPATH/bin/test [--inst $OOO_INSTALL_PREFIX] zoom.xml
27 * Run it for specific dialogs, see test.cxx
29    ../../$INPATH/bin/test [--inst $OOO_INSTALL_PREFIX] --test zoom
30    ../../$INPATH/bin/test [--inst $OOO_INSTALL_PREFIX] --test wordcount
32 * Or source refresh in workben/layout, do something like
34    cd toolkit/workben/layout && . ./refresh [--inst $OOO_INSTALL_PREFIX]
36 Integration into OOo:
38 * After instaling, run
40   cd ooo-cvs/program
41   ./soffice.bin
43   Start a [Writer] document and choose View/Zoom or Extra/Word count.