All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xlsx4j.sml.CTBookView Maven / Gradle / Ivy

Go to download

docx4j is a library which helps you to work with the Office Open XML file format as used in docx documents, pptx presentations, and xlsx spreadsheets.

There is a newer version: 6.1.2
Show newest version
/*
 *  Copyright 2010, Plutext Pty Ltd.
 *   
 *  This file is part of docx4j.

    docx4j is licensed under the Apache License, Version 2.0 (the "License"); 
    you may not use this file except in compliance with the License. 

    You may obtain a copy of the License at 

        http://www.apache.org/licenses/LICENSE-2.0 

    Unless required by applicable law or agreed to in writing, software 
    distributed under the License is distributed on an "AS IS" BASIS, 
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
    See the License for the specific language governing permissions and 
    limitations under the License.

 */


package org.xlsx4j.sml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for CT_BookView complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="CT_BookView">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="visibility" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Visibility" default="visible" />
 *       <attribute name="minimized" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="showHorizontalScroll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="showVerticalScroll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="showSheetTabs" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="xWindow" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="yWindow" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="windowWidth" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
 *       <attribute name="windowHeight" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
 *       <attribute name="tabRatio" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
 *       <attribute name="firstSheet" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
 *       <attribute name="activeTab" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
 *       <attribute name="autoFilterDateGrouping" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CT_BookView", propOrder = { "extLst" }) public class CTBookView { protected CTExtensionList extLst; @XmlAttribute protected STVisibility visibility; @XmlAttribute protected Boolean minimized; @XmlAttribute protected Boolean showHorizontalScroll; @XmlAttribute protected Boolean showVerticalScroll; @XmlAttribute protected Boolean showSheetTabs; @XmlAttribute protected Integer xWindow; @XmlAttribute protected Integer yWindow; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long windowWidth; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long windowHeight; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long tabRatio; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long firstSheet; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long activeTab; @XmlAttribute protected Boolean autoFilterDateGrouping; /** * Gets the value of the extLst property. * * @return * possible object is * {@link CTExtensionList } * */ public CTExtensionList getExtLst() { return extLst; } /** * Sets the value of the extLst property. * * @param value * allowed object is * {@link CTExtensionList } * */ public void setExtLst(CTExtensionList value) { this.extLst = value; } /** * Gets the value of the visibility property. * * @return * possible object is * {@link STVisibility } * */ public STVisibility getVisibility() { if (visibility == null) { return STVisibility.VISIBLE; } else { return visibility; } } /** * Sets the value of the visibility property. * * @param value * allowed object is * {@link STVisibility } * */ public void setVisibility(STVisibility value) { this.visibility = value; } /** * Gets the value of the minimized property. * * @return * possible object is * {@link Boolean } * */ public boolean isMinimized() { if (minimized == null) { return false; } else { return minimized; } } /** * Sets the value of the minimized property. * * @param value * allowed object is * {@link Boolean } * */ public void setMinimized(Boolean value) { this.minimized = value; } /** * Gets the value of the showHorizontalScroll property. * * @return * possible object is * {@link Boolean } * */ public boolean isShowHorizontalScroll() { if (showHorizontalScroll == null) { return true; } else { return showHorizontalScroll; } } /** * Sets the value of the showHorizontalScroll property. * * @param value * allowed object is * {@link Boolean } * */ public void setShowHorizontalScroll(Boolean value) { this.showHorizontalScroll = value; } /** * Gets the value of the showVerticalScroll property. * * @return * possible object is * {@link Boolean } * */ public boolean isShowVerticalScroll() { if (showVerticalScroll == null) { return true; } else { return showVerticalScroll; } } /** * Sets the value of the showVerticalScroll property. * * @param value * allowed object is * {@link Boolean } * */ public void setShowVerticalScroll(Boolean value) { this.showVerticalScroll = value; } /** * Gets the value of the showSheetTabs property. * * @return * possible object is * {@link Boolean } * */ public boolean isShowSheetTabs() { if (showSheetTabs == null) { return true; } else { return showSheetTabs; } } /** * Sets the value of the showSheetTabs property. * * @param value * allowed object is * {@link Boolean } * */ public void setShowSheetTabs(Boolean value) { this.showSheetTabs = value; } /** * Gets the value of the xWindow property. * * @return * possible object is * {@link Integer } * */ public Integer getXWindow() { return xWindow; } /** * Sets the value of the xWindow property. * * @param value * allowed object is * {@link Integer } * */ public void setXWindow(Integer value) { this.xWindow = value; } /** * Gets the value of the yWindow property. * * @return * possible object is * {@link Integer } * */ public Integer getYWindow() { return yWindow; } /** * Sets the value of the yWindow property. * * @param value * allowed object is * {@link Integer } * */ public void setYWindow(Integer value) { this.yWindow = value; } /** * Gets the value of the windowWidth property. * * @return * possible object is * {@link Long } * */ public Long getWindowWidth() { return windowWidth; } /** * Sets the value of the windowWidth property. * * @param value * allowed object is * {@link Long } * */ public void setWindowWidth(Long value) { this.windowWidth = value; } /** * Gets the value of the windowHeight property. * * @return * possible object is * {@link Long } * */ public Long getWindowHeight() { return windowHeight; } /** * Sets the value of the windowHeight property. * * @param value * allowed object is * {@link Long } * */ public void setWindowHeight(Long value) { this.windowHeight = value; } /** * Gets the value of the tabRatio property. * * @return * possible object is * {@link Long } * */ public long getTabRatio() { if (tabRatio == null) { return 600L; } else { return tabRatio; } } /** * Sets the value of the tabRatio property. * * @param value * allowed object is * {@link Long } * */ public void setTabRatio(Long value) { this.tabRatio = value; } /** * Gets the value of the firstSheet property. * * @return * possible object is * {@link Long } * */ public long getFirstSheet() { if (firstSheet == null) { return 0L; } else { return firstSheet; } } /** * Sets the value of the firstSheet property. * * @param value * allowed object is * {@link Long } * */ public void setFirstSheet(Long value) { this.firstSheet = value; } /** * Gets the value of the activeTab property. * * @return * possible object is * {@link Long } * */ public long getActiveTab() { if (activeTab == null) { return 0L; } else { return activeTab; } } /** * Sets the value of the activeTab property. * * @param value * allowed object is * {@link Long } * */ public void setActiveTab(Long value) { this.activeTab = value; } /** * Gets the value of the autoFilterDateGrouping property. * * @return * possible object is * {@link Boolean } * */ public boolean isAutoFilterDateGrouping() { if (autoFilterDateGrouping == null) { return true; } else { return autoFilterDateGrouping; } } /** * Sets the value of the autoFilterDateGrouping property. * * @param value * allowed object is * {@link Boolean } * */ public void setAutoFilterDateGrouping(Boolean value) { this.autoFilterDateGrouping = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy