I'm using OpenOffice Draw for creating technical sketches with correct dimensions.
This is easily achievable in a draw document with scale and grid settings, like e.g.
- Tools –> Options –> OpenOffice Draw –> General –> Document scale = e.g. 1:20 or 1:50
- Tools –> Options –> OpenOffice Draw –> Grid –> Resolution –> Horisontal / Vertical = e.g. 0.5 cm or 1 cm
- Tools –> Options –> OpenOffice Draw –> Grid –> Subdivision –> Horisontal / Vertical = 5, 10 or 20
Is there a way to change these setting using an openoffice VBA macro? I expect something like e.g.
Code: Select all
ActiveDocument.Settings.Grid.Resolution.Horisontal = 0.5
ActiveDocument.Settings.Grid.Subdivisions.Horisontal = 10
Thanks in advance, any comments or ideas are welcome!