# KOffice filters status: LaTeX FILTER

Import | Export
Up

Import LaTeX for kword
Last update | -
Features | None
Todo | Everything
History | -
Authors | -
Links | -
Progress report | ---

Up

Up

Export kword to LaTeX
Last update | 27 October 2001
Features | Can export to LaTeX formats, somes documents with text only and formulas. Picture are not translated (the name is not write in the latex markup with new extension), simple tables are supported now but part is still not supported yet. Kword is used only as a word processing not WYSIWYG.

Todo

VERSION 1:

text with accent | DONE
text with special characters | A LOT OF SPECIAL CHARS SUPPORTED for latin1 (all for unicode)!
layout | DONE
title | DONE
list | DONE
paper | DONE
footnote, head | DONE (still a little bug for first foot/header and a line is added)
comments with kdoc | STARTED
unicode support | DONE (omega package)
break (line, page) | STARTED
indent list |

VERSION 2

table | STARTED
picture | STARTED
personalization |

VERSION 3

parts |
math | STARTED (KFormula)
figure |
frame |

History

- 03 February 2002
  - features
    - support of variables.
- 06 November 2001
  - features
    - support of picture inline.
    - compile with qt3
- 27 October 2001
  - features
    - support of unicode with omega
- 14 October 2001
  - BUG FIXES
    - Some special char. were not corected generated.
- 20 August 2001
  - bug fixes
    - lists were not closed if they were following by a chapter.
  - features
- 15 July 2001
  - bug fixes
    - characters encoding bug,
    - somes table bugs,
    - text zone inherit paragraph format.
  - features
    - news parameters dialog box,
    - anchor support,
    - formula support.
- 07 July 2001
  - bug fixes
    - section are embeded in a list because of the last changes ;
    - new paragraph (let a blanck line now) ;
    - no environment (right, center, ...) in a header or footer (from the last changes).
  - features
    - generate embedable file
    - new xml parser = QDom
- 3 June 2001
  - bugs fixes
    - color
    - if a section doesn't exist in latex, now the title is in bold
    - blanck line between 2 paragraphes.
    - textsize
    - end of environment
  - clean code generated
  - use QList for all lists
  - improve the table generation. Now it is pretty good.
  - new features
    - improve the special character support but still a lot of work (mathematical mode, ...).
    - table now support border line (only top line)
    - a dialog box to select some features (style, language/encoding)
- 06 May 2001
  - bug fixes
    - enum bug fixes
  - new features
    - formula, part and table class (not still usable, though)
    - stock formula parts (no generation)
    - stock table part
- 07 May 2001 : fix bug list (now list work fine), analyse a formula (but can not be generated), simples tables are supported (no cell splited or merged) but with a little "bug" for cell size (nb of lines).
- 28 April 2001 : second update to support the new dtd, bugs fixes and implements class to support pictures.
- 19 March 2001 : just a first update to support the new dtd.
- end of January 2001: second version
  - paragraph (with italic, bold text) are supported,
  - color,
  - title, list,
  - footnote, endnote,
  - paper size and orientation, column (to improve).
- December 2000 : first version (doesn't work)
  - generate a line,
  - architecture design,
  - important memory leak.

Authors | Robert JACOLIN
Links | Des copies d'écrans (commentaires en français) Some Screenshots (comments in poor english)

Progress report

## Markup supported at 23 july 2001

PAPER
format |  | SUPPORTED
Width |  | SUPPORTED
Height |  | SUPPORTED
orientation |  | SUPPORTED
columns |  | SUPPORTED
Columnspcacing |  | ANALIZED
hType |  | SUPPORTED
| 0...On all pages (even/odd) the same headers\chead
| 2...Different header only on first page
| 3...Different headers for even/odd pages\fancyhead
fType |  | SUPPORTED
spHeadBody |  | SUPPORTED
spFootBody |  | SUPPORTED
zoom |  | UNUSEFULL
PAPERBORDERS |  | SUPPORTED | Except for bottom (don't exist) special use for Right and Left.
Left |  | ANALYSED
Top |  | ANALYSED
Right |  | ANALYSED
Bottom |  | ANALYSED
ATTRIBUTES
processing |  | ANALYSED
standardpage |  | ANALYSED
hasHeader |  | SUPPORTED
hasFooter |  | SUPPORTED
unit |  | ANALYSED
FOOTNOTEMGR
START |  | IGNORED
FORMAT |  | IGNORED
FIRSTPARAG |  | IGNORED
FRAMESETS
FRAMESET |
frameType |
| 0...Base frame | ANALYSED
| 1...Text frame | SUPPORTED
| 2...Picture frame | ANALYSED
| 3...Part frame | ANALYSED
| 4...Formula frame | SUPPORTED
frameInfo |
| 0...Body | SUPPORTED
| 1...First header | SUPPORTED
| 2...Odd header | SUPPORTED
| 3...Even header | SUPPORTED
| 4...First footer | SUPPORTED
| 5...Odd footer | SUPPORTED
| 6...Even footer | SUPPORTED
| 7...footnote | ANALYSED
grpMgr |  | SUPPORTED
| row | SUPPORTED
| col | SUPPORTED
| rows | ANALYSED
| cols | ANALYSED
removeable |  | ANALYSED
visible |  | ANALYSED
FRAME
left |  | ANALYSED
top |  | ANALYSED
right |  | ANALYSED
bottom |  | ANALYSED
runaround |  | ANALYSED
| 0...Don't run around frame
| 1...Frame repels text in overlapping frames
| 2...Text in overlapping frames will avoid the complete horizontal space of this frame.
runaroundGap |  | ANALYSED
autoCreateNewFrame |  | ANALYSED
newFrameBehaviour |  | ANALYSED
sheetSide |  | ANALYSED
lWidth |
lRed |
lGreen |
lBlue |
lStyle |
| 0...Solid
| 1...Dash
| 2...Dot
| 3...Dash-Dot
| 4...Dash-Dot-Dot
rWidth |
rRed |
rGreen |
rBlue |
rStyle |
tWidth |
tRed |
tGreen |
tBlue |
tStyle |
bWidth |
bRed |
bGreen |
bBlue |
bStyle |
bkRed |
bkGreen |
bkBlue |
bleftpt |
bleftmm |
bleftinch |
brightpt |
brightmm |
brightinch |
btoppt |
btopmm |
btopinch |
bbottompt |
bbottommm |
bbottominch |
PARAGRAPH
TEXT |  | SUPPORTED :))
NAME |  | ANALYSED
name |
INFO |  | SUPPORTED
info |  | SUPPORTED
| 0...No "special" information
| 1...Footnote (see NAME)
FORMATS
FORMAT
id |  | ANALYSED
| 0...none (mustn't be in a file)
| 1..."normal" text | SUPPORTED
| 2...a picture | SUPPORTED | NEW
| 3...tabulator
| 4...a variable
| 5...a footnote | SUPPORTED
pos |
len |
FORMAT texte |  | SUPPORTED
COLOR |  | SUPPORTED
FONT |  | ANALYSED
SIZE |  | SUPPORTED
WEIGHT |  | SUPPORTED
ITALIC |  | SUPPORTED
UNDERLINE |  | SUPPORTED
VERTALIGN |  | SUPPORTED
STRIKEOUT |  | SUPPORTED | NEW
HARDBREAKING |  | SUPPORTED |
| hardBreak | SUPPORTED
| hardBreakAfter | SUPPORTED
| linesTogether | ANALYSED
FORMAT picture
FILENAME |  | ANALYSED | NEW
| value="/home/..."
FORMAT tabulator
FORMAT variable | SUPPORTED
TYPE type
| 0...date (fix)
| 1...unused
| 2...time (fix)
| 3...unused
| 4...page number
POS frameSet="1" frame="1" pageNum="1"
DATE |  | SUPPORTED
COLOR |  | SUPPORTED
FONT |  | SUPPORTED
SIZE |  | SUPPORTED
WEIGHT |  | SUPPORTED
ITALIC |  | SUPPORTED
UNDERLINE |  | SUPPORTED
VERTALIGN |  | SUPPORTED
FORMAT footnote |  | SUPPORTED
INTERNAL |
PART |
| from
| to
| space
INTERNAL |
RANGE |
TEXT |
DESCRIPT |
COLOR |
FONT |
SIZE |
WEIGHT |
ITALIC |
UNDERLINE |
VERTALIGN |
LAYOUT
NAME |
| value | SUPPORTED
FOLLOWING |
name |  | SUPPORTED
FLOW |  | SUPPORTED
value |
| 0...left
| 1...right
| 2...center
| 3...block
INDENTS
| first
| left
| right
OFFSETS
| before
| after
COUNTER
type |  |
| 0...none
| 1...numeral (e.g. "1") | SUPPORTED
| 2...alphabetics (e.g. "a") | SUPPORTED
| 3...alpha. uppercase (e.g. "A") | SUPPORTED
| 4...roman numbering (e.g. "ii") | SUPPORTED
| 5...roman numbering uppercase (e.g. "IX") | SUPPORTED
| 6...custom bullet (e.g. "-") | SUPPORTED | To verify the special characters convertion
| 7...custom (complex string)
| 8...circle bullet (e.g. "o") | SUPPORTED
| 9...square bullet
| 10...disc bullet
depth |  | SUPPORTED
bullet |  | SUPPORTED
start |  |
numberingtype |  | SUPPORTED
lefttext |  |
righttext |  |
bulletfont |  |
LINESPACE
value |
LEFTBORDER |
red, green, blue |  |
style |  |
| 0...solid
| 1...dash
| 2...dot
| 3...dash-dot-dash-dot-...
| 4...dash-dot-dot-dash-dot-dot-...
width |
RIGHTBORDER |
red, green, blue |
style |
| 0...solid
| 1...dash
| 2...dot
| 3...dash-dot-dash-dot-...
| 4...dash-dot-dot-dash-dot-dot-...
width |
TOPBORDER |
red, green, blue |
style |
| 0...solid
| 1...dash
| 2...dot
| 3...dash-dot-dash-dot-...
| 4...dash-dot-dot-dash-dot-dot-...
width |
BOTTOMBORDER |
red, green, blue |
style |
| 0...solid
| 1...dash
| 2...dot
| 3...dash-dot-dash-dot-...
| 4...dash-dot-dot-dash-dot-dot-...
width |
FORMAT | A text zone inherits format from its father paragraph.
TABULATOR |  |
ptpos |  |
type |  |
| 0...left |
| 1...center |
| 2...right |
| 3...decimal point |
ANCHOR
instance |  | SUPPORTED
type |  | SUPPORTED

Up