How to convert DOC to html like PPT to html?

Java, C++, C#, Delphi, ??? - Using the UNO bridges

How to convert DOC to html like PPT to html?

Postby taira » Sun Jul 10, 2016 3:20 pm

I use JODConvert 2.2 + OpenOffice for some office file convert test.

When I test convert .ppt file to HTML file. I found it generates html file by each page.For example: a PPT has 20 pages, It generates 20 html files.
But, I convert a 100 pages .doc file into .HTML file. It only generates one html file.
I hope it can split into 100 html files. Because I don't want user to view a doc on Android/iOS Phone must waiting a long time to load the hole document.
So, My question is:
1. Can OpenOffice support doc to html split into each pages?
2. How about each 10 doc pages in 1 html ?

Is there any document or API for metion it?

Thanks.
Windows,Linux, OpenOffice3.1
taira
 
Posts: 2
Joined: Sun Jul 10, 2016 2:40 pm

Re: How to convert DOC to html like PPT to html?

Postby RusselB » Sun Jul 10, 2016 5:58 pm

Sounds to me like your easiest solution is to add an extra step, that of converting the .doc to .ppt
I have no knowledge of JODConvert, so I don't know it's capabilities.
When it comes to converting files into formats that Open Office doesn't support, I usually use http://www.zamzar.com
OpenOffice 4.1.4 and LibreOffice 5.2.7.2 on Windows 7 Pro & Ultimate
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
RusselB
Volunteer
 
Posts: 4517
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: How to convert DOC to html like PPT to html?

Postby taira » Tue Jul 12, 2016 4:03 am

Thanks for Reply.
It seems cannot convert .doc to .ppt directly.
I am looking for the UNO doc, hopes it can help me to understand how it work it.
If any update, I will mark in this.
Windows,Linux, OpenOffice3.1
taira
 
Posts: 2
Joined: Sun Jul 10, 2016 2:40 pm

Re: How to convert DOC to html like PPT to html?

Postby RoryOF » Sat Jul 16, 2016 9:29 pm

http://www.zamzar.com will convert .doc to html direct, which was the original question. It offers generic html, also html4 and html5.
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 27179
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland


Return to External Programs

Who is online

Users browsing this forum: No registered users and 1 guest