How to hide navigation buttons in openoffice script

Openoffice writer has a set of navigation buttons (up, select, down) shown below the vertical scroll bar.

  • I want to remove this, since my application is software for stalls .
  • I want to remove the navigation buttons, not the scroll bar.
  • I am trying to remove / hide them programmatically using Java UNO bindings . However, if there is a solution due to the nature of UNO, this should be possible in any language.
  • I am using openoffice 3.3.0

Navigation button

Things I tried:

  • View options: the scroll bar can be hidden by setting the property ("ShowVertRuler", false) from the view options obtained through XTextDocument => CurrentController => XViewSettingsSupplier => XViewSettings. There are no similar properties for navigation buttons. Interestingly, hiding the scrollbar also hides the navigation buttons, implying that this is all one widget.

  • XUIElement access: I removed other elements, such as toolbars, by retrieving XLayoutManager via XFrame, iterating through the XUIElement list, and calling XLayoutManager.hideElement () with ResourceURL for XUIElement.

  • XAccessible access: , , XAccessible. . . / XAccessible .

  • UNO .

API. .

+3
1

Openoffice - , , , Openoffice .

-1

All Articles