[Libreoffice-bugs] [Bug 121254] New: You cannot access the Floating Frame interface from a macro.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 7 18:12:15 UTC 2018


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

            Bug ID: 121254
           Summary: You cannot access the Floating Frame interface from a
                    macro.
           Product: LibreOffice
           Version: 6.0.6.1 rc
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: kadet38 at ya.ru

Description:
I create a Write document. 
In it I create a Floating Frame (Insert→Frame→Floating Frame).
In the Content (Edit - Object – Properties) field, fill in:
private:factory/scalc .
The Calc frame appears in the Write document.
This built-in the whole document works as a regular Calc document. Cells can be
filled, format, copy, and paste, merge etc, you Can add, format and delete
sheets embedded in the document.
Andrew Pitonyak procedures: Documents_Iteration and getDocType define a frame
as a separate open document of type Unknown.
It is not possible to access the embedded document from a macro.


Steps to Reproduce:
1.Basic Code: 
oDoc = ThisComponent.EmbeddedObjects(0).EmbeddedObject.getComponent()
oSheets = oDoc.oSheets(0)
2.
3.

Actual Results:
BASIC runtime error.
Property or method not found: oSheets.

Expected Results:
Access the embedded document and use the macro to populate the embedded table.


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20181107/cda2351a/attachment.html>


More information about the Libreoffice-bugs mailing list