1cdf0e10cSrcweirTesting workbench and editor for Layout engine. 2cdf0e10cSrcweir 3cdf0e10cSrcweir* Configure using --enable-layout. 4cdf0e10cSrcweir 5cdf0e10cSrcweir* [d]make all 6cdf0e10cSrcweir 7cdf0e10cSrcweir* export OOO_INSTALL_PREFIX=$(pwd)/ooo-layout 8cdf0e10cSrcweir 9cdf0e10cSrcweir* [d]make install DESTDIR=$OOO_INSTALL_PREFIX 10cdf0e10cSrcweir 11cdf0e10cSrcweir* Compile test program in toolkit/workben/layout 12cdf0e10cSrcweir 13cdf0e10cSrcweir cd toolkit/workben/layout && dmake all 14cdf0e10cSrcweir 15cdf0e10cSrcweir* FIXME: New three layer install/rpath feature needs these workarounds 16cdf0e10cSrcweir| 17cdf0e10cSrcweir| test -d $OOO_INSTALL_PREFIX/openoffice.org3 && export OOO_PREFIX_BRAND=$OOO_INSTALL_PREFIX/openoffice.org3 || export OOO_PREFIX_BRAND=$OOO_INSTALL_PREFIX 18cdf0e10cSrcweir| cp -f ../..$INPATH/lib/libtkx.so $OOO_PREFIX/openoffice.org/basis3.0/program 19cdf0e10cSrcweir| export LD_LIBRARY_PATH=$OOO_PREFIX_BRAND/basis-link/program:$OOO_PREFIX_BRAND/basis-link/ure-link/lib 20cdf0e10cSrcweir| 21cdf0e10cSrcweir| (see source/layout/helper.cxx) 22cdf0e10cSrcweir 23cdf0e10cSrcweir* Run it on any .xml file 24cdf0e10cSrcweir 25cdf0e10cSrcweir ../../$INPATH/bin/test [--inst $OOO_INSTALL_PREFIX] zoom.xml 26cdf0e10cSrcweir 27cdf0e10cSrcweir* Run it for specific dialogs, see test.cxx 28cdf0e10cSrcweir 29cdf0e10cSrcweir ../../$INPATH/bin/test [--inst $OOO_INSTALL_PREFIX] --test zoom 30cdf0e10cSrcweir ../../$INPATH/bin/test [--inst $OOO_INSTALL_PREFIX] --test wordcount 31cdf0e10cSrcweir 32cdf0e10cSrcweir* Or source refresh in workben/layout, do something like 33cdf0e10cSrcweir 34cdf0e10cSrcweir cd toolkit/workben/layout && . ./refresh [--inst $OOO_INSTALL_PREFIX] 35cdf0e10cSrcweir 36cdf0e10cSrcweirIntegration into OOo: 37cdf0e10cSrcweir 38*67f7bfb1SJohn Bampton* After installing, run 39cdf0e10cSrcweir 40cdf0e10cSrcweir cd ooo-cvs/program 41cdf0e10cSrcweir ./soffice.bin 42cdf0e10cSrcweir 43cdf0e10cSrcweir Start a [Writer] document and choose View/Zoom or Extra/Word count. 44