Package org.openoffice.xmerge.converter.xml.sxc

Examples of org.openoffice.xmerge.converter.xml.sxc.ColumnRowInfo


    // Collect Columns from worksheet and add them to the vector
    for(Enumeration e  = ws.getColInfos();e.hasMoreElements();) {
      ColInfo ci = (ColInfo)e.nextElement();
      int repeated = ci.getLast() - ci.getFirst() + 1;
      ColumnRowInfo colInfo = new ColumnRowInfoci.getColWidth(),
                            repeated,
                            ColumnRowInfo.COLUMN);
      colRowVector.add(colInfo);
    }

    // Collect Rows from worksheet and add them to the vector
    for(Enumeration e  = ws.getRows();e.hasMoreElements();) {
      Row rw = (Row)e.nextElement();
      // We will use the repeat field for number (unlike columns rows
      // cannot be repeated, we have unique record for each row in pxl
      int repeated = rw.getRowNumber();   
      ColumnRowInfo rowInfo = new ColumnRowInforw.getRowHeight(),
                            repeated,
                            ColumnRowInfo.ROW);
      colRowVector.add(rowInfo);
    }   
    Debug.log(Debug.TRACE,"Getting " + colRowVector.size() + " ColRowInfo records");
View Full Code Here

TOP

Related Classes of org.openoffice.xmerge.converter.xml.sxc.ColumnRowInfo

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.