incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 120300] New: PreventHelpTips is not documented in
Date Tue, 17 Jul 2012 17:33:38 GMT

          Priority: P3
            Bug ID: 120300
           Summary: PreventHelpTips is not documented in
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: All
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.0
         Component: code
           Product: api

Property "PreventHelpTips" is not documented in

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.

View raw message