OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Linux HTML to DOC conversion

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
softidea
Newbie
Newbie


Joined: 05 Jul 2005
Posts: 1

PostPosted: Tue Jul 05, 2005 1:06 am    Post subject: Linux HTML to DOC conversion Reply with quote

Hello to the Community.

I need to convert an HTML formatted document to a DOC formatted document.
Is this possible via command line ?
Thanks in advance for any help.

Sergio
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Tue Jul 05, 2005 3:41 am    Post subject: Re: Linux HTML to DOC conversion Reply with quote

softidea wrote:
I need to convert an HTML formatted document to a DOC formatted document. Is this possible via command line ?

Yes. A good starting point is this thread http://www.oooforum.org/forum/viewtopic.phtml?t=3772&highlight=command+line+convert, although it covers other file formats. Loading should be the same. For saving you should use something other than "writer_pdf_Export3" like "MS Word 95" to get DOC.

With kind regards
hol.sten
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Wed Jul 06, 2005 8:45 am    Post subject: Reply with quote

Many past examples.


In particulare, if you are converting from html, BE SURE to see the threads below named "Open HTML with Writer not Web in order to export ". If you fail to use an import filter for HTML to Writer, then you end up loading the html in Web which offers very few export possibilities.




Document Conversion
===================

Current list of past examples.
http://www.oooforum.org/forum/viewtopic.php?t=12922


Convert any document type into PDF
http://www.oooforum.org/forum/viewtopic.php?p=62219#62219

How convert Powerpoint slides to jpeg using openoffice api?
(slide splitter)
http://www.oooforum.org/forum/viewtopic.php?t=8715

List of many past conversion examples
http://www.oooforum.org/forum/viewtopic.php?t=4998

Filter list
http://www.oooforum.org/forum/viewtopic.php?t=3549
List of converters available in OOo 2.0 (1.9.x)?
Instructions to produce filter list
http://www.oooforum.org/forum/viewtopic.phtml?t=21404

Recursive Folder of Html into PDF,Txt,SXW,DOC
http://www.oooforum.org/forum/viewtopic.php?p=45659#45659
Recursive Folder of SXD to SDC (StarCalc 5)
http://www.oooforum.org/forum/viewtopic.phtml?t=17247

Setting Image size for JPEG export
http://www.oooforum.org/forum/viewtopic.php?t=11838

Xcel to Calc conversion using the API
http://www.oooforum.org/forum/viewtopic.php?t=2668

A very similar one, converting Xcel to Text
http://www.oooforum.org/forum/viewtopic.php?t=2819

Batch mode conversion
http://www.oooforum.org/forum/viewtopic.php?p=16056#16056

Document conversion
http://www.oooforum.org/forum/viewtopic.php?t=4163

VB: converting Excel files to txt files
http://www.oooforum.org/forum/viewtopic.php?t=3194
General Visual Basic document conversion of Text...
http://www.oooforum.org/forum/viewtopic.php?p=22034#22034

Converting Word -> PDF from the command line
http://www.oooforum.org/forum/viewtopic.php?t=3772
http://www.oooforum.org/forum/viewtopic.php?t=5513
http://www.oooforum.org/forum/viewtopic.php?t=3768
PyOpenOffice tool to convert SXW to PDF without using OOo
http://www.oooforum.org/forum/viewtopic.php?t=12757

Convert Word --> Writer from the command line
http://www.oooforum.org/forum/viewtopic.php?p=24891#24891

Convert Excel -> PDF from the command line
http://www.oooforum.org/forum/viewtopic.php?t=5596
http://www.oooforum.org/forum/viewtopic.php?p=21050#21050

Convert SXC to CSV from commandline
http://www.oooforum.org/forum/viewtopic.php?t=6987

Convert PPT to HTML from command line...
http://www.oooforum.org/forum/viewtopic.php?t=5137

Convert PPT to HTML short example...
http://www.oooforum.org/forum/viewtopic.php?t=9437

Convert PPT to PDF short example...
http://www.oooforum.org/forum/viewtopic.phtml?p=76969#76969

see tail end of thread...
http://www.oooforum.org/forum/viewtopic.php?t=3772

Converting SXW -> PDF
http://www.oooforum.org/forum/viewtopic.php?t=3017

Draw export to PDF
http://www.oooforum.org/forum/viewtopic.php?t=3545

In Python...
http://www.oooforum.org/forum/viewtopic.php?t=3451

Thread about converting document to PDF in Java
http://www.oooforum.org/forum/viewtopic.php?t=1480

Convert SXW to DOC with Java
http://www.oooforum.org/forum/viewtopic.phtml?p=81846#81846

I wrote a batch document converter
http://www.oooforum.org/forum/viewtopic.php?t=3525
http://www.oooforum.org/forum/viewtopic.php?t=2810
http://www.oooforum.org/forum/viewtopic.php?p=10311#10311
you can get it here
http://www.ooomacros.org/user.php#95532
more discussion of it here...
http://www.oooforum.org/forum/viewtopic.php?t=5708

Macro to save in three formats
http://www.oooforum.org/forum/viewtopic.php?t=3612
Macro to save backups with timestamps
http://www.oooforum.org/forum/viewtopic.php?t=7674

Open HTML with Writer not Web in order to export
http://www.oooforum.org/forum/viewtopic.php?t=3973
http://www.oooforum.org/forum/viewtopic.php?p=44367#44367
How to convert HTML into OpenOffice File?
http://www.oooforum.org/forum/viewtopic.php?t=11580
Page size pblm when converting HTML to PDF
http://www.oooforum.org/forum/viewtopic.phtml?p=63682#63682

Discussion that ends in DocConverter utility.
http://www.oooforum.org/forum/viewtopic.php?t=2668

Convert DBF into XLS, SXC, PDF and HTML
http://www.oooforum.org/forum/viewtopic.php?t=5728

Good Visual Basic code example...converting documents
http://www.oooforum.org/forum/viewtopic.php?t=7673

Draw exporting and printing
http://www.oooforum.org/forum/viewtopic.php?t=3620



Using OOo's source code to read / convert / write documents
in the formats supported by its filters.
http://www.oooforum.org/forum/viewtopic.php?t=5785




Import Export Filters list
==========================
Filter properties for OOo 2.0
http://www.oooforum.org/forum/viewtopic.php?p=57209#57209

Finding filter options from source code
http://www.oooforum.org/forum/viewtopic.php?p=49969#49969

Here is complete list of Filter names in OOo 1.1rc1
http://www.oooforum.org/forum/viewtopic.php?t=3549
more sophisticated filter list
http://www.oooforum.org/forum/viewtopic.php?p=15416#15416

http://framework.openoffice.org/files/documents/25/897/filter_description.html

http://www.oooforum.org/forum/viewtopic.php?t=3545
http://www.oooforum.org/forum/viewtopic.php?t=3175
http://www.oooforum.org/forum/viewtopic.php?p=10311#10311

No documentation on filter options
http://www.oooforum.org/forum/viewtopic.php?t=2735
http://www.oooforum.org/forum/viewtopic.php?t=3458
http://www.oooforum.org/forum/viewtopic.php?t=5565
Some possible insight to filter options
http://www.oooforum.org/forum/viewtopic.php?t=6769

Export Calc to text UTF8
http://www.oooforum.org/forum/viewtopic.php?p=47399#47399


Developing Filters for Writer
http://www.oooforum.org/forum/viewtopic.php?p=20672#20672
http://ooo.ximian.com/text-tutorial.html

Using XSLT filter adapter to import some XML to Writer
http://www.oooforum.org/forum/viewtopic.php?t=5825

Building XML import/export filters using XSLT
http://www.oooforum.org/forum/viewtopic.php?t=6809


FilterOptions
=============

For dBase import filter
http://www.oooforum.org/forum/viewtopic.php?t=6058
http://www.oooforum.org/forum/viewtopic.php?t=5728

Exporting page range to PDF using FilterData
http://www.oooforum.org/forum/viewtopic.php?p=31247#31247




Command line arguments
======================
http://www.oooforum.org/forum/viewtopic.php?t=4899
http://fr.openoffice.org/Documentation/How-to/Basic/command%20parameters.htm
http://www.oooforum.org/forum/viewtopic.php?p=11058#11058
http://www.oooforum.org/forum/viewtopic.php?p=10972#10972
http://www.oooforum.org/forum/viewtopic.php?t=3548

See "The Office Headless Mode" at this site...
http://framework.openoffice.org/servlets/ProjectDocumentList

Passing array of arguments to macro
http://www.oooforum.org/forum/viewtopic.php?t=3745

Use .uno:Open to display open dialog
http://www.oooforum.org/forum/viewtopic.php?t=4224

Command-line options of StarOffice
http://www.oooforum.org/forum/viewtopic.php?t=1789

http://framework.openoffice.org/files/documents/25/806/Command_line_arguments_in_OpenOffice.html

Run Impress presentation from command line
http://www.oooforum.org/forum/viewtopic.php?t=1051



Executing Macros via. URL or command line
or via. dispatcher
=========================================

Use a macro:/// url via. the Dispatcher
http://www.oooforum.org/forum/viewtopic.php?t=6079

Start macro from commad line
http://www.oooforum.org/forum/viewtopic.php?t=7975

Open document, then run a document macro from command line
http://www.oooforum.org/forum/viewtopic.php?p=44925#44925

http://www.oooforum.org/forum/viewtopic.php?t=4071
http://www.oooforum.org/forum/viewtopic.php?p=15589#15589
http://www.oooforum.org/forum/viewtopic.php?p=9861#9861
http://www.oooforum.org/forum/viewtopic.php?p=17377#17377
http://www.oooforum.org/forum/viewtopic.php?t=3196
http://www.oooforum.org/forum/viewtopic.php?t=2619
http://www.oooforum.org/forum/viewtopic.php?p=11794#11794

http://www.oooforum.org/forum/viewtopic.php?p=13053#13053

http://www.oooforum.org/forum/viewtopic.php?t=4285

http://www.oooforum.org/forum/viewtopic.php?t=3772

http://www.oooforum.org/forum/viewtopic.php?t=4163

http://www.oooforum.org/forum/viewtopic.php?t=2688

Calling macro in different document, and pass parameter...
http://www.oooforum.org/forum/viewtopic.php?t=5564
Shorter technique, and also on a saved or Untitled document....
http://www.oooforum.org/forum/viewtopic.php?p=25232#25232
use a dot as document name to refer to current document
http://www.oooforum.org/forum/viewtopic.php?t=6808

Call macro in different document from VB and pass parameter...
http://www.oooforum.org/forum/viewtopic.php?t=6221

MacroExecutionMode to give macros in other document permission to run
Open a new document base on a template with macro
http://www.oooforum.org/forum/viewtopic.phtml?p=16178#16178
Pblm with Executing a macro while loading a document
http://www.oooforum.org/forum/viewtopic.phtml?p=77544#77544
Problem with loading document
http://www.oooforum.org/forum/viewtopic.phtml?p=74170#74170

http://www.oooforum.org/forum/viewtopic.phtml?p=60956#60956


how to execute java macros
http://www.oooforum.org/forum/viewtopic.phtml?t=19132

undocumented com.sun.star.script.ApplicationScriptLibraryContainer
and com.sun.star.script.ApplicationDialogLibraryContainer
http://www.oooforum.org/forum/viewtopic.phtml?p=46207#46207



Dispatcher
==========
What is the dispatcher
http://www.oooforum.org/forum/viewtopic.php?p=45445#45445

http://www.oooforum.org/forum/viewtopic.php?p=11794#11794

List of dispatch URL's and slots
using SaveAs dispatch with parameters
http://www.oooforum.org/forum/viewtopic.php?t=7726
http://www.oooforum.org/forum/viewtopic.php?t=8057
http://framework.openoffice.org/files/documents/25/1042/commands_11beta.html
http://api.openoffice.org/files/documents/22/1344/slots.sxc

How to know which menu items executes which office command?
Brief explanation of dispatcher, slots, url's, custom protocols,
and an example program that modifies office menus and toolbar.
http://www.oooforum.org/forum/viewtopic.php?t=9850

Example of adding Bold menu item to writer, showing
relationship of Tools --> Configure, to the XML file,
and macro recorder code, and slots.sxc
http://www.oooforum.org/forum/viewtopic.php?p=49408#49408

Using dispatcher in Java
http://www.oooforum.org/forum/viewtopic.php?p=50429#50429
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group