log.println( "Switching on footer" );
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"));