https://issues.apache.org/ooo/show_bug.cgi?id=120300
Priority: P3
Bug ID: 120300
Assignee: [email protected]
Summary: PreventHelpTips is not documented in
com.sun.star.text.ViewSettings
Severity: normal
Issue Type: DEFECT
Classification: Code
OS: All
Reporter: [email protected]
Hardware: All
Status: CONFIRMED
Version: AOO 3.4.0
Component: code
Product: api
Property "PreventHelpTips" is not documented in com.sun.star.text.ViewSettings
Sub Main
Dim oDoc as Object
Dim oController as Object
oDoc = ThisComponent
oController = oDoc.getCurrentController()
Dim oViewSettings as Object
oViewSettings = oController.getViewSettings()
Dim oPropInfo as Object
oPropInfo = oViewSettings.getPropertySetInfo()
If oPropInfo.hasPropertyByName("PreventHelpTips") Then
'Toggle it
Dim bPropVal as Boolean
bPropVal = oViewSettings.getPropertyValue("PreventHelpTips")
oViewSettings.setPropertyValue("PreventHelpTips", NOT bPropVal)
End If
End Sub
--
You are receiving this mail because:
You are the assignee for the bug.