|
|
 |
Article:
 |
 |
Hacking Open Office
|
| Subject: |
Writer2xhtml |
| Date: |
2005-01-28 21:34:30 |
| From: |
PeterSefton |
|
Response to: Writer2xhtml
|
|
|
I have had a look at this now, and I see that there is some style-based customization, but I'm still not sure if it will work for the kind of nesting of elements I'm after, see the example in the article of how styles need to map to elements.
Declarative mapping systems like this one tend to work well only up to a point, but I am assuming at this stage XSLT is going to be a better option for my project, although I would be delighted if that's not the case.
I see that there's also a place to plug in a custom stylesheet in writer2xhtml, so maybe this is the answer. What does the stylesheet operate on I wonder, and where in the toolchain does it get used?
|
Previous Message
|
Up
|
Next Message
|
- Writer2xhtml
2005-01-31 05:10:48 Henrik_Just
[Reply]
<quote>I have had a look at this now, and I see that there is some style-based customization, but I'm still not sure if it will work for the kind of nesting of elements I'm after, see the example in the article of how styles need to map to elements. </quote>
No, it will not work with your approach. But ignoring the "this must also be possible in Word" bit, OOo Writer+Writer2xhtml actually supports a good deal of what you want out of the box.
If you use List styles in Writer as they are intended, it already supports nested ordered and unordered lists.
Also, with style maps in Writer2xhtml, you can insert definition lists and blockquotes in ordered and unordered lists, but currently not the other way round. (There's a bug in version 0.4 beta 2 here, it will be fixed asap)
<quote>I see that there's also a place to plug in a custom stylesheet in writer2xhtml, so maybe this is the answer. What does the stylesheet operate on I wonder, and where in the toolchain does it get used? </quote>
This is a css stylesheet, not xslt. Writer2xhtml gives you a choice between converting OOo styles to css or supply your own css.
|
 |
Sponsored By:
|