Package com.extentech.formats.OOXML

Examples of com.extentech.formats.OOXML.SheetView


        
         // Sheet View Properties
         writer.write( "<sheetViews>" );   
         writer.write( "\r\n" );    // TODO: it's possible to have multiple sheetViews    
         if (sheet.getMysheet().getSheetView()==null)
             sheet.getMysheet().setSheetView(new SheetView());      
        
         // TODO: finish options:  colorId, defaultGridColor, rightToLeft
         // showFormulas, showRuler, showWhiteSpace, view
         // zoomScaleNormal, zoomScalePageLayoutView, zoomScaleSheetLayoutView
         // showFormulas, default= false
View Full Code Here


                                 this.setDefaultRowHeight(new Double(v).doubleValue());
                         }
                     }
                     else if (tnm.equals("sheetView"))
                     {      // TODO: finish handling options
                         SheetView s= (SheetView) SheetView.parseOOXML(xpp).cloneElement();                     
                         this.setSheetView(s);
                         this.getWindow2().setShowGridlines(!(s.getAttrS("showGridlines")).equals("0"));
                         if (s.getAttr("showRowColHeaders")!=null)
                           this.getWindow2().setShowSheetHeaders((s.getAttrS("showRowColHeaders")).equals("1"));
                         if (s.getAttr("showZeros")!=null)
                           this.getWindow2().setShowZeroValues((s.getAttrS("showZeros")).equals("1"));
                         if (s.getAttr("showOutlineSymbols")!=null)
                           this.getWindow2().setShowOutlineSymbols((s.getAttrS("showOutlineSymbols")).equals("1"));
                         if (s.getAttr("tabSelected")!=null)
                             this.setSelected((s.getAttrS("tabSelected")).equals("1"));
                         if (s.getAttr("zoomScale")!=null)
                             this.getScl().setZoom(new Double(s.getAttrS("zoomScale")).floatValue()/100);
                     }
                     else if (tnm.equals("sheetPr"))
                     {    // sheet properties element    
                         SheetPr sp= (SheetPr) SheetPr.parseOOXML(xpp).cloneElement();
                         this.setSheetPr(sp);
View Full Code Here

TOP

Related Classes of com.extentech.formats.OOXML.SheetView

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.