org.xlsx4j.sml.CTCustomWorkbookView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j Show documentation
Show all versions of docx4j Show documentation
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.
/*
* 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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for CT_CustomWorkbookView complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CT_CustomWorkbookView">
* <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="name" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
* <attribute name="guid" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Guid" />
* <attribute name="autoUpdate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="mergeInterval" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* <attribute name="changesSavedWin" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="onlySync" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="personalView" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="includePrintSettings" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="includeHiddenRowCol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="maximized" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <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" default="0" />
* <attribute name="yWindow" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
* <attribute name="windowWidth" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* <attribute name="windowHeight" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* <attribute name="tabRatio" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="600" />
* <attribute name="activeSheetId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* <attribute name="showFormulaBar" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="showStatusbar" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="showComments" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Comments" default="commIndicator" />
* <attribute name="showObjects" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Objects" default="all" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_CustomWorkbookView", propOrder = {
"extLst"
})
public class CTCustomWorkbookView {
protected CTExtensionList extLst;
@XmlAttribute(required = true)
protected String name;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String guid;
@XmlAttribute
protected Boolean autoUpdate;
@XmlAttribute
@XmlSchemaType(name = "unsignedInt")
protected Long mergeInterval;
@XmlAttribute
protected Boolean changesSavedWin;
@XmlAttribute
protected Boolean onlySync;
@XmlAttribute
protected Boolean personalView;
@XmlAttribute
protected Boolean includePrintSettings;
@XmlAttribute
protected Boolean includeHiddenRowCol;
@XmlAttribute
protected Boolean maximized;
@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(required = true)
@XmlSchemaType(name = "unsignedInt")
protected long windowWidth;
@XmlAttribute(required = true)
@XmlSchemaType(name = "unsignedInt")
protected long windowHeight;
@XmlAttribute
@XmlSchemaType(name = "unsignedInt")
protected Long tabRatio;
@XmlAttribute(required = true)
@XmlSchemaType(name = "unsignedInt")
protected long activeSheetId;
@XmlAttribute
protected Boolean showFormulaBar;
@XmlAttribute
protected Boolean showStatusbar;
@XmlAttribute
protected STComments showComments;
@XmlAttribute
protected STObjects showObjects;
/**
* 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 name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the guid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGuid() {
return guid;
}
/**
* Sets the value of the guid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGuid(String value) {
this.guid = value;
}
/**
* Gets the value of the autoUpdate property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isAutoUpdate() {
if (autoUpdate == null) {
return false;
} else {
return autoUpdate;
}
}
/**
* Sets the value of the autoUpdate property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAutoUpdate(Boolean value) {
this.autoUpdate = value;
}
/**
* Gets the value of the mergeInterval property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getMergeInterval() {
return mergeInterval;
}
/**
* Sets the value of the mergeInterval property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setMergeInterval(Long value) {
this.mergeInterval = value;
}
/**
* Gets the value of the changesSavedWin property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isChangesSavedWin() {
if (changesSavedWin == null) {
return false;
} else {
return changesSavedWin;
}
}
/**
* Sets the value of the changesSavedWin property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setChangesSavedWin(Boolean value) {
this.changesSavedWin = value;
}
/**
* Gets the value of the onlySync property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isOnlySync() {
if (onlySync == null) {
return false;
} else {
return onlySync;
}
}
/**
* Sets the value of the onlySync property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setOnlySync(Boolean value) {
this.onlySync = value;
}
/**
* Gets the value of the personalView property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isPersonalView() {
if (personalView == null) {
return false;
} else {
return personalView;
}
}
/**
* Sets the value of the personalView property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setPersonalView(Boolean value) {
this.personalView = value;
}
/**
* Gets the value of the includePrintSettings property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isIncludePrintSettings() {
if (includePrintSettings == null) {
return true;
} else {
return includePrintSettings;
}
}
/**
* Sets the value of the includePrintSettings property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIncludePrintSettings(Boolean value) {
this.includePrintSettings = value;
}
/**
* Gets the value of the includeHiddenRowCol property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isIncludeHiddenRowCol() {
if (includeHiddenRowCol == null) {
return true;
} else {
return includeHiddenRowCol;
}
}
/**
* Sets the value of the includeHiddenRowCol property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIncludeHiddenRowCol(Boolean value) {
this.includeHiddenRowCol = value;
}
/**
* Gets the value of the maximized property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isMaximized() {
if (maximized == null) {
return false;
} else {
return maximized;
}
}
/**
* Sets the value of the maximized property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMaximized(Boolean value) {
this.maximized = 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 int getXWindow() {
if (xWindow == null) {
return 0;
} else {
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 int getYWindow() {
if (yWindow == null) {
return 0;
} else {
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.
*
*/
public long getWindowWidth() {
return windowWidth;
}
/**
* Sets the value of the windowWidth property.
*
*/
public void setWindowWidth(long value) {
this.windowWidth = value;
}
/**
* Gets the value of the windowHeight property.
*
*/
public long getWindowHeight() {
return windowHeight;
}
/**
* Sets the value of the windowHeight property.
*
*/
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 activeSheetId property.
*
*/
public long getActiveSheetId() {
return activeSheetId;
}
/**
* Sets the value of the activeSheetId property.
*
*/
public void setActiveSheetId(long value) {
this.activeSheetId = value;
}
/**
* Gets the value of the showFormulaBar property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isShowFormulaBar() {
if (showFormulaBar == null) {
return true;
} else {
return showFormulaBar;
}
}
/**
* Sets the value of the showFormulaBar property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setShowFormulaBar(Boolean value) {
this.showFormulaBar = value;
}
/**
* Gets the value of the showStatusbar property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isShowStatusbar() {
if (showStatusbar == null) {
return true;
} else {
return showStatusbar;
}
}
/**
* Sets the value of the showStatusbar property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setShowStatusbar(Boolean value) {
this.showStatusbar = value;
}
/**
* Gets the value of the showComments property.
*
* @return
* possible object is
* {@link STComments }
*
*/
public STComments getShowComments() {
if (showComments == null) {
return STComments.COMM_INDICATOR;
} else {
return showComments;
}
}
/**
* Sets the value of the showComments property.
*
* @param value
* allowed object is
* {@link STComments }
*
*/
public void setShowComments(STComments value) {
this.showComments = value;
}
/**
* Gets the value of the showObjects property.
*
* @return
* possible object is
* {@link STObjects }
*
*/
public STObjects getShowObjects() {
if (showObjects == null) {
return STObjects.ALL;
} else {
return showObjects;
}
}
/**
* Sets the value of the showObjects property.
*
* @param value
* allowed object is
* {@link STObjects }
*
*/
public void setShowObjects(STObjects value) {
this.showObjects = value;
}
}