Examples of SheetSettings


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

   *
   * @return an <code>SheetSettings</code>
   */
   public SheetSettings getSettings() {

    SheetSettings s = new SheetSettings();
    s.setCursor(sel.getActiveCell());
    if(win2.isFrozen()) {
      s.setFreeze(p.getFreezePoint());
    } else if(win2.isSplit()) {
      s.setSplit(p.getSplitPoint());
    }
    s.setPaneNumber(p.getPaneNumber());
    s.setTopLeft(p.getTop(), p.getLeft());
     return s;
   }    
View Full Code Here

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

    Vector settingsVector = new Vector();
    int index = 0;
    for(Enumeration e = worksheets.elements();e.hasMoreElements();) {
      Worksheet ws = (Worksheet) e.nextElement();
      SheetSettings s = ws.getSettings();
      s.setSheetName(getSheetName(index++));
      settingsVector.add(s);
    }
    BookSettings bs = new BookSettings(settingsVector);
    String activeSheetName = getSheetName(win1.getActiveSheet());
    bs.setActiveSheet(activeSheetName);
View Full Code Here

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

      String name = getSheetName(index++);
      if(activeSheetName.equals(name)) {
        win1.setActiveSheet(index-1);
      }
      for(Enumeration eSettings = sheetSettings.elements();eSettings.hasMoreElements();) {
        SheetSettings s = (SheetSettings) eSettings.nextElement();
        if(name.equals(s.getSheetName())) {
          ws.addSettings(s);
        }
      }
    }
  }
View Full Code Here

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

   *
   * @return an <code>SheetSettings</code>
   */
   public SheetSettings getSettings() {

    SheetSettings s = new SheetSettings();
    s.setCursor(sel.getActiveCell());
    if(win2.isFrozen()) {
      s.setFreeze(p.getFreezePoint());
    } else if(win2.isSplit()) {
      s.setSplit(p.getSplitPoint());
    }
    s.setPaneNumber(p.getPaneNumber());
    s.setTopLeft(p.getTop(), p.getLeft());
     return s;
   }    
View Full Code Here

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

    Vector settingsVector = new Vector();
    int index = 0;
    for(Enumeration e = worksheets.elements();e.hasMoreElements();) {
      Worksheet ws = (Worksheet) e.nextElement();
      SheetSettings s = ws.getSettings();
      s.setSheetName(getSheetName(index++));
      settingsVector.add(s);
    }
    BookSettings bs = new BookSettings(settingsVector);
    String activeSheetName = getSheetName(win1.getActiveSheet());
    bs.setActiveSheet(activeSheetName);
View Full Code Here

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

      String name = getSheetName(index++);
      if(activeSheetName.equals(name)) {
        win1.setActiveSheet(index-1);
      }
      for(Enumeration eSettings = sheetSettings.elements();eSettings.hasMoreElements();) {
        SheetSettings s = (SheetSettings) eSettings.nextElement();
        if(name.equals(s.getSheetName())) {
          ws.addSettings(s);
        }
      }
    }
  }
View Full Code Here

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

   *
   * @return an <code>SheetSettings</code>
   */
   public SheetSettings getSettings() {

    SheetSettings s = new SheetSettings();
    s.setCursor(sel.getActiveCell());
    if(win2.isFrozen()) {
      s.setFreeze(p.getFreezePoint());
    } else if(win2.isSplit()) {
      s.setSplit(p.getSplitPoint());
    }
    s.setPaneNumber(p.getPaneNumber());
    s.setTopLeft(p.getTop(), p.getLeft());
     return s;
   }    
View Full Code Here

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

      String name = getSheetName(index++);
      if(activeSheetName.equals(name)) {
        win1.setActiveSheet(index-1);
      }
      for(Enumeration eSettings = sheetSettings.elements();eSettings.hasMoreElements();) {
        SheetSettings s = (SheetSettings) eSettings.nextElement();
        if(name.equals(s.getSheetName())) {
          ws.addSettings(s);
        }
      }
    }
  }
View Full Code Here

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

   *
   * @return an <code>SheetSettings</code>
   */
   public SheetSettings getSettings() {

    SheetSettings s = new SheetSettings();
    s.setCursor(sel.getActiveCell());
    if(win2.isFrozen()) {
      s.setFreeze(p.getFreezePoint());
    } else if(win2.isSplit()) {
      s.setSplit(p.getSplitPoint());
    }
    s.setPaneNumber(p.getPaneNumber());
    s.setTopLeft(p.getTop(), p.getLeft());
     return s;
   }    
View Full Code Here

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

    Vector settingsVector = new Vector();
    int index = 0;
    for(Enumeration e = worksheets.elements();e.hasMoreElements();) {
      Worksheet ws = (Worksheet) e.nextElement();
      SheetSettings s = ws.getSettings();
      s.setSheetName(getSheetName(index++));
      settingsVector.add(s);
    }
    BookSettings bs = new BookSettings(settingsVector);
    String activeSheetName = getSheetName(win1.getActiveSheet());
    bs.setActiveSheet(activeSheetName);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.