24namespace oox {
class AttributeList; }
25namespace oox {
class SequenceInputStream; }
109 void setDateMode(
bool bDateMode1904,
bool bDateCompatibility=
true );
Helper class to provide access to global workbook data.
sal_Int16 getApiShowObjectMode() const
Returns the show objects mode (considered a view setting in Calc).
WorkbookSettingsModel maBookSettings
void finalizeImport()
Converts the imported workbook settings.
CalcSettingsModel maCalcSettings
void importCalcPr(const AttributeList &rAttribs)
Imports the calcPr element containing workbook calculation settings.
FileSharingModel maFileSharing
void setDateMode(bool bDateMode1904, bool bDateCompatibility=true)
Updates date mode and unit converter nulldate.
WorkbookSettings(const WorkbookHelper &rHelper)
void importFileSharing(const AttributeList &rAttribs)
Imports the fileSharing element containing write protection settings.
css::util::Date const & getNullDate() const
Returns the nulldate of this workbook.
void importWorkbookPr(const AttributeList &rAttribs)
Imports the workbookPr element containing global workbook settings.
Workbook calculation settings.
sal_Int32 mnCalcId
Minimum change in circular references.
bool mbCalcOnSave
Number of processors for concurrent calculation.
sal_Int32 mnRefMode
Calculation engine identifier.
sal_Int32 mnProcCount
Number of iterations in circular references.
sal_Int32 mnIterateCount
Automatic or manual recalculation.
bool mbConcurrent
True = allow circular references.
bool mbCalcCompleted
True = always recalculate formulas before save.
bool mbIterate
True = use full precision on calculation.
CalcSettingsModel()
True = concurrent calculation enabled.
sal_Int32 mnCalcMode
Cell reference mode: A1 or R1C1.
bool mbFullPrecision
True = formulas have been recalculated before save.
Settings for workbook write protection.
OUString maAlgorithmName
User who added the write protection password.
OUString maSaltValue
Hash value computed by the algorithm, base-64 encoded.
sal_uInt32 mnSpinCount
Salt value to be prepended to the password, base-64 encoded.
OUString maHashValue
Algorithm name, "SHA-512", "SHA-1", ...
sal_uInt16 mnPasswordHash
Spin count, iterations to run algorithm.
bool mbRecommendReadOnly
Hash value of the write protection password. (unrelated to the above)
FileSharingModel()
True = recommend read-only mode on opening.
Global workbook settings.
void setBiffObjectMode(sal_uInt16 nObjMode)
Sets BIFF object visibility mode.
sal_Int32 mnDefaultThemeVer
Specifies how external links are updated.
bool mbDateCompatibility
True = null date is 1904-01-01.
WorkbookSettingsModel()
True = save cached cell values for external links.
sal_Int32 mnUpdateLinksMode
Specifies how objects are shown.
sal_Int32 mnShowObjectMode
VBA codename for the workbook.
bool mbDateMode1904
Default theme version.
bool mbSaveExtLinkValues
False = null date is 1899-12-30.