How to insert a template/file in an opened Impress document?

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
shanky1897
Posts: 11
Joined: Mon Feb 14, 2011 12:09 pm

How to insert a template/file in an opened Impress document?

Post by shanky1897 »

Hi All,
I am working on creating an extension in openoffice in which I need to load the Impress template from a location("D:\My_Template\MY_Impress_Template.otp") to already opened Impress presenattion through programming but I am unable to achieve it.
I am using using netbeans to develop this tool.
Also I had searched on the Internet alot but there is no solution avaialble but I had got a link( http://wiki.services.openoffice.org/wik ... ting_Files)
which states that it is not possible to insert the file in impress.

Please help me I am in urgent need for the solution of the same else my project will be failed.

I don't want to load a fresh component but to insert the template file from url to an existing open document on the desktop.

Please provide me sample code in Java Uno if it is possible to insert file in impress.
Regards,
Shankar Chavan
Open-office 3.2, windows XP
Post Reply