Hi Wei Min, Wei Min Teo wrote (07-06-10 09:32)
> I am trying import pdf files to edit. I've installed the sun pdf > import with openoffice 3.1. Pdf files seem to open fine in draw when > i open it from the desktop. > > However, when i use the loadComponentFromURL method, it opens the > file with writer and encoded text appears. I've also tried passing in > "MediaType" in the mediadescriptor with the value of "simpress8" but > it doesn't work. After in stalling the pdfimport extension, I have to choose the File type "PDF - Prortable Document Format (*.pdf)" in order to import a PDF. So I guess (didn't try) that passing that as filter name should work.. HTH & regards, Cor -- >> Your office 2010 software: the new OpenOffice.org << Cor Nouws - ideas/remarks for the community council? - http://wiki.services.openoffice.org/wiki/Community_Council --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org