Searched refs:ScDocProtection (Results 1 – 16 of 16) sorted by relevance
47 const ScDocProtection* p = rDoc.GetDocProtection(); in needsPassHashRegen()276 ScDocProtection::ScDocProtection() : in ScDocProtection() function in ScDocProtection281 ScDocProtection::ScDocProtection(const ScDocProtection& r) : in ScDocProtection() function in ScDocProtection287 ScDocProtection::~ScDocProtection() in ~ScDocProtection()291 bool ScDocProtection::isProtected() const in isProtected()296 bool ScDocProtection::isProtectedWithPass() const in isProtectedWithPass()301 void ScDocProtection::setProtected(bool bProtected) in setProtected()308 mpImpl->setOption(ScDocProtection::STRUCTURE, bProtected); in setProtected()311 bool ScDocProtection::isPasswordEmpty() const in isPasswordEmpty()321 void ScDocProtection::setPassword(const String& aPassText) in setPassword()[all …]
1809 ScDocProtection* ScDocument::GetDocProtection() const in GetDocProtection()1814 void ScDocument::SetDocProtection(const ScDocProtection* pProtect) in SetDocProtection()1817 pDocProtection.reset(new ScDocProtection(*pProtect)); in SetDocProtection()
81 class SC_DLLPUBLIC ScDocProtection : public ScPassHashProtectable class92 explicit ScDocProtection();93 explicit ScDocProtection(const ScDocProtection& r);94 virtual ~ScDocProtection();
96 class ScDocProtection;301 ::std::auto_ptr<ScDocProtection> pDocProtection;577 SC_DLLPUBLIC ScDocProtection* GetDocProtection() const;578 SC_DLLPUBLIC void SetDocProtection(const ScDocProtection* pProtect);
122 const ScDocProtection* pProtect = self.GetDoc().GetDocProtection();125 …AppendNewRecord( new XclExpWindowProtection(pProtect->isOptionEnabled(ScDocProtection::WINDOWS)) );126 …aRecList.AppendNewRecord( new XclExpProtection(pProtect->isOptionEnabled(ScDocProtection::STRUCTUR…265 const ScDocProtection* pProtect = GetDoc().GetDocProtection(); in FillAsHeader()268 Add( new XclExpWindowProtection(pProtect->isOptionEnabled(ScDocProtection::WINDOWS)) ); in FillAsHeader()269 Add( new XclExpProtection(pProtect->isOptionEnabled(ScDocProtection::STRUCTURE)) ); in FillAsHeader()
241 const ScDocProtection* pDocProt = GetDoc().GetDocProtection(); in IsDocumentEncrypted()242 … if (pDocProt && pDocProt->isProtected() && pDocProt->isOptionEnabled(ScDocProtection::STRUCTURE)) in IsDocumentEncrypted()
1155 auto_ptr<ScDocProtection> pProtect(new ScDocProtection); in Apply()1170 pProtect->setOption(ScDocProtection::STRUCTURE, mbDocProtect); in Apply()1171 pProtect->setOption(ScDocProtection::WINDOWS, mbWinProtect); in Apply()
56 class ScDocProtection;370 … ScUndoDocProtect(ScDocShell* pShell, ::std::auto_ptr<ScDocProtection> pProtectSettings);381 ::std::auto_ptr<ScDocProtection> mpProtectSettings;
40 class ScDocProtection;47 typedef ::boost::shared_ptr<ScDocProtection> DocProtectionPtr;
74 mpDocItem(static_cast<ScDocProtection*>(NULL)), in ScRetypePassDlg()94 const ScDocProtection* pDocProtect = rDoc.GetDocProtection(); in SetDataFromDocument()96 mpDocItem.reset(new ScDocProtection(*pDocProtect)); in SetDataFromDocument()
320 ::std::auto_ptr<ScDocProtection> pProtection(new ScDocProtection); in EndElement()
1519 const ScDocProtection* p = pDoc->GetDocProtection(); in SetBodyAttributes()
1233 ScUndoDocProtect::ScUndoDocProtect(ScDocShell* pShell, auto_ptr<ScDocProtection> pProtectSettings) : in ScUndoDocProtect()1250 auto_ptr<ScDocProtection> pCopy(new ScDocProtection(*mpProtectSettings)); in DoProtect()
3450 ScDocProtection aProtection; in Protect()3456 ScDocProtection* pProtect = pDoc->GetDocProtection(); in Protect()3460 ::std::auto_ptr<ScDocProtection> p(new ScDocProtection(*pProtect)); in Protect()3506 ScDocProtection* pDocProtect = pDoc->GetDocProtection(); in Unprotect()3512 ::std::auto_ptr<ScDocProtection> pProtectCopy(new ScDocProtection(*pDocProtect)); in Unprotect()
1001 ScDocProtection* pProtect = pDoc->GetDocProtection(); in Execute()
1098 ScDocProtection aProtection; in LoadProtect()
Completed in 190 milliseconds