Hello Bart,

On Monday 07 September 2009, 09:18, Bart Aimar wrote:
> Is possible from macro to control the "Column/Row Headers" visibility?
> 
> (Like:
> Tools > Options > OpenOffice.org Calc > View > Window > Column/Row Headers
>  )

http://api.openoffice.org/docs/common/ref/com/sun/star/sheet/SpreadsheetViewSettings.html#HasColumnRowHeaders

Supposing ThisComponent is a Calc doc., and it has a controller, you can do

ThisComponent.getCurrentController().setPropertyValue(_
"HasColumnRowHeaders", True)

Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to