Hi

I'm new to uno + I'm working with puno, so I apologize if my question is
stupid.

I have managed to read a .doc, convert it to sxw, pdf and html and save
in the new format. It works. For instance my readout looks like this:

$x_component_loader=get_remote_xcomponent("uno:socket,host=localhost,port=2002;urp;StarOffice.ServiceManager","com.sun.star.frame.Desktop");
$loadUrl = "file:///tmp/WordEksempel1.doc";
$load_props=array();
$x_component =
$x_component_loader->loadComponentFromURL($loadUrl,'_blank',0,$load_props);

This means that I can convert a document to a file, and read the content of that file into a string.

Now I'd like to split my document into parts, one for each section1 in
the original, and each of these parts should also be split into parts
for each section2. Then I'd like to get the content of each part as
html/pdf/whatever and save it to a php array. So:

1) How do I split a document into sections?

2) How do I convert such a part into for instance html and readout the
resulting html code?

Pointers to the relevant places in the doc would be great, also examples of code that does similar things in either python or java.

Thanks in advance for any response!

--
peace, love & harmony
Atte

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to