1Testing workbench and editor for Layout engine. 2 3* Configure using --enable-layout. 4 5* [d]make all 6 7* export OOO_INSTALL_PREFIX=$(pwd)/ooo-layout 8 9* [d]make install DESTDIR=$OOO_INSTALL_PREFIX 10 11* Compile test program in toolkit/workben/layout 12 13 cd toolkit/workben/layout && dmake all 14 15* FIXME: New three layer install/rpath feature needs these workarounds 16| 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 20| 21| (see source/layout/helper.cxx) 22 23* Run it on any .xml file 24 25 ../../$INPATH/bin/test [--inst $OOO_INSTALL_PREFIX] zoom.xml 26 27* Run it for specific dialogs, see test.cxx 28 29 ../../$INPATH/bin/test [--inst $OOO_INSTALL_PREFIX] --test zoom 30 ../../$INPATH/bin/test [--inst $OOO_INSTALL_PREFIX] --test wordcount 31 32* Or source refresh in workben/layout, do something like 33 34 cd toolkit/workben/layout && . ./refresh [--inst $OOO_INSTALL_PREFIX] 35 36Integration into OOo: 37 38* After instaling, run 39 40 cd ooo-cvs/program 41 ./soffice.bin 42 43 Start a [Writer] document and choose View/Zoom or Extra/Word count. 44