Products->CZ Document Converter COM:

CZ Document Converter COM V4.0


About

CZ Document Converter COM is a component/object designed to assist you, the developer, to quickly add a document conversion utility to your application. It can be called from VB, VC, DELPHI. It is a batch office document converter that
converts doc, html, rtf, text, Lotus 1-2-3, WordPerfect and Works for windows etc file format that that you can open in Microsoft Word to Postscript Files (PDF, PS, EPS, PXL etc), Images Files (PNG, JPEG, TIFF, PNM, BMP etc), HTML, RTF, TXT (ANSI and Unicode), DOC, XLS, MCW, WRI, WPD, WK4, WPS, SAM, RFT, WSD and more!

To convert your documents, just select destination file format, then click "Add Files" or "Add Folders" button to add files, final click "Convert" button to get conversion result, it is very easy to use! 

Furthermore, we provide some VB and DELPHI examples.  Although you may not be using Visual Basic and DELPHI, the approach for all development environments will be similar.

Key Features

  • Source file formats include many office file formats, for example Word Documents (*.doc), Web Pages (*.htm,*.html), Web Archives (*.mth,*.mthml), Rich Text Format (*.rtf), Text File (*.txt), Lotus 1-2-3 (*.wk1;*.wk3;*.wk4), Windows Write (*.wri), Word 2.x 4.x 5.x 6.0/95 for Windows & Macintosh (*.doc), WordPerfect 5.x 6.x (*.wpd,*.doc), Works 4.x 2000 (*.wps,*.wpt) etc, you can get detail information from Supported File Format List.
  • Destination file formats include below formats, and you can get detail information from Supported File Format List.
    1. Postscript file formats Acrobat PDF Files(*.pdf, doesn't require Adobe Acrobat to be installed), PS, EPS, PS2;
    2. Images file formats PNG, JPEG, TIFF, PNM, BMP etc;
    3. many office file formats Word Documents (*.doc), Web Pages (*.htm,*.html), Web Archives (*.mth,*.mthml), Rich Text Format (*.rtf), Text File (*.txt), Windows Write (*.wri), Word 2.x 4.x 5.x 6.0/95 for Windows & Macintosh (*.doc), WordPerfect 5.x 6.x (*.wpd,*.doc), Works 4.x 2000 (*.wps,*.wpt) etc,
  • supports batch conversion
  • support COM interface and command line arguments.
  • watch source file path and convert new uploading ms word documents automatically.
  • can add the files in subfolders to convert.
  • supports drag files and folders from your desktop.
  • fit to convert so much as over 1 million files in folder, you need not wait at all. 

Supported File Format List

File Formats whether can be opened? whether can be saved? note

Word 2007 Document (*.docx)

Macro-enabled  Word 2007 Document (*.docm)

Word 2007 Template (*.dotx)

Macro-enabled  Word 2007 Template (*.dotm)

OpenDocument Text (*.odt)

Y Y you need install ms word 2007 or above
Word 2003 XML Document (*.xml) Y Y you need install ms word 2003 or above
Web Archive (*.mht; *.mhtml) Y Y you need install ms word 2002 or above
Word Documents(*.doc)

Document Templates(*.dot)

Web Pages(*.htm,*.html)

Rich Text Format(*.rtf)

Text File(*.txt)

MS-DOS Text with Layout (*.asc)

Text with Layout (*.ans)

Word 2.x for Windows (*.doc)

Word 4.0 for Macintosh (*.mcw)

Word 5.0 for Macintosh (*.mcw)

Word 5.1 for Macintosh (*.mcw)

Word 6.0/95 (*.doc)

Word 97-2002 & 6.0/95 - RTF (*.doc)

Word for Windows 5.0 (*.doc)

WordPerfect 5.0 (*.doc)

WordPerfect 5.0 Secondary File (*.doc)

WordPerfect 5.1 for DOS (*.doc)

WordPerfect 5.1 or 5.2 Secondary File (*.doc)

WordPerfect 5.x for Windows (*.doc)

Works 2000 (*.wps)

Works 4.0 for Windows (*.wps)

Works 6.0 - 9.0 (*.wtf)

Works 6.0 - 9.0 (*.wps)

Works 7.0 (*.wtf)

Ami Pro 3.0 (*.sam)

Y Y you need install ms word 95 or above

Lotus 1-2-3 (*.wk1;*.wk3;*.wk4)

Excel Worksheet(*.xls,*.xlw)

FoxPro / dBASE (*.dbf)

Recover Text from Any File(*.*)

Y N you need install ms word 95 or above
Outlook Address Book(*.olk)

Personal Address Book (*.pab)

Schedule+ Contacts (*.scd)

Y N you need install ms word 95, 97, 2000, 2002 or 2003

please note these formats do not be supported by ms word 2007 and above

Acrobat PDF Files(*.pdf)

postscript language levels 1(*.ps)

postscript language levels 2 and 3(*.ps)

encapsulated postscript(*.eps)

HP PCL-XL(*.pxl), a graphic language understood by many recent laser printers

N Y you need install ms word 95 or above

doesn't require Adobe Acrobat to be installed, supports watermark, creates encrypted documents and other many options

Portable Network Graphics(*.png), is the recommended format for high-quality images. It supports full quality color and transparency, offers excellent lossless compression of the image data, and is widely supported.

JPEG Files(*.jpg)

PNM (portable network map)(*.pnm), very simple uncompressed image formats commonly used on unix-like systems

Color and Black-White TIFF Files(*.tiff)

G3 G4 TIFF FAX Files(*.tiff)

BMP Files(*.bmp)

PCX Files(*.pcx)

PSD Files(*.psd), PSD is the image format used by Adobe Photoshop

N Y you need install ms word 95 or above

supports watermark and other options

Read-only Picture/Image MS Word Doc Files(*.doc) can not be modified or edited, it includes all page pictures/images of the source documents, and it is non-editable/un-editable, so you can share your word documents without any misgiving. N Y you need install ms word 95 or above

supports watermark and other options

System Requirements
1.You will need a Pentium 150 PC or higher, 16MB RAM or more. 
2. The operating system should be 32 bit or 64 bit Win95, Win98, Win2000, WinNT 4.0, WinME, WinXp, Win2003, Win Vista, Win 7, Win 8, Win 2008, Win 2012..
3.Of course, you must install Microsoft Word 95 or higher for windows.

What's New In CZ Document Converter COM?
09/24/2013
released CZ Document converter COM V4.0 Build130924, add read-only picture/image ms word doc file output formats, and so you can make the ms word files completely un-editable/non-editable, and you will not worry about the modification or edit.
03/14/2011
released CZ Document converter COM V3.0 Build110314, add images (png, jpg, tiff, pnm, psd, pcx, bmp) and postscript and pdf files output formats, and support watermark and other many options.
03/14/2008
release
CZ Document converter COM V2.0 Build080314, can convert the word documents with open password, and command line supports open password function, thanks for Martin Brindley's advice.

06/11/2004
release CZ Document converter COM v1.0 build041106, add pdf format output.
20/11/2002
release
CZ Document converter COM V1.0 Build021120  support convert html to word, html to doc, html to rtf, text to doc, rtf to word and rtf to doc between office document(doc, rtf, html, text format and almost any other format that microsoft word will support),  beautiful GUI interface, support COM interface and command line run, convert the files in subfolders. 

Screenshots  Click the pic to see large screenshot

Faq

Can CZ Document Converter COM support ASP?
No, CZ Document Converter COM do not support ASP.

How does it work?
After runing cz document converter, you can simply press the "add files" button or the "add folders" button, then select the files you want to convert to batch conversion list with ctrl or shift key, and press the "convert" button, in a short time you will have finished conversion!

How to use command line run?
usage:  cz-docvt <file path> </f:<destination file format code>> [/d:<destination folder>] [/s] [/p:<open password>] [/plugin]

Please notice: add quotes when argument contain spaces

file path   the path and files want to be converted, this parameter must exist.
for example, d:\*.doc
/f:<destination file format code> destination file format code, this parameter must exist.
the format code list is following:
-1      PDF file
-5      PS File
-15    PS2 File
-16    EPS File
-18    PXL File
-6      PNG File
-7      JPEG File
-8      BMP File
-9      PNM File
-10    TIFF File
-17    FAX File
-11    PCX File
-12    PSD File
0    doc file
1    dot file
2    text file
3    text file with line break
4    dos text file
5    dos text file with line break
6    rtf file
7    unicode or encode text file
8    html file
>8   other file format your office word can support, you can find it in CZ Document Converter's gui, please see following red frame.


for example, /f:8, means you want convert documents to html files
 /d:<destination folder> destination folder
for example, /d:d:\test, means file convert result will be saved to d:\test folder
/s include the files in subfolders
/p:<open password> open password
for example:/p:123456, means you want convert word doc files with open  password 123456

Command Line Example1:  
convert all doc files in folder e:\source to html files, destination folder is c:\destination, some source doc files have password "123456" protected.
            czdocvt e:\source\*.doc /f:8 /d:c:\destination /s /p:123456

Command Line Example2:  (this example shows how to convert files when file path with space char or long file path, you add quotation marks beside file path)
convert test*.htm of the folder "c:\source files" to text files, destination folder is "x:\destination\test\space\long file path",
            czdocvt "c:\source files\test*.htm" /f:2  "/d:x:\destination\test\space\long file path"

What's CZ Document Converter COM Methods?
ConvertFolder Method
Convert word doc files in folder to pdf files.
Syntax
strValue = oczdocumentconvertercom.ConvertFolder(SrcFilePath,DestFilePath,DestFileFormat,IsSubFolder,BSTR Option)
Parameters
SrcFilePath: String specifying source file path, for example "c:\*.doc"
DestFilePath: String specifying destination file path, if blank then convert to current path.
DestFileFormat: String specifying destination file format code, the format code list is following:

     destination file format code, this parameter must exist.
the format code list is following:
-1      PDF file
-5      PS File
-15    PS2 File
-16    EPS File
-18    PXL File
-6      PNG File
-7      JPEG File
-8      BMP File
-9      PNM File
-10    TIFF File
-17    FAX File
-11    PCX File
-12    PSD File
0    doc file
1    dot file
2    text file
3    text file with line break
4    dos text file
5    dos text file with line break
6    rtf file
7    unicode or encode text file
8    html file
>8   other file format your office word can support, you can find it in CZ Document Converter's gui, please see following red frame.


for example, 8, means you want convert documents to html files

IsSubFolder:  Boolean. Flag that indicates whether convert file of sub folder. If true, convert file of sub folder. If false, do not convert file of sub folder.
Option:  String, reserve.
Returns
  String, return the conversion error reason, if return is blank, then convert successfully, otherwise is error reason.
VB Example
The following VB example convert "c:\*.htm" to word doc file, not include file of sub-folder, the conversion result is in "d:\":
    dim ConvertCom as object
    dim sResult as string
    set ConvertCom=CreateObject("czdocumentconverter.ConvertApplication")
    sResult=ConvertCom.ConvertFolder("c:\*.htm","d:\","0",false,"")
    if sResult="" then
        msgbox "Convert OK!"
    else
        msgbox "Convert Failure, error reason is" & sResult
    end if
    set ConvertCom=nothing
DELPHI Example
The following DELPHI example convert "c:\*.htm" to word doc file, not include file of sub-folder, the conversion result is in "d:\":
    var ConvertCom: Variant;
    sResult:string;
    ConvertCom := CreateOleObject('czdocumentconverter.ConvertApplication');
    sResult:=ConvertCom.ConvertFolder('c:\*.htm','d:\','0',false,'');
    if sResult='' then
        showmessage('Convert OK!')
    else
        showmessage('Convert failure, error reason is ' + sResult);
    ConvertCom:=UnAssigned;

How to use COM component/object in DELPHI?
1). COM Init
  Example:
    var ConvertCom: Variant;
    ConvertCom := CreateOleObject('czdocumentconverter.ConvertApplication');
2). COM Method
  Example:
    sResult:=ConvertCom.ConvertFolder('c:\*.htm','d:\','0',false,'');
3). Close COM
  Example:
    ConvertCom:=UnAssigned;
Please click here to download the complete delphi 5.0 example.

How to use COM component/object in VB?
1). COM Init
  Example:
  set ConvertCom=CreateObject("czdocumentconverter.ConvertApplication")
2). Com Method
  Example:
    result=ConvertCom.ConvertFolder("c:\*.htm","d:\","0",false,"")
3). Close COM
  Example:
    set ConvertCom=nothing

Does this converter convert quickly?
Yes, CZ Document Converter COM can convert between word doc, html, rtf, text files very quickly, you can download the Free Demo and test the converting speed.

Does this converter support word xp?
Yes, CZ Document Converter COM supports word xp.

Is there a batch process available?
Yes. CZ Document Converter COM can support batch conversion between doc, html, rtf, text files, so much as over 1500 files. 

Can this converter convert many pages in a document file?
Yes. CZ Document Converter COM can convert very big document file, so much as over 5000 pages in a document file.

I am trying to use your Document Converter product (cz-docvt) to convert HTML to RTF via the command line, but can find no way to tell it the source document type; it seems to just copy the HTML and do no translating.
You need not to know the soure file type, and you only set the destination file format, please add /f:6 to your command line, then you can get rtf result.
fox example: convert all htm files include sub-folder in folder d:\source to rtf files, destination folder is d:\destination
the command line can be : czdocvt d:\source\*.htm /f:6 /d:d:\destination /s

We are evaluating your product for our software product. We would like to distribute your product with our product if it fits to our requirement. We are interested knowing price structure for distribution license, where we can bundle your product with our product.
You can choose to pay for each copy, or pay for Developer License. After you order the developer license, there is not any limit for the developer license, you can bundle our product to your application, then redistribute your application to anyone, any times, and anytime.
You can order it from http://www.convertzone.com/goto/order-cz-document-converter-com-dev.php

How we can redistribute your product with our product? If it is possible, What file we need to insert in our setup?
You only copy cz-docvt.exe and register.key to your install path, and copy gsdll32.dll to windows system path, then add command to run cz-docvt.exe with Parameters"/regserver" while installing, and add command to run cz-docvt.exe with Parameters"/unregserver" while uninstalling.

Please click below button to buy CZ Document Converter COM now, 100% Secure on-line

Register Benefits

* Support for Microsoft® Windows® 7 and x64, Vista®, Vista 64, 2012/2008/2003 Server, XP

* 12 months FREE Upgrades.

* 12 months FREE Technical Support.

* How good is our support?, please see reviews from our clients