Difference between revisions of "Documentation/DevGuide/Text/Inserting Text Files"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Text Documents) |
m |
||
(2 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
|NextPage=Documentation/DevGuide/Text/Auto Text | |NextPage=Documentation/DevGuide/Text/Auto Text | ||
}} | }} | ||
− | {{DISPLAYTITLE:Inserting Text Files}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Text/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:Inserting Text Files}} | ||
<!--<idltopic>com.sun.star.document.XDocumentInsertable</idltopic>--> | <!--<idltopic>com.sun.star.document.XDocumentInsertable</idltopic>--> | ||
The text cursor in writer supports the interface <idl>com.sun.star.document.XDocumentInsertable</idl> which has a single method to insert a file at the current cursor position: | The text cursor in writer supports the interface <idl>com.sun.star.document.XDocumentInsertable</idl> which has a single method to insert a file at the current cursor position: | ||
Line 13: | Line 14: | ||
[in] sequence< com::sun::star::beans::PropertyValue > aOptions) | [in] sequence< com::sun::star::beans::PropertyValue > aOptions) | ||
− | Pass | + | Pass an URL and an empty sequence of <code>PropertyValue</code> structs. However, load properties could be used as described in <idl>com.sun.star.document.MediaDescriptor</idl>. |
{{PDL1}} | {{PDL1}} | ||
− | [[Category:Documentation/ | + | [[Category:Documentation/Developer's Guide/Text Documents]] |
Latest revision as of 13:55, 3 January 2021
The text cursor in writer supports the interface com.sun.star.document.XDocumentInsertable which has a single method to insert a file at the current cursor position:
void insertDocumentFromURL( [in] string aURL, [in] sequence< com::sun::star::beans::PropertyValue > aOptions)
Pass an URL and an empty sequence of PropertyValue
structs. However, load properties could be used as described in com.sun.star.document.MediaDescriptor.
Content on this page is licensed under the Public Documentation License (PDL). |