Apache OpenOffice (AOO) Bugzilla – Issue 25719
It is not possible to set the view grid options
Last modified: 2013-02-24 21:08:01 UTC
The view settings IsGridVisible IsSnapToGrid IsSynchroniseAxes HorizontalGridResolution HorizontalGridSubdivision VerticalGridResolution VerticalGridSubdivision are missing. I've added this isssue to the cws insight01. Best regards, Ocke
.
Fixed in CWS insight01. Files changed: sw: - SwXDocumentSettings.cxx 1.30.80.1 - unomod.cxx 1.22.34.1 offapi: - css.text.ViewSettings.idl 1.12.60.1 In my Office (not build from the CWS) the application crashed when I double clicked at the zoom factor in the status bar after I had inserted a rectangle. Also the "Tools/Options" dialog was not displayed. I guess these problems vanish when you finally build the instset for the CWS. The macro I used for testing: Sub Main oDoc = thiscomponent oVS = oDoc.getCurrentController().getViewSettings() 'msgbox IsNull(oVS) 'msgbox oVS.dbg_properties 'msgbox oVS.getImplementationName() oVS.setPropertyValue( "IsRasterVisible", true ) oVS.setPropertyValue( "IsSnapToRaster", true ) oVS.setPropertyValue( "RasterSubdivisionX", 5 ) oVS.setPropertyValue( "RasterSubdivisionY", 5 ) msgbox oVS.IsRasterVisible msgbox oVS.IsSnapToRaster msgbox oVS.RasterSubdivisionX msgbox oVS.RasterSubdivisionY msgbox oVS.RasterResolutionX msgbox oVS.RasterResolutionY oVS.RasterResolutionX = 2000 oVS.RasterResolutionY = 2000 'msgbox oVS.RasterResolutionX 'msgbox oVS.RasterResolutionY End Sub
See feature mail 2882.
macro works in cws insight01
reopen
reassign
set to fixed
set to verify
Hi, fixed in current developer build -> close. The current developer build can be found at http://download.openoffice.org/680/index.html Feel free to reopen if this issue is not fixed in the developer build. Bye Marc