incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120300] New: PreventHelpTips is not documented in com.sun.star.text.ViewSettings
Date Tue, 17 Jul 2012 17:33:38 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120300

          Priority: P3
            Bug ID: 120300
          Assignee: ooo-issues@incubator.apache.org
           Summary: PreventHelpTips is not documented in
                    com.sun.star.text.ViewSettings
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: All
          Reporter: arielch@apache.org
          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.

Mime
View raw message