I need some hints about the possibility to save the print into rtf for or doc
PRINT oPrn [PREVIEW] FILE "name.docx"
Otto wrote:Hello Marco,
This is how we do it:
viewtopic.php?f=3&t=13495&p=69231&hilit=word+zip&sid=62c130be6eb450bc2a0aad7749c99f80#p69231
A DOCX file is essentially a ZIP file, and inside it, there's an XML file which is, in practice, a pure text file.
The DOCX format is an XML-based file format for Word documents, used by Microsoft Word, especially since Word 2007. It replaces the older binary DOC format. DOCX files are actually ZIP archives containing multiple files and folders that collectively represent the entire document.
One key file within a DOCX archive is word/document.xml. This XML file contains the actual text of the document, along with information about its structure and formatting. The content of word/document.xml is written in a special markup language called WordprocessingML, designed for representing Word documents.
In word/document.xml, you will find:
Text Content: The actual text of the document, including paragraphs, headings, etc.
Formatting: Information about fonts, colors, alignment, paragraph formats, list formats, etc.
Structure: Tags defining the document's structure, such as section headings, footnotes, endnotes, margin notes, etc.
Elements like Tables and Images: References to other files in the DOCX archive that contain images, tables, and other non-text elements.
Special Tags: These are used to represent special features like tables of contents, hyperlinks, embedded objects, etc.
To view the contents of word/document.xml, you can open a DOCX file with an archiving program like WinRAR or 7-Zip, and then view the word/document.xml file with a text editor or an XML viewer. Knowledge of XML is helpful to understand the content and structure of this file.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 93 guests