You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2006/04/11 23:46:46 UTC

DO NOT REPLY [Bug 39277] - [WebDAV] Create pipelines, stylesheets for outputting .wordml files to edit with Word 2003

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39277>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39277





------- Additional Comments From jonathan.addison@wyona.com  2006-04-11 22:46 -------
Created an attachment (id=18075)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18075&action=view)
add ability to edit wordml files with webdav

This patch creates a second output file for each document with a .wordml
extension, so the tutorial page shows as both tutorial_en.html and
tutorial_en.wordml in the webdav folder.  I used wordml as the extension to
make it explicit but it could be changed to xml or even doc.  The default
webdav GET matcher was also changed from davget.xml to davget.html to match its
output format and simplify the pipelines.

Two stylesheets were added for transforming to and from wordml on the server:
xhtml2wordml.xsl and wordml2xhtml.xsl.	Originally these transformations were
being done within Word, but Word has a bug when fetching stylesheets from a
webdav or http address on saving so we switched to doing the transformations
server-side.  A benefit is that the Professional version of Word 2003 is no
longer needed because the advanced xml features aren't needed when the file is
wordml.  There is also a free plugin available that lets you use the wordml
format with older versions of Word, but I have not tested it yet.

The stylesheets only implement a basic subset of xhtml at the moment (p, h1-h6,
em, strong, a).  They also restrict what styles are available while editing in
Word, which is useful for enforcing markup guidelines.	The wordml2xhtml.xsl
also has support for tables and lists, a big thanks to Josias for adding this.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org