LibreOffice Module sc (master) 1
|
Extends the XclCellProt struct for export. More...
#include <xestyle.hxx>
Public Member Functions | |
bool | FillFromItemSet (const SfxItemSet &rItemSet, bool bStyle=false) |
Fills the protection attributes from the passed item set. More... | |
void | FillToXF3 (sal_uInt16 &rnProt) const |
Fills the data to the passed fields of a BIFF3-BIFF8 XF record. More... | |
void | SaveXml (XclExpXmlStream &rStrm) const |
Public Member Functions inherited from XclCellProt | |
XclCellProt () | |
true = Formula is hidden. More... | |
Additional Inherited Members | |
Public Attributes inherited from XclCellProt | |
bool | mbLocked |
bool | mbHidden |
true = Locked against editing. More... | |
Extends the XclCellProt struct for export.
@descr Provides functions to fill from item sets and to fill to Excel record data.
Definition at line 307 of file xestyle.hxx.
bool XclExpCellProt::FillFromItemSet | ( | const SfxItemSet & | rItemSet, |
bool | bStyle = false |
||
) |
Fills the protection attributes from the passed item set.
Definition at line 1431 of file xestyle.cxx.
References ATTR_PROTECTION(), ScfTools::CheckItem(), SfxItemSet::Get(), ScProtectionAttr::GetHideCell(), ScProtectionAttr::GetHideFormula(), ScProtectionAttr::GetProtection(), XclCellProt::mbHidden, and XclCellProt::mbLocked.
Referenced by XclExpXF::Init().
void XclExpCellProt::FillToXF3 | ( | sal_uInt16 & | rnProt | ) | const |
Fills the data to the passed fields of a BIFF3-BIFF8 XF record.
Definition at line 1439 of file xestyle.cxx.
References EXC_XF_HIDDEN, EXC_XF_LOCKED, XclCellProt::mbHidden, XclCellProt::mbLocked, and set_flag().
Referenced by XclExpXF::WriteBody5(), and XclExpXF::WriteBody8().
void XclExpCellProt::SaveXml | ( | XclExpXmlStream & | rStrm | ) | const |
Definition at line 1445 of file xestyle.cxx.
References XclCellProt::mbHidden, XclCellProt::mbLocked, and rStrm.
Referenced by XclExpXF::SaveXml().