[Libreoffice-bugs] [Bug 128571] New: Draw LayerManager context doesn't work through "basic" editor

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Nov 3 16:44:14 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=128571

            Bug ID: 128571
           Summary: Draw LayerManager context doesn't work through "basic"
                    editor
           Product: LibreOffice
           Version: 6.2.8.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: paour at free.fr

Created attachment 155488
  --> https://bugs.documentfoundation.org/attachment.cgi?id=155488&action=edit
Example in draw document

Context:
2 layers named "Cercles" and "carrés" in draw page.
In "Cercles" layer, différents shape.
The button "Circle with Circle macro" in main page hide or show the draw in
"cecles" shapes.

This macro is link with the button "Circle with Circle macro":
=========================================
sub Circle
dim LibOGestCouches as object
LibOGestCouches  = thiscomponent.LayerManager
        if LibOGestCouches.hasByName("Cercles") then
                LibOGestCouches.getByName("Cercles").IsVisible =_
                not(LibOGestCouches.getByName("Cercles").IsVisible)
        else
                msgbox "No Layer found "
        end if
End sub
============================================
If we execute the macro in "basic" window,
LibOGestCouches.getByName("Cercles").IsVisible = True
doesn't change to 
LibOGestCouches.getByName("Cercles").IsVisible = False
and vice versa

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191103/39822c6c/attachment-0001.html>


More information about the Libreoffice-bugs mailing list