XML based filters in OpenOffice.org

3,083 views
3,004 views

Published on



The editing of XML content with OpenOffice.org is a frequent requested task of users. But to be able to edit solely the content and not the XML as a simple textfile, a filter has to be established.

This session should give a quick overview over the existing functionality OpenOffice.org offers to establish such a filter, giving powerful examples. But also giving scenarios showing the current limitations to finally offer ideas to the community to broaden the functionality.

Published in: Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,083
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
47
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Welcome
  • XML based filters in OpenOffice.org

    1. 1. XML Based Filters <ul> <li>Svante Schubert </ul> <ul> <ul> <li>Co-Lead XML OpenOffice.org </ul> </ul> <ul> <ul> <li>StarOffice/OpenOffice.org </ul> </ul> <ul> <ul> <ul> <li>Sun Microsystems </ul> </ul> </ul>
    2. 2. About the Speaker <ul> <li>Since 1999 working for Sun Microsystems on StarOffice </ul> <ul> <li>Wrote XSLT based XHTML export </ul> <ul> <li>Wrote XSLT based spreadsheetml export </ul> <ul> <li>Since 2006 co-lead of OpenOffice XML project </ul> <ul> <li>Responsible for all xml based filters </ul> <ul> <li>Participates in W3C Compound Document Formats CDF WG </ul> <ul> <li>Editor of W3C CSS Mobile Profile 2.0 (CSS WG) </ul> <ul> <li>Participates in OASIS Meta Data SC </ul>
    3. 3. XML Based Filters Fundamentals <ul> <li>What is a filter? </ul> <ul> <ul> <li>Software that works on a input stream </ul> </ul> <ul> <ul> <li>Software that transforms one file format into another </ul> </ul> <ul> <li>What is a XML based filter? </ul> <ul> <ul> <li>A filter that depends solely on the XML fileformat of OpenOffice.org </ul> </ul> <ul> <ul> <li>Since OpenOffice.org 2.0 the default XML file format is the new OpenDocument ISO Standard </ul> </ul>
    4. 4. XML Based Filters Technical Requirements on Office Filters <ul> <li>Support of the XFilter (XImporter / XExporter) UNO interface </ul> <ul> <li>Import Filter needs a TypeDetection (Without filter chose by suffix) </ul>
    5. 5. XML Based Filters Exisiting Framework for Java Filters <ul> <li>Stand-alone filter XMerge Framework capsulate the XFilter UNO interface </ul> <ul> <li>Build for small devices </ul> <ul> <ul> <li>For Palm: AportisDoc & MiniCalc </ul> </ul> <ul> <ul> <li>For PocketPC: PocketWord & PocketExcel </ul> </ul> <ul> <ul> <li>Most recently: LaTeX and BibTeX export (Hendrik Just) </ul> </ul> <ul> <li>Only supports earlier OpenOffice.org XML format </ul> http://xml.openoffice.org/xmerge
    6. 6. XML Based Filters Existing Framework for XSLT Filters <ul> <li>Behind the Scenes: </ul> <ul> <ul> <li>Bundled Apache's XSLT processor Xalan 2.7 </ul> </ul> <ul> <ul> <li>Usage of Java TRAX / JAXP API </ul> </ul> <ul> <ul> <li>Generic XSLT Filter implementation </ul> </ul> <ul> <li>GUI aid in the Office: 'XML Filter Settings' dialog </ul>
    7. 7. <ul> <li>Change of Deployment Package: Using UNO Component Packages instead of JAR </ul> <ul> <ul> <li>Versioning and Remote Update mechanism </ul> </ul> <ul> <ul> <li>Signature / Authentication </ul> </ul> <ul> <ul> <li>Admin Level / All Users Installation </ul> </ul> <ul> <li>Separating Office configuration from XML Filter configuration </ul> <ul> <ul> <li>Sharing of OpenDocument based filters across ODF enabled applications (using SAX) </ul> </ul> XML Based Filters Possible Enhancements for XSLT Filters (1 / 2)
    8. 8. <ul> <li>Bundling whole directory to a XML based filter package </ul> <ul> <ul> <li>Easy include of various stylesheets in subfolders </ul> </ul> <ul> <ul> <li>Bundling filter dependencies (e.g. graphics, XML templates with content even for export) </ul> </ul> <ul> <li>Validation during import & export </ul> <ul> <ul> <li>Based on various Schemas (Schema Tool) </ul> </ul> <ul> <ul> <li>ISO Schematron checking XPATH conditions </ul> </ul> XML Based Filters Possible Enhancements for XSLT Filters (2 / 2)
    9. 9. <ul> <li>Documentation: Ease the access for community developers </ul> <ul> <ul> <li>Link from 'Contribute' start tabulator to xml.openoffice.org </ul> </ul> <ul> <ul> <li>Give more detailed starting info for Developer </ul> </ul> <ul> <ul> <li>Show up requirements: How may I add a XML based filter to OpenOffice.org </ul> </ul> <ul> <ul> <li>Collecting new requirements possibly resulting into enhancements (Wiki) </ul> </ul> XML Based Filters Required Enhancements for XML Based Filters
    10. 10. <ul> <li>Book Author have to provide raw XML data to Book seller </ul> <ul> <li>Data of Website for ContentManagement in XML </ul> <ul> <li>Use of Universal Business Data in the Office </ul> XML Based Filters Frequent User Request: Using OpenOffice.org to edit XML
    11. 11. Questions & Answers <ul> <li>Svante Schubert </ul> <ul> <ul> <li>Project Mailinglist: dev@xml.openoffice.org </ul> </ul> <ul> <ul> <li>[email_address] </ul> </ul>

    ×