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

Extends the XclCellProt struct for import. More...

#include <xistyle.hxx>

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

Public Member Functions

void FillFromXF2 (sal_uInt8 nNumFmt)
 Fills this struct with BIFF2 XF record data. More...
 
void FillFromXF3 (sal_uInt16 nProt)
 Fills this struct with BIFF3-BIFF8 XF record data. More...
 
void FillToItemSet (SfxItemSet &rItemSet, bool bSkipPoolDefs=false) const
 Inserts items representing this protection style into the item set. More...
 
- 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 import.

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

Definition at line 250 of file xistyle.hxx.

Member Function Documentation

◆ FillFromXF2()

void XclImpCellProt::FillFromXF2 ( sal_uInt8  nNumFmt)

Fills this struct with BIFF2 XF record data.

Definition at line 749 of file xistyle.cxx.

References EXC_XF2_HIDDEN, EXC_XF2_LOCKED, get_flag(), XclCellProt::mbHidden, and XclCellProt::mbLocked.

Referenced by XclImpXF::ApplyPatternForBiff2CellFormat(), and XclImpXF::ReadXF2().

◆ FillFromXF3()

void XclImpCellProt::FillFromXF3 ( sal_uInt16  nProt)

Fills this struct with BIFF3-BIFF8 XF record data.

Definition at line 755 of file xistyle.cxx.

References EXC_XF_HIDDEN, EXC_XF_LOCKED, get_flag(), XclCellProt::mbHidden, and XclCellProt::mbLocked.

Referenced by XclImpCondFormat::ReadCF(), XclImpXF::ReadXF3(), XclImpXF::ReadXF4(), XclImpXF::ReadXF5(), and XclImpXF::ReadXF8().

◆ FillToItemSet()

void XclImpCellProt::FillToItemSet ( SfxItemSet rItemSet,
bool  bSkipPoolDefs = false 
) const

Inserts items representing this protection style into the item set.

Parameters
bSkipPoolDefstrue = Do not put items equal to pool default; false = Put all items.

Definition at line 761 of file xistyle.cxx.

References XclCellProt::mbHidden, XclCellProt::mbLocked, and ScfTools::PutItem().

Referenced by XclImpXF::CreatePattern(), and XclImpCondFormat::ReadCF().


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