Searched refs:pTabProtect (Results 1 – 3 of 3) sorted by relevance
105 const ScTableProtection* pTabProtect = rDoc.GetTabProtection(i); in SetDataFromDocument() local106 if (pTabProtect && pTabProtect->isProtected()) in SetDataFromDocument()107 aTabItem.mpProtect.reset(new ScTableProtection(*pTabProtect)); in SetDataFromDocument()130 ScTableProtection* pTabProtect = maTableItems[i].mpProtect.get(); in WriteNewDataToDocument() local131 if (pTabProtect) in WriteNewDataToDocument()132 rDoc.SetTabProtection(static_cast<SCTAB>(i), pTabProtect); in WriteNewDataToDocument()261 const ScTableProtection* pTabProtect = maTableItems[nTab].mpProtect.get(); in SetTableData() local262 if (pTabProtect && pTabProtect->isProtected()) in SetTableData()264 if (pTabProtect->isPasswordEmpty()) in SetTableData()266 else if (pTabProtect->hasPasswordHash(meDesiredHash)) in SetTableData()
472 const ScTableProtection* pTabProtect = rDoc.GetTabProtection(mnScTab); in FillAsTable() local473 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()
3537 ScTableProtection* pTabProtect = pDoc->GetTabProtection(nTab); in Unprotect() local3538 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 49 milliseconds