PropSet.setPropertyValue("FooterIsOn", new Boolean(true));
//change zoom value to 10%
//footer should be in the vissible area of the document
XController xController = xTextDoc.getCurrentController();
XViewSettingsSupplier xViewSetSup = (XViewSettingsSupplier)
UnoRuntime.queryInterface(XViewSettingsSupplier.class,
xController);
XPropertySet xPropSet = xViewSetSup.getViewSettings();
xPropSet.setPropertyValue("ZoomValue", new Short("20"));
} catch ( com.sun.star.lang.WrappedTargetException e ) {
e.printStackTrace(log);
throw new StatusException("Couldn't set propertyValue...", e);
} catch ( com.sun.star.lang.IllegalArgumentException e ) {