Package org.openoffice.xmerge.converter.xml.sxw

Examples of org.openoffice.xmerge.converter.xml.sxw.SxwDocument


        this.orig = doc;
    }

    public void merge(org.openoffice.xmerge.Document modifiedDoc) throws MergeException {

        SxwDocument wdoc1 = (SxwDocument) orig;
        SxwDocument wdoc2 = (SxwDocument) modifiedDoc;

        Document doc1 = wdoc1.getContentDOM();
        Document doc2 = wdoc2.getContentDOM();

        Iterator i1 = new ParaNodeIterator(cc_, doc1.getDocumentElement());
        Iterator i2 = new ParaNodeIterator(cc_, doc2.getDocumentElement());

        DiffAlgorithm diffAlgo = new IteratorLCSAlgorithm();
View Full Code Here


     @throws  IOException       If any I/O error occurs.
     */
    public Document deserialize() throws IOException, ConvertException {     
        Enumeration pe = pswDoc.getParagraphEnumeration();
       
        sxwDoc = new SxwDocument (docName);
        sxwDoc.initContentDOM();
                   
        // Default to an initial 5 entries in the catalog. 
        styleCat = new StyleCatalog(5);

View Full Code Here

TOP

Related Classes of org.openoffice.xmerge.converter.xml.sxw.SxwDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.