[java Draw] convert to png and save

The Application Programming Interface and the OASIS Open Document Format

[java Draw] convert to png and save

Postby duplak » Thu Aug 01, 2013 3:07 pm

Hey all,

I've been trying to convert odt files to png in java with oo draw (private:factory/sdraw) but i allways see that the odt file is open in read-only mode. there is no .lock files.
i open oo with these parameters: -invisible -accept=socket,port=xx;urp;

What could be the problem ?

when i try to see props of the opened odt file, i get these:
Code: Select all   Expand viewCollapse view

--URL: file:///C:/xx.odt
--FilterName: draw8
--InteractionHandler: Any[Type[com.sun.star.task.XInteractionHandler], [Proxy:31199736,c59fa14;msci[0];fd3a5120f5bd4fa298b6bc4ac16e789,Type[com.sun.star.task.XInteractionHandler]]]
--UCBContent: Any[Type[com.sun.star.ucb.XContent], [Proxy:18863523,bb6733c;msci[0];fd3a5120f5bd4fa298b6bc4ac16e789,Type[com.sun.star.ucb.XContent]]]
--Frame: Any[Type[com.sun.star.frame.XFrame], [Proxy:16966076,72b85e4;msci[0];fd3a5120f5bd4fa298b6bc4ac16e789,Type[com.sun.star.frame.XFrame]]]
--ReadOnly: true
--Hidden: true
--MacroExecutionMode: 0
--UpdateDocMode: 0
--DocumentBaseURL: file:///C:/xx.odt
--: Any[Type[void], null]
--WinExtent: [I@32065d
--Title: XXXXX
LibreOffice-3.5.3 on Windows 7
duplak
 
Posts: 2
Joined: Thu Aug 01, 2013 2:58 pm

Re: [java Draw] convert to png and save

Postby duplak » Sun Aug 04, 2013 5:13 pm

UP! any ideas ?
LibreOffice-3.5.3 on Windows 7
duplak
 
Posts: 2
Joined: Thu Aug 01, 2013 2:58 pm

Re: [java Draw] convert to png and save

Postby Zizi64 » Sun Aug 04, 2013 8:27 pm

I've been trying to convert odt files to png in java with oo draw


Are you sure the Writer (odt) file was opened with the Draw program?


there is a similar topic:
viewtopic.php?f=20&t=63302
Tibor Kovacs, Hungary; LO6.1.6, 6.4.7 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.1.1;AOO4.1.9
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 9838
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary


Return to UNO API and ODF

Who is online

Users browsing this forum: No registered users and 2 guests