LibreOffice Module sc (master)  1
Public Member Functions | List of all members
XclExpCellProt Struct Reference

Extends the XclCellProt struct for export. More...

#include <xestyle.hxx>

Inheritance diagram for XclExpCellProt:
[legend]
Collaboration diagram for XclExpCellProt:
[legend]

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...
 

Detailed Description

Extends the XclCellProt struct for export.

Provides functions to fill from item sets and to fill to Excel record data.

Definition at line 310 of file xestyle.hxx.

Member Function Documentation

bool XclExpCellProt::FillFromItemSet ( const SfxItemSet rItemSet,
bool  bStyle = false 
)

Fills the protection attributes from the passed item set.

Returns
true = At least one protection item is set.

Definition at line 1426 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 1434 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

The documentation for this struct was generated from the following files: