How to convert DOC to html like PPT to html?

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
taira
Posts: 2
Joined: Sun Jul 10, 2016 2:40 pm

How to convert DOC to html like PPT to html?

Post by taira »

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
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

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

Post by RusselB »

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.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
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.
taira
Posts: 2
Joined: Sun Jul 10, 2016 2:40 pm

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

Post by taira »

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
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Post by RoryOF »

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.15 on Xubuntu 22.04.4 LTS
Post Reply