<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - You cannot access the Floating Frame interface from a macro."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121254">121254</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>You cannot access the Floating Frame interface from a macro.
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.6.1 rc
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kadet38@ya.ru
</td>
</tr></table>
<p>
<div>
<pre>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:</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>