Package org.openoffice.xmerge.converter.palm

Examples of org.openoffice.xmerge.converter.palm.PalmDocument


     @throws  IOException  If any I/O error occurs.
     */
    public void addDeviceContent(ConvertData cd) throws IOException {

        try {
      PalmDocument palmDoc;
      int j = 0;

    Enumeration e = cd.getDocumentEnumeration();
    while(e.hasMoreElements()) {
     
        palmDoc = (PalmDocument) e.nextElement();
              // Convert PDB to WorkBook/WorkSheet format
        PalmDB pdb = palmDoc.getPdb();

              // This will be done at least once
              String sheetName = worksheetNames[j];
     
              // Get number of records in the pdb
View Full Code Here


            String fullSheetName = new String(docName
                                              + "-"
                                              + encoder.getSheetName(i));

            // Create a PalmDB object
            PalmDocument palmDoc = new PalmDocument(fullSheetName,
                 MinicalcConstants.CREATOR_ID,
                 MinicalcConstants.TYPE_ID, JMCconstants.AppVersion,
                 PalmDB.PDB_HEADER_ATTR_BACKUP, records);

            cd.addDocument(palmDoc);
View Full Code Here


    public Document createDeviceDocument(String name, InputStream is)
    throws IOException {

        PalmDocument palmDoc = new PalmDocument(is);
        return palmDoc;
    }
View Full Code Here

        // create a PalmDB object and ConvertData object.
        //
        Record records[] = encoder.getRecords();

        ConvertData cd = new ConvertData();
        PalmDocument palmDoc = new PalmDocument(docName,
            PdbUtil.intID("WrdS"), PdbUtil.intID("BDOC"), 0,
            PalmDB.PDB_HEADER_ATTR_BACKUP, records);
        cd.addDocument(palmDoc);
        return cd;
    }
View Full Code Here

     @return  A Device Document object
     */ 
    public Document createDeviceDocument(String name, InputStream is)
    throws IOException {

        PalmDocument palmDoc = new PalmDocument(is);
        return palmDoc;
    }
View Full Code Here

     @throws  IOException  If any I/O error occurs.
     */
    public void addDeviceContent(ConvertData cd) throws IOException {

        try {
      PalmDocument palmDoc;
      int j = 0;

    Enumeration e = cd.getDocumentEnumeration();
    while(e.hasMoreElements()) {
     
        palmDoc = (PalmDocument) e.nextElement();
              // Convert PDB to WorkBook/WorkSheet format
        PalmDB pdb = palmDoc.getPdb();

              // This will be done at least once
              String sheetName = worksheetNames[j];
     
              // Get number of records in the pdb
View Full Code Here

            String fullSheetName = new String(docName
                                              + "-"
                                              + encoder.getSheetName(i));

            // Create a PalmDB object
            PalmDocument palmDoc = new PalmDocument(fullSheetName,
                 MinicalcConstants.CREATOR_ID,
                 MinicalcConstants.TYPE_ID, JMCconstants.AppVersion,
                 PalmDB.PDB_HEADER_ATTR_BACKUP, records);

            cd.addDocument(palmDoc);
View Full Code Here


    public Document createDeviceDocument(String name, InputStream is)
    throws IOException {

        PalmDocument palmDoc = new PalmDocument(is);
        return palmDoc;
    }
View Full Code Here

        // create a PalmDB object and ConvertData object.
        //
        Record records[] = encoder.getRecords();

        ConvertData cd = new ConvertData();
        PalmDocument palmDoc = new PalmDocument(docName,
            PdbUtil.intID("WrdS"), PdbUtil.intID("BDOC"), 0,
            PalmDB.PDB_HEADER_ATTR_BACKUP, records);
        cd.addDocument(palmDoc);
        return cd;
    }
View Full Code Here

     @return  A Device Document object
     */ 
    public Document createDeviceDocument(String name, InputStream is)
    throws IOException {

        PalmDocument palmDoc = new PalmDocument(is);
        return palmDoc;
    }
View Full Code Here

TOP

Related Classes of org.openoffice.xmerge.converter.palm.PalmDocument

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.