Class Workbook
java.lang.Object
com.independentsoft.office.OfficeDocument
com.independentsoft.office.spreadsheet.Workbook
The Class Workbook.
-
Field Summary
Fields inherited from class com.independentsoft.office.OfficeDocument
applicationProperty, contentTypeTable, coreProperty, customFileTable, customProperties, documentRelationship, inputFileTable, macro, mainDocumentFileName, mainDocumentFolderName, outputStream, packageRelationship, theme, utf8 -
Constructor Summary
ConstructorsConstructorDescriptionWorkbook()Instantiates a new workbook.Workbook(InputStream inputStream)Instantiates a new workbook.Instantiates a new workbook. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the.Gets the name of the application that created the document.Gets the builds the version.byte[]getBytes()Gets the bytes.Gets the calculation chains.intGets the calculation id.Gets the calculation mode.Gets the cells.Gets the code name.intGets the code page.intGets the concurrent thread manual count.Gets the connections.Gets the custom workbook views.intGets the default theme version.Gets the defined names.intgetDpi()Gets the dpi.Gets the external links.Gets the file version code name.Gets the function groups.Gets the input stream.intGets the iteration count.doubleGets the iterative calculation delta.Gets the last edited version.Gets the lowest edited version.Gets the password.Gets the pivot caches.Gets the query tables.Gets the reference mode.Gets the revision header set.Gets the revisions password.Gets the screen size.Gets the shared strings.Gets the shared users.Gets the sheets.Gets the smart tag display type.Gets the smart tag types.Gets the styles.Gets the update links type.Gets the username.getViews()Gets the views.Gets the web publishing objects.Gets the workbook password.Gets the xml maps.booleanChecks if is allow png.booleanChecks if is allow refresh query.booleanChecks if is auto compress pictures.booleanChecks if is auto recovery.booleanChecks if is calculate on save.booleanChecks if is calculation completed.booleanChecks if is calculation iteration.booleanChecks if is check compatibility on save.booleanChecks if is concurrent calculations.booleanChecks if is crash save.booleanChecks if is creates the backup file.booleanChecks if is data extract load.booleanChecks if is date1904.booleanChecks if is embed smart tags.booleanChecks if is enable long file names.booleanChecks if is filter privacy.booleanChecks if is force full calculation.booleanChecks if is full calculation on load.booleanChecks if is full precision calculation.booleanChecks if is hide pivot field list.booleanChecks if is lock revisions.booleanChecks if is lock structure.booleanChecks if is lock windows.booleanChecks if is macro enabled.booleanChecks if is optimize shared strings.booleanChecks if is prompted solutions.booleanChecks if is publish items.booleanChecks if is read only recommended.booleanChecks if is refresh all connections on open.booleanChecks if is repair load.booleanChecks if is save external link values.booleanChecks if is show border unselected tables.booleanChecks if is show ink annotations.booleanChecks if is show objects.booleanChecks if is show pivot chart filter.booleanChecks if is template.booleanChecks if is thicket.booleanisVml()Checks if is vml.voidloadFromXls(InputStream stream)Loads an XLS workbook from a stream.voidloadFromXls(String file)Loads an XLS (Microsoft Excel 97-2003 binary, BIFF8) workbook and reconstructs its worksheets and cell values (text, numbers, booleans, errors and formula results) into thisWorkbook.voidopen(InputStream inputStream)Open.voidOpen.protected voidopenImplementation(InputStream inputStream)voidsave(OutputStream outputStream)Save.voidSave.voidSave.voidsetAllowPng(boolean allowPng)Sets the allow png.voidsetAllowRefreshQuery(boolean allowRefreshQuery)Sets the allow refresh query.voidsetApplicationName(String applicationName)Sets the name of the application that created the document.voidsetAutoCompressPictures(boolean autoCompressPictures)Sets the auto compress pictures.voidsetAutoRecovery(boolean autoRecovery)Sets the auto recovery.voidsetBuildVersion(String buildVersion)Sets the builds the version.voidsetCalculateOnSave(boolean calculateOnSave)Sets the calculate on save.voidsetCalculationCompleted(boolean calculationCompleted)Sets the calculation completed.voidsetCalculationID(int calculationID)Sets the calculation id.voidsetCalculationIteration(boolean calculationIteration)Sets the calculation iteration.voidsetCalculationMode(CalculationMode calculationMode)Sets the calculation mode.voidsetCheckCompatibilityOnSave(boolean checkCompatibilityOnSave)Sets the check compatibility on save.voidsetCodeName(String codeName)Sets the code name.voidsetCodePage(int codePage)Sets the code page.voidsetConcurrentCalculations(boolean concurrentCalculations)Sets the concurrent calculations.voidsetConcurrentThreadManualCount(int concurrentThreadManualCount)Sets the concurrent thread manual count.voidsetCrashSave(boolean crashSave)Sets the crash save.voidsetCreateBackupFile(boolean createBackupFile)Sets the creates the backup file.voidsetDataExtractLoad(boolean dataExtractLoad)Sets the data extract load.voidsetDate1904(boolean date1904)Sets the date1904.voidsetDefaultThemeVersion(int defaultThemeVersion)Sets the default theme version.voidsetDpi(int dpi)Sets the dpi.voidsetEmbedSmartTags(boolean embedSmartTags)Sets the embed smart tags.voidsetEnableLongFileNames(boolean enableLongFileNames)Sets the enable long file names.voidsetFileVersionCodeName(String codeName)Sets the file version code name.voidsetFilterPrivacy(boolean filterPrivacy)Sets the filter privacy.voidsetForceFullCalculation(boolean forceFullCalculation)Sets the force full calculation.voidsetFullCalculationOnLoad(boolean fullCalculationOnLoad)Sets the full calculation on load.voidsetFullPrecisionCalculation(boolean fullPrecisionCalculation)Sets the full precision calculation.voidsetHidePivotFieldList(boolean hidePivotFieldList)Sets the hide pivot field list.voidsetIterationCount(int iterationCount)Sets the iteration count.voidsetIterativeCalculationDelta(double iterativeCalculationDelta)Sets the iterative calculation delta.voidsetLastEditedVersion(String lastEditedVersion)Sets the last edited version.voidsetLockRevisions(boolean lockRevisions)Sets the lock revisions.voidsetLockStructure(boolean lockStructure)Sets the lock structure.voidsetLockWindows(boolean lockWindows)Sets the lock windows.voidsetLowestEditedVersion(String lowestEditedVersion)Sets the lowest edited version.voidsetMacroEnabled(boolean isMacroEnabled)Sets the macro enabled.voidsetOptimizeSharedStrings(boolean optimizeSharedStrings)Sets the optimize shared strings.voidsetPassword(String password)Sets the password.voidsetPromptedSolutions(boolean promptedSolutions)Sets the prompted solutions.voidsetPublishItems(boolean publishItems)Sets the publish items.voidsetReadOnlyRecommended(boolean readOnlyRecommended)Sets the read only recommended.voidsetReferenceMode(ReferenceMode referenceMode)Sets the reference mode.voidsetRefreshAllConnectionsOnOpen(boolean refreshAllConnectionsOnOpen)Sets the refresh all connections on open.voidsetRepairLoad(boolean repairLoad)Sets the repair load.voidsetRevisionHeaderSet(RevisionHeaderSet revisionHeaderSet)Sets the revision header set.voidsetRevisionsPassword(String revisionsPassword)Sets the revisions password.voidsetSaveExternalLinkValues(boolean saveExternalLinkValues)Sets the save external link values.voidsetScreenSize(ScreenSize screenSize)Sets the screen size.voidsetShowBorderUnselectedTables(boolean showBorderUnselectedTables)Sets the show border unselected tables.voidsetShowInkAnnotations(boolean showInkAnnotations)Sets the show ink annotations.voidsetShowObjects(boolean showObjects)Sets the show objects.voidsetShowPivotChartFilter(boolean showPivotChartFilter)Sets the show pivot chart filter.voidsetSmartTagDisplayType(SmartTagDisplayType smartTagDisplayType)Sets the smart tag display type.voidsetTemplate(boolean isTemplate)Sets the template.voidsetThicket(boolean thicket)Sets the thicket.voidsetUpdateLinksType(UpdateLinksType updateLinksType)Sets the update links type.voidsetUseCss(boolean useCss)Sets the use css.voidsetUsername(String username)Sets the username.voidsetUseSharedStrings(boolean useSharedStrings)Sets the use shared strings.voidsetVml(boolean vml)Sets the vml.voidsetWorkbookPassword(String password)Sets the workbook password.voidsetXmlMaps(MapInfo xmlMaps)Sets the xml maps.toString()booleanuseCss()Use css.booleanUse shared strings.Methods inherited from class com.independentsoft.office.OfficeDocument
addFile, addFile, getApplicationVersion, getCategory, getCharacterCount, getCompany, getContentStatus, getContentType, getContentTypeTable, getCreated, getCreator, getCustomFileTable, getCustomProperties, getDescription, getDigitalSignature, getDocumentSecurity, getHeadingPairs, getHiddenSlideCount, getHyperlinkList, getIdentifier, getInputFileTable, getKeywords, getLanguage, getLastCharacterCount, getLastModifiedBy, getLastPrinted, getLineCount, getMacro, getMainDocumentFolderName, getManager, getModified, getMultimediaClipCount, getNoteCount, getPageCount, getParagraphCount, getPartTitles, getPresentationFormat, getRelativeHyperlinkBase, getRevision, getSubject, getTemplateName, getTheme, getTitle, getTotalTime, getVersion, getWordCount, hasEnableScaling, hasHyperlinksChanged, hasLinksUpToDate, isSharedDocument, setApplicationVersion, setCategory, setCharacterCount, setCompany, setContentStatus, setContentType, setCreated, setCreator, setDescription, setDigitalSignature, setDocumentSecurity, setEnableScaling, setHeadingPairs, setHiddenSlideCount, setHyperlinkList, setHyperlinksChanged, setIdentifier, setKeywords, setLanguage, setLastCharacterCount, setLastModifiedBy, setLastPrinted, setLineCount, setLinksUpToDate, setMacro, setManager, setModified, setMultimediaClipCount, setNoteCount, setPageCount, setParagraphCount, setPartTitles, setPresentationFormat, setRelativeHyperlinkBase, setRevision, setSharedDocument, setSubject, setTemplateName, setTheme, setTitle, setTotalTime, setVersion, setWordCount
-
Constructor Details
-
Workbook
public Workbook()Instantiates a new workbook. -
Workbook
Instantiates a new workbook.- Parameters:
file- the file- Throws:
IOException- Signals that an I/O exception has occurred.XMLStreamException- the xML stream exception
-
Workbook
Instantiates a new workbook.- Parameters:
inputStream- the input stream- Throws:
IOException- Signals that an I/O exception has occurred.XMLStreamException- the xML stream exception
-
-
Method Details
-
open
Description copied from class:OfficeDocumentOpen.- Specified by:
openin classOfficeDocument- Parameters:
filePath- the file- Throws:
IOException- Signals that an I/O exception has occurred.XMLStreamException- the xML stream exception
-
open
Description copied from class:OfficeDocumentOpen.- Specified by:
openin classOfficeDocument- Parameters:
inputStream- the stream- Throws:
IOException- Signals that an I/O exception has occurred.XMLStreamException- the xML stream exception
-
loadFromXls
Loads an XLS (Microsoft Excel 97-2003 binary, BIFF8) workbook and reconstructs its worksheets and cell values (text, numbers, booleans, errors and formula results) into thisWorkbook.- Parameters:
file- the XLS file path- Throws:
IOException- if an I/O error occurs
-
loadFromXls
Loads an XLS workbook from a stream. SeeloadFromXls(String).- Parameters:
stream- the XLS stream- Throws:
IOException- if an I/O error occurs
-
openImplementation
- Overrides:
openImplementationin classOfficeDocument- Throws:
IOExceptionXMLStreamException
-
save
Description copied from class:OfficeDocumentSave.- Specified by:
savein classOfficeDocument- Parameters:
filePath- the file- Throws:
IOException- Signals that an I/O exception has occurred.
-
save
Description copied from class:OfficeDocumentSave.- Specified by:
savein classOfficeDocument- Parameters:
filePath- the fileoverwrite- the overwrite- Throws:
IOException- Signals that an I/O exception has occurred.
-
save
Description copied from class:OfficeDocumentSave.- Specified by:
savein classOfficeDocument- Parameters:
outputStream- the stream- Throws:
IOException- Signals that an I/O exception has occurred.
-
getInputStream
Description copied from class:OfficeDocumentGets the input stream.- Specified by:
getInputStreamin classOfficeDocument- Returns:
- the input stream
- Throws:
IOException- Signals that an I/O exception has occurred.
-
getBytes
Description copied from class:OfficeDocumentGets the bytes.- Specified by:
getBytesin classOfficeDocument- Returns:
- the bytes
- Throws:
IOException- Signals that an I/O exception has occurred.
-
getCells
Gets the cells.- Parameters:
reference- the reference- Returns:
- the cells
-
clone
-
toString
-
get
Gets the.- Parameters:
sheetName- the sheet name- Returns:
- the sheet
-
isTemplate
public boolean isTemplate()Checks if is template.- Returns:
- true, if is template
-
setTemplate
public void setTemplate(boolean isTemplate)Sets the template.- Parameters:
isTemplate- the new template
-
isMacroEnabled
public boolean isMacroEnabled()Checks if is macro enabled.- Returns:
- true, if is macro enabled
-
setMacroEnabled
public void setMacroEnabled(boolean isMacroEnabled)Sets the macro enabled.- Parameters:
isMacroEnabled- the new macro enabled
-
getXmlMaps
Gets the xml maps.- Returns:
- the xml maps
-
setXmlMaps
Sets the xml maps.- Parameters:
xmlMaps- the new xml maps
-
getRevisionHeaderSet
Gets the revision header set.- Returns:
- the revision header set
-
setRevisionHeaderSet
Sets the revision header set.- Parameters:
revisionHeaderSet- the new revision header set
-
getStyles
Gets the styles.- Returns:
- the styles
-
getCalculationChains
Gets the calculation chains.- Returns:
- the calculation chains
-
getViews
Gets the views.- Returns:
- the views
-
getPivotCaches
Gets the pivot caches.- Returns:
- the pivot caches
-
getExternalLinks
Gets the external links.- Returns:
- the external links
-
getQueryTables
Gets the query tables.- Returns:
- the query tables
-
getConnections
Gets the connections.- Returns:
- the connections
-
getCustomWorkbookViews
Gets the custom workbook views.- Returns:
- the custom workbook views
-
getDefinedNames
Gets the defined names.- Returns:
- the defined names
-
getFunctionGroups
Gets the function groups.- Returns:
- the function groups
-
getWebPublishingObjects
Gets the web publishing objects.- Returns:
- the web publishing objects
-
getSmartTagTypes
Gets the smart tag types.- Returns:
- the smart tag types
-
getSheets
Gets the sheets.- Returns:
- the sheets
-
isAllowRefreshQuery
public boolean isAllowRefreshQuery()Checks if is allow refresh query.- Returns:
- true, if is allow refresh query
-
setAllowRefreshQuery
public void setAllowRefreshQuery(boolean allowRefreshQuery)Sets the allow refresh query.- Parameters:
allowRefreshQuery- the new allow refresh query
-
isAutoCompressPictures
public boolean isAutoCompressPictures()Checks if is auto compress pictures.- Returns:
- true, if is auto compress pictures
-
setAutoCompressPictures
public void setAutoCompressPictures(boolean autoCompressPictures)Sets the auto compress pictures.- Parameters:
autoCompressPictures- the new auto compress pictures
-
isCreateBackupFile
public boolean isCreateBackupFile()Checks if is creates the backup file.- Returns:
- true, if is creates the backup file
-
setCreateBackupFile
public void setCreateBackupFile(boolean createBackupFile)Sets the creates the backup file.- Parameters:
createBackupFile- the new creates the backup file
-
isCheckCompatibilityOnSave
public boolean isCheckCompatibilityOnSave()Checks if is check compatibility on save.- Returns:
- true, if is check compatibility on save
-
setCheckCompatibilityOnSave
public void setCheckCompatibilityOnSave(boolean checkCompatibilityOnSave)Sets the check compatibility on save.- Parameters:
checkCompatibilityOnSave- the new check compatibility on save
-
getCodeName
Gets the code name.- Returns:
- the code name
-
setCodeName
Sets the code name.- Parameters:
codeName- the new code name
-
isDate1904
public boolean isDate1904()Checks if is date1904.- Returns:
- true, if is date1904
-
setDate1904
public void setDate1904(boolean date1904)Sets the date1904.- Parameters:
date1904- the new date1904
-
getDefaultThemeVersion
public int getDefaultThemeVersion()Gets the default theme version.- Returns:
- the default theme version
-
setDefaultThemeVersion
public void setDefaultThemeVersion(int defaultThemeVersion)Sets the default theme version.- Parameters:
defaultThemeVersion- the new default theme version
-
isFilterPrivacy
public boolean isFilterPrivacy()Checks if is filter privacy.- Returns:
- true, if is filter privacy
-
setFilterPrivacy
public void setFilterPrivacy(boolean filterPrivacy)Sets the filter privacy.- Parameters:
filterPrivacy- the new filter privacy
-
isHidePivotFieldList
public boolean isHidePivotFieldList()Checks if is hide pivot field list.- Returns:
- true, if is hide pivot field list
-
setHidePivotFieldList
public void setHidePivotFieldList(boolean hidePivotFieldList)Sets the hide pivot field list.- Parameters:
hidePivotFieldList- the new hide pivot field list
-
isPromptedSolutions
public boolean isPromptedSolutions()Checks if is prompted solutions.- Returns:
- true, if is prompted solutions
-
setPromptedSolutions
public void setPromptedSolutions(boolean promptedSolutions)Sets the prompted solutions.- Parameters:
promptedSolutions- the new prompted solutions
-
isPublishItems
public boolean isPublishItems()Checks if is publish items.- Returns:
- true, if is publish items
-
setPublishItems
public void setPublishItems(boolean publishItems)Sets the publish items.- Parameters:
publishItems- the new publish items
-
isRefreshAllConnectionsOnOpen
public boolean isRefreshAllConnectionsOnOpen()Checks if is refresh all connections on open.- Returns:
- true, if is refresh all connections on open
-
setRefreshAllConnectionsOnOpen
public void setRefreshAllConnectionsOnOpen(boolean refreshAllConnectionsOnOpen)Sets the refresh all connections on open.- Parameters:
refreshAllConnectionsOnOpen- the new refresh all connections on open
-
isSaveExternalLinkValues
public boolean isSaveExternalLinkValues()Checks if is save external link values.- Returns:
- true, if is save external link values
-
setSaveExternalLinkValues
public void setSaveExternalLinkValues(boolean saveExternalLinkValues)Sets the save external link values.- Parameters:
saveExternalLinkValues- the new save external link values
-
isShowBorderUnselectedTables
public boolean isShowBorderUnselectedTables()Checks if is show border unselected tables.- Returns:
- true, if is show border unselected tables
-
setShowBorderUnselectedTables
public void setShowBorderUnselectedTables(boolean showBorderUnselectedTables)Sets the show border unselected tables.- Parameters:
showBorderUnselectedTables- the new show border unselected tables
-
isShowInkAnnotations
public boolean isShowInkAnnotations()Checks if is show ink annotations.- Returns:
- true, if is show ink annotations
-
setShowInkAnnotations
public void setShowInkAnnotations(boolean showInkAnnotations)Sets the show ink annotations.- Parameters:
showInkAnnotations- the new show ink annotations
-
isShowObjects
public boolean isShowObjects()Checks if is show objects.- Returns:
- true, if is show objects
-
setShowObjects
public void setShowObjects(boolean showObjects)Sets the show objects.- Parameters:
showObjects- the new show objects
-
isShowPivotChartFilter
public boolean isShowPivotChartFilter()Checks if is show pivot chart filter.- Returns:
- true, if is show pivot chart filter
-
setShowPivotChartFilter
public void setShowPivotChartFilter(boolean showPivotChartFilter)Sets the show pivot chart filter.- Parameters:
showPivotChartFilter- the new show pivot chart filter
-
getUpdateLinksType
Gets the update links type.- Returns:
- the update links type
-
setUpdateLinksType
Sets the update links type.- Parameters:
updateLinksType- the new update links type
-
isCalculationCompleted
public boolean isCalculationCompleted()Checks if is calculation completed.- Returns:
- true, if is calculation completed
-
setCalculationCompleted
public void setCalculationCompleted(boolean calculationCompleted)Sets the calculation completed.- Parameters:
calculationCompleted- the new calculation completed
-
getCalculationID
public int getCalculationID()Gets the calculation id.- Returns:
- the calculation id
-
setCalculationID
public void setCalculationID(int calculationID)Sets the calculation id.- Parameters:
calculationID- the new calculation id
-
getCalculationMode
Gets the calculation mode.- Returns:
- the calculation mode
-
setCalculationMode
Sets the calculation mode.- Parameters:
calculationMode- the new calculation mode
-
isCalculateOnSave
public boolean isCalculateOnSave()Checks if is calculate on save.- Returns:
- true, if is calculate on save
-
setCalculateOnSave
public void setCalculateOnSave(boolean calculateOnSave)Sets the calculate on save.- Parameters:
calculateOnSave- the new calculate on save
-
isConcurrentCalculations
public boolean isConcurrentCalculations()Checks if is concurrent calculations.- Returns:
- true, if is concurrent calculations
-
setConcurrentCalculations
public void setConcurrentCalculations(boolean concurrentCalculations)Sets the concurrent calculations.- Parameters:
concurrentCalculations- the new concurrent calculations
-
getConcurrentThreadManualCount
public int getConcurrentThreadManualCount()Gets the concurrent thread manual count.- Returns:
- the concurrent thread manual count
-
setConcurrentThreadManualCount
public void setConcurrentThreadManualCount(int concurrentThreadManualCount)Sets the concurrent thread manual count.- Parameters:
concurrentThreadManualCount- the new concurrent thread manual count
-
isForceFullCalculation
public boolean isForceFullCalculation()Checks if is force full calculation.- Returns:
- true, if is force full calculation
-
setForceFullCalculation
public void setForceFullCalculation(boolean forceFullCalculation)Sets the force full calculation.- Parameters:
forceFullCalculation- the new force full calculation
-
isFullCalculationOnLoad
public boolean isFullCalculationOnLoad()Checks if is full calculation on load.- Returns:
- true, if is full calculation on load
-
setFullCalculationOnLoad
public void setFullCalculationOnLoad(boolean fullCalculationOnLoad)Sets the full calculation on load.- Parameters:
fullCalculationOnLoad- the new full calculation on load
-
isFullPrecisionCalculation
public boolean isFullPrecisionCalculation()Checks if is full precision calculation.- Returns:
- true, if is full precision calculation
-
setFullPrecisionCalculation
public void setFullPrecisionCalculation(boolean fullPrecisionCalculation)Sets the full precision calculation.- Parameters:
fullPrecisionCalculation- the new full precision calculation
-
isCalculationIteration
public boolean isCalculationIteration()Checks if is calculation iteration.- Returns:
- true, if is calculation iteration
-
setCalculationIteration
public void setCalculationIteration(boolean calculationIteration)Sets the calculation iteration.- Parameters:
calculationIteration- the new calculation iteration
-
getIterationCount
public int getIterationCount()Gets the iteration count.- Returns:
- the iteration count
-
setIterationCount
public void setIterationCount(int iterationCount)Sets the iteration count.- Parameters:
iterationCount- the new iteration count
-
getIterativeCalculationDelta
public double getIterativeCalculationDelta()Gets the iterative calculation delta.- Returns:
- the iterative calculation delta
-
setIterativeCalculationDelta
public void setIterativeCalculationDelta(double iterativeCalculationDelta)Sets the iterative calculation delta.- Parameters:
iterativeCalculationDelta- the new iterative calculation delta
-
getReferenceMode
Gets the reference mode.- Returns:
- the reference mode
-
setReferenceMode
Sets the reference mode.- Parameters:
referenceMode- the new reference mode
-
isAutoRecovery
public boolean isAutoRecovery()Checks if is auto recovery.- Returns:
- true, if is auto recovery
-
setAutoRecovery
public void setAutoRecovery(boolean autoRecovery)Sets the auto recovery.- Parameters:
autoRecovery- the new auto recovery
-
isCrashSave
public boolean isCrashSave()Checks if is crash save.- Returns:
- true, if is crash save
-
setCrashSave
public void setCrashSave(boolean crashSave)Sets the crash save.- Parameters:
crashSave- the new crash save
-
isDataExtractLoad
public boolean isDataExtractLoad()Checks if is data extract load.- Returns:
- true, if is data extract load
-
setDataExtractLoad
public void setDataExtractLoad(boolean dataExtractLoad)Sets the data extract load.- Parameters:
dataExtractLoad- the new data extract load
-
isRepairLoad
public boolean isRepairLoad()Checks if is repair load.- Returns:
- true, if is repair load
-
setRepairLoad
public void setRepairLoad(boolean repairLoad)Sets the repair load.- Parameters:
repairLoad- the new repair load
-
isReadOnlyRecommended
public boolean isReadOnlyRecommended()Checks if is read only recommended.- Returns:
- true, if is read only recommended
-
setReadOnlyRecommended
public void setReadOnlyRecommended(boolean readOnlyRecommended)Sets the read only recommended.- Parameters:
readOnlyRecommended- the new read only recommended
-
getPassword
Gets the password.- Returns:
- the password
-
setPassword
Sets the password.- Parameters:
password- the new password
-
getUsername
Gets the username.- Returns:
- the username
-
setUsername
Sets the username.- Parameters:
username- the new username
-
getApplicationName
Description copied from class:OfficeDocumentGets the name of the application that created the document.- Overrides:
getApplicationNamein classOfficeDocument- Returns:
- String
-
setApplicationName
Description copied from class:OfficeDocumentSets the name of the application that created the document.- Overrides:
setApplicationNamein classOfficeDocument- Parameters:
applicationName- the new application name
-
getFileVersionCodeName
Gets the file version code name.- Returns:
- the file version code name
-
setFileVersionCodeName
Sets the file version code name.- Parameters:
codeName- the new file version code name
-
getLastEditedVersion
Gets the last edited version.- Returns:
- the last edited version
-
setLastEditedVersion
Sets the last edited version.- Parameters:
lastEditedVersion- the new last edited version
-
getLowestEditedVersion
Gets the lowest edited version.- Returns:
- the lowest edited version
-
setLowestEditedVersion
Sets the lowest edited version.- Parameters:
lowestEditedVersion- the new lowest edited version
-
getBuildVersion
Gets the builds the version.- Returns:
- the builds the version
-
setBuildVersion
Sets the builds the version.- Parameters:
buildVersion- the new builds the version
-
isLockRevisions
public boolean isLockRevisions()Checks if is lock revisions.- Returns:
- true, if is lock revisions
-
setLockRevisions
public void setLockRevisions(boolean lockRevisions)Sets the lock revisions.- Parameters:
lockRevisions- the new lock revisions
-
isLockStructure
public boolean isLockStructure()Checks if is lock structure.- Returns:
- true, if is lock structure
-
setLockStructure
public void setLockStructure(boolean lockStructure)Sets the lock structure.- Parameters:
lockStructure- the new lock structure
-
isLockWindows
public boolean isLockWindows()Checks if is lock windows.- Returns:
- true, if is lock windows
-
setLockWindows
public void setLockWindows(boolean lockWindows)Sets the lock windows.- Parameters:
lockWindows- the new lock windows
-
getRevisionsPassword
Gets the revisions password.- Returns:
- the revisions password
-
setRevisionsPassword
Sets the revisions password.- Parameters:
revisionsPassword- the new revisions password
-
getWorkbookPassword
Gets the workbook password.- Returns:
- the workbook password
-
setWorkbookPassword
Sets the workbook password.- Parameters:
password- the new workbook password
-
isAllowPng
public boolean isAllowPng()Checks if is allow png.- Returns:
- true, if is allow png
-
setAllowPng
public void setAllowPng(boolean allowPng)Sets the allow png.- Parameters:
allowPng- the new allow png
-
getCodePage
public int getCodePage()Gets the code page.- Returns:
- the code page
-
setCodePage
public void setCodePage(int codePage)Sets the code page.- Parameters:
codePage- the new code page
-
useCss
public boolean useCss()Use css.- Returns:
- true, if successful
-
setUseCss
public void setUseCss(boolean useCss)Sets the use css.- Parameters:
useCss- the new use css
-
getDpi
public int getDpi()Gets the dpi.- Returns:
- the dpi
-
setDpi
public void setDpi(int dpi)Sets the dpi.- Parameters:
dpi- the new dpi
-
isEnableLongFileNames
public boolean isEnableLongFileNames()Checks if is enable long file names.- Returns:
- true, if is enable long file names
-
setEnableLongFileNames
public void setEnableLongFileNames(boolean enableLongFileNames)Sets the enable long file names.- Parameters:
enableLongFileNames- the new enable long file names
-
getScreenSize
Gets the screen size.- Returns:
- the screen size
-
setScreenSize
Sets the screen size.- Parameters:
screenSize- the new screen size
-
isThicket
public boolean isThicket()Checks if is thicket.- Returns:
- true, if is thicket
-
setThicket
public void setThicket(boolean thicket)Sets the thicket.- Parameters:
thicket- the new thicket
-
isVml
public boolean isVml()Checks if is vml.- Returns:
- true, if is vml
-
setVml
public void setVml(boolean vml)Sets the vml.- Parameters:
vml- the new vml
-
isEmbedSmartTags
public boolean isEmbedSmartTags()Checks if is embed smart tags.- Returns:
- true, if is embed smart tags
-
setEmbedSmartTags
public void setEmbedSmartTags(boolean embedSmartTags)Sets the embed smart tags.- Parameters:
embedSmartTags- the new embed smart tags
-
getSmartTagDisplayType
Gets the smart tag display type.- Returns:
- the smart tag display type
-
setSmartTagDisplayType
Sets the smart tag display type.- Parameters:
smartTagDisplayType- the new smart tag display type
-