Apache OpenOffice (AOO) Bugzilla – Issue 89489
There is no access to get GuideLine property in writer
Last modified: 2013-02-24 21:08:46 UTC
We found we cannot get current GuideLine property in swriter and set state according to specified. It's no problem in OpenOffice. We therefore there is property in internal, but it haven't been exposed through API. The GuileLine property in swriter is show/hide guide line when control moving in canvas. its Uno command is uno:HelplinesMove.
jsc -> tl: seems to be one for you
Respective slot is SID_HELPLINES_MOVE in view0.cxx...
TL->xuedm: BTW since there is a respective menu entry in the UI you should be able to use the macro recorder and record a macro for calling that menu entry. That macro you should then be able to call. Thus there is at least a work-around for now.
Yes, we can modify the state. However we don't know the current state, on or off. We cannot give end user clear result when he/she sends the command. Could you give us some suggestions how to expose it through API?
SBA: This issue has a target set but is still in state of "Unconfirmed". Please re-check with OOo 3.0 or younger if it is (still) valid. Then confirm it or set an appropriate resolution. Thank you.
Not time left to fix this one in OO0 3.1 because of other issues.
There is a configuration property named "Writer/Grid/Option/VisibleGrid" but currently no one is listening permanently to this one. The respective SwGridConfig is only used for read/write access to the configuration.
Created attachment 60095 [details] Document with sample macro to access the respective configuration value
Setting target to OOo 3.x as discussed with SBA.