[odf-devel] odf2html new list templates

Joscha Krutzki joka at jokasis.de
Sun Aug 5 16:32:39 EDT 2007


Hi,

I'm working on new ODF support for plone cms. I did some some tests with
libopendocument and odf2html and choosed odf2html.  I did some small
improvements regarding list templates, test files and css  I would be happy
to commit:

https://svn.plone.org/svn/collective/plone.opendocument/trunk/plone/opendocument/lib/odf2html/xsl/xhtml/list.xsl

new templates:

* list.xsl: added text:list-level-style-image template
   test file: lists_05.odt
* list.xsl: added list-header template
  test file lists_3.odt
* list.xsl, css.xls: added support for list level wrappers. List items that
have no text:h or
                      text:p child are just list level wrappers. They don't
need list marker.
  test file: lists_4.odt
* list.xsl: added support for at text:space-before
  test file lists_1.odt

fixed:

* list.xsl: fixed text:list-level-style-bullet/@text:level, did not work
with libxslt 1.1.19
   test file lists_1.odt
* list.xsl: fixed text:list-level-style-number/@text:level, did not work
with libxslt 1.1.19
   test file lists_2.odt

CSS:

* css.xsl: deleted standard table border and td p styles (max-height and
overflow:hidden)
  to make test files letter.odt and invoice.ods work. I think this behavior
is more similar to openoffice.org.
  test file letter.odt
  test file invoice.ods
* common.xsl: added support for "in" length unit

Further on I would like  add TOC with inside links  and  the possibility to
change the relative path to embedded objects (for example if I want to have
all files in the same directory).


What do you think about it?


Greetings  Joscha

-- 
Joscha Krutzki
Adalbertstr. 73
10997 Berlin
030/63226730
0179/7466360
[ Link zur Vcard: http://jokasis.de/Joscha_Krutzki.vcf ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opendocumentfellowship.org/pipermail/odf-devel/attachments/20070805/c3c8add8/attachment.html


More information about the odf-devel mailing list