KOffice filters status:   RTF FILTER


Import | Export


Up

Import RTF for kword

Last update 2 jan 2001
Features The beginning of the code is there, but not functioning
Todo The code needs to be sorted and made functioning
History 02 jan 2001: the available code has been examined by Michael Johnson
Authors  Michael Johnson
Links Fileformat discription
Progress report

Code examination report by Michael Johnson at January 2, 2001

The set of files consisting of the list below is an unfinished attempt to create an RTF markup parsing capability. It would be the first step in making a RTF import filter. The code is not a functioning set as far as I could tell. The code compiles but does not seem to process the sample RTF file in this directory. It gives an error message instead. I did not try a different RTF file from a word processor. My observation is the test shell main() is flawed. It has two input files and no output file. I don't know if the other code functions but it is clearly incomplete. Here is the results of my very brief investigation of the code.

KRTFDocumentParser.cpp:
This file contains code that is a beginning of a RTF markup command interpreter. It is merely an outline of the process and does not recognize any RTF markup.

KRTFFileParser.cpp:
Appears to be a basic check that the input file is in RTF format. It was probably intended as the top level function that starts the parsing process.

KRTFHeaderParser.cpp:
Contains code to examine the RTF header. It can only recognize the general syntax of the header and determine where the document body begins. It cannot process any header group.

KRTFParser.cpp:
Functions to delimit a single RTF command group.

KRTFTokenizer.cpp:
Contains functions to break down a RTF command into tokens.

main.cpp:
A test shell for the above files. The code is flawed.

Up






Up

Export kword to RTF

Last update May 14, 2001
Features - Unicode to ansi conversion.
- Text formatting. (font, size, weight, italic, underline, etc.)
- Paragraph numbering. (Head 1,2,3 Numeric, Alpha, Roman, bullet)
- Multi level paragraph numbering. (1.2.5, etc.) Doesn't work properly
- Table presentations (with cell borders).
- Page sizes.
- Margins.
- Document information. (author, title, etc.).
- Tabulator tags .
- Page headers.
- Page footers.
- Paragraph borders.
- Colored text and borders.
- Date markers.
- Time markers.
- Page numbers.
Todo - Footnotes and endnotes.
- Multi column.
- Text boxes.
- Pixmaps.
- Kpart inserts (kspread, kpresenter, etc.).
- Page hard breaks.
- Identification of the ansi code page.
- Multi-strike markup. (no current plans).
- Bidirectional markup. (no current plans).
History - March 2001: First version pending test
- April 2001: First working version. Modified for latest kword xml.
- May 2001: Capabilities added - tab sets, colored text and borders, super/subscript, strikeout, page headers, time and date markers, page numbering. Paragraph numbering improved and underlined text fixed.
Authors Wolf-Michael Bolle  
Michael Johnson
Links -
Progress report Paragraph numbering still needs work and basic capabilities are missing. Tables and tabulator sets not well tested because of ongoing kword improvements.
Up