Home
last modified time | relevance | path

Searched refs:pTabProtect (Results 1 – 3 of 3) sorted by relevance

/trunk/main/sc/source/ui/miscdlgs/
H A Dretypepassdlg.cxx105 const ScTableProtection* pTabProtect = rDoc.GetTabProtection(i); in SetDataFromDocument() local
106 if (pTabProtect && pTabProtect->isProtected()) in SetDataFromDocument()
107 aTabItem.mpProtect.reset(new ScTableProtection(*pTabProtect)); in SetDataFromDocument()
130 ScTableProtection* pTabProtect = maTableItems[i].mpProtect.get(); in WriteNewDataToDocument() local
131 if (pTabProtect) in WriteNewDataToDocument()
132 rDoc.SetTabProtection(static_cast<SCTAB>(i), pTabProtect); in WriteNewDataToDocument()
261 const ScTableProtection* pTabProtect = maTableItems[nTab].mpProtect.get(); in SetTableData() local
262 if (pTabProtect && pTabProtect->isProtected()) in SetTableData()
264 if (pTabProtect->isPasswordEmpty()) in SetTableData()
266 else if (pTabProtect->hasPasswordHash(meDesiredHash)) in SetTableData()
/trunk/main/sc/source/filter/excel/
H A Dexcdoc.cxx472 const ScTableProtection* pTabProtect = rDoc.GetTabProtection(mnScTab); in FillAsTable() local
473 if (pTabProtect && pTabProtect->isProtected()) in FillAsTable()
476 … Add( new XclExpBoolRecord(0x00DD, pTabProtect->isOptionEnabled(ScTableProtection::SCENARIOS)) ); in FillAsTable()
477 … Add( new XclExpBoolRecord(0x0063, pTabProtect->isOptionEnabled(ScTableProtection::OBJECTS)) ); in FillAsTable()
479 Add( new XclExpPassHash(pTabProtect->getPasswordHash(PASSHASH_XL)) ); in FillAsTable()
/trunk/main/sc/source/ui/docshell/
H A Ddocfunc.cxx3537 ScTableProtection* pTabProtect = pDoc->GetTabProtection(nTab); in Unprotect() local
3538 if (!pTabProtect || !pTabProtect->isProtected()) in Unprotect()
3543 ::std::auto_ptr<ScTableProtection> pProtectCopy(new ScTableProtection(*pTabProtect)); in Unprotect()
3544 if (!pTabProtect->verifyPassword(rPassword)) in Unprotect()

Completed in 42 milliseconds