Searched refs:aProtection (Results 1 – 3 of 3) sorted by relevance
247 util::CellProtection aProtection; in QueryValue() local248 aProtection.IsLocked = bProtection; in QueryValue()249 aProtection.IsFormulaHidden = bHideFormula; in QueryValue()250 aProtection.IsHidden = bHideCell; in QueryValue()251 aProtection.IsPrintHidden = bHidePrint; in QueryValue()252 rVal <<= aProtection; in QueryValue()280 util::CellProtection aProtection; in PutValue() local281 if ( rVal >>= aProtection ) in PutValue()283 bProtection = aProtection.IsLocked; in PutValue()284 bHideFormula = aProtection.IsFormulaHidden; in PutValue()[all …]
1098 ScDocProtection aProtection; in LoadProtect() local1099 aProtection.setProtected(static_cast<bool>(SheetProtect.Protect)); in LoadProtect()1100 aProtection.setPassword(SC10TOSTRING(SheetProtect.PassWord)); in LoadProtect()1101 pDoc->SetDocProtection(&aProtection); in LoadProtect()1457 ScTableProtection aProtection; in LoadTables() local1458 aProtection.setProtected(static_cast<bool>(TabProtect.Protect)); in LoadTables()1459 aProtection.setPassword(SC10TOSTRING(TabProtect.PassWord)); in LoadTables()1460 pDoc->SetTabProtection(static_cast<SCTAB>(Tab), &aProtection); in LoadTables()
3446 ScDocProtection aProtection; in Protect() local3447 aProtection.setProtected(true); in Protect()3448 aProtection.setPassword(rPassword); in Protect()3449 pDoc->SetDocProtection(&aProtection); in Protect()3468 ScTableProtection aProtection; in Protect() local3469 aProtection.setProtected(true); in Protect()3470 aProtection.setPassword(rPassword); in Protect()3471 pDoc->SetTabProtection(nTab, &aProtection); in Protect()