Home
last modified time | relevance | path

Searched refs:ScTableProtection (Results 1 – 25 of 28) sorted by relevance

12

/trunk/main/sc/source/core/data/
H A Dtabprotection.cxx55 const ScTableProtection* p = rDoc.GetTabProtection(i); in needsPassHashRegen()
353 ScTableProtection::ScTableProtection() : in ScTableProtection() function in ScTableProtection
361 ScTableProtection::ScTableProtection(const ScTableProtection& r) : in ScTableProtection() function in ScTableProtection
367 ScTableProtection::~ScTableProtection() in ~ScTableProtection()
371 bool ScTableProtection::isProtected() const in isProtected()
376 bool ScTableProtection::isProtectedWithPass() const in isProtectedWithPass()
381 void ScTableProtection::setProtected(bool bProtected) in setProtected()
386 bool ScTableProtection::isPasswordEmpty() const in isPasswordEmpty()
396 void ScTableProtection::setPassword(const String& aPassText) in setPassword()
416 bool ScTableProtection::isOptionEnabled(Option eOption) const in isOptionEnabled()
[all …]
H A Dtable5.cxx1029 void ScTable::SetProtection(const ScTableProtection* pProtect) in SetProtection()
1032 pTabProtection.reset(new ScTableProtection(*pProtect)); in SetProtection()
1040 ScTableProtection* ScTable::GetProtection() in GetProtection()
H A Ddocumen3.cxx1842 ScTableProtection* ScDocument::GetTabProtection( SCTAB nTab ) const in GetTabProtection()
1850 void ScDocument::SetTabProtection(SCTAB nTab, const ScTableProtection* pProtect) in SetTabProtection()
/trunk/main/sc/source/filter/xcl97/
H A Dxcl97rec.cxx1081 ScTableProtection::Option eOption;
1090 { ScTableProtection::OBJECTS, 0x0001 }, in XclExpSheetProtectOptions()
1091 { ScTableProtection::SCENARIOS, 0x0002 }, in XclExpSheetProtectOptions()
1092 { ScTableProtection::FORMAT_CELLS, 0x0004 }, in XclExpSheetProtectOptions()
1093 { ScTableProtection::FORMAT_COLUMNS, 0x0008 }, in XclExpSheetProtectOptions()
1094 { ScTableProtection::FORMAT_ROWS, 0x0010 }, in XclExpSheetProtectOptions()
1095 { ScTableProtection::INSERT_COLUMNS, 0x0020 }, in XclExpSheetProtectOptions()
1096 { ScTableProtection::INSERT_ROWS, 0x0040 }, in XclExpSheetProtectOptions()
1097 { ScTableProtection::INSERT_HYPERLINKS, 0x0080 }, in XclExpSheetProtectOptions()
1099 { ScTableProtection::DELETE_COLUMNS, 0x0100 }, in XclExpSheetProtectOptions()
[all …]
/trunk/main/sc/source/filter/excel/
H A Dxicontent.cxx1260 auto_ptr<ScTableProtection> pProtect(new ScTableProtection); in Apply()
1277 pProtect->setOption( ScTableProtection::OBJECTS, (nOptions & 0x0001) ); in Apply()
1278 pProtect->setOption( ScTableProtection::SCENARIOS, (nOptions & 0x0002) ); in Apply()
1279 pProtect->setOption( ScTableProtection::FORMAT_CELLS, (nOptions & 0x0004) ); in Apply()
1280 pProtect->setOption( ScTableProtection::FORMAT_COLUMNS, (nOptions & 0x0008) ); in Apply()
1281 pProtect->setOption( ScTableProtection::FORMAT_ROWS, (nOptions & 0x0010) ); in Apply()
1282 pProtect->setOption( ScTableProtection::INSERT_COLUMNS, (nOptions & 0x0020) ); in Apply()
1283 pProtect->setOption( ScTableProtection::INSERT_ROWS, (nOptions & 0x0040) ); in Apply()
1284 pProtect->setOption( ScTableProtection::INSERT_HYPERLINKS, (nOptions & 0x0080) ); in Apply()
1285 pProtect->setOption( ScTableProtection::DELETE_COLUMNS, (nOptions & 0x0100) ); in Apply()
[all …]
H A Dexcdoc.cxx472 const ScTableProtection* pTabProtect = rDoc.GetTabProtection(mnScTab); in FillAsTable()
476 … Add( new XclExpBoolRecord(0x00DD, pTabProtect->isOptionEnabled(ScTableProtection::SCENARIOS)) ); in FillAsTable()
477 … Add( new XclExpBoolRecord(0x0063, pTabProtect->isOptionEnabled(ScTableProtection::OBJECTS)) ); in FillAsTable()
/trunk/main/sc/inc/
H A Dtabprotection.hxx125 class SC_DLLPUBLIC ScTableProtection : public ScPassHashProtectable class
149 explicit ScTableProtection();
150 explicit ScTableProtection(const ScTableProtection& r);
151 virtual ~ScTableProtection();
H A Dtable.hxx74 class ScTableProtection;
130 ::std::auto_ptr<ScTableProtection> pTabProtection;
283 void SetProtection(const ScTableProtection* pProtect);
284 ScTableProtection* GetProtection();
H A Ddocument.hxx111 class ScTableProtection;
582 SC_DLLPUBLIC ScTableProtection* GetTabProtection( SCTAB nTab ) const;
583 SC_DLLPUBLIC void SetTabProtection(SCTAB nTab, const ScTableProtection* pProtect);
/trunk/main/sc/source/ui/miscdlgs/
H A Dprotectiondlg.cxx36 static const ScTableProtection::Option aOptions[] = {
37 ScTableProtection::SELECT_LOCKED_CELLS,
38 ScTableProtection::SELECT_UNLOCKED_CELLS,
75 void ScTableProtectionDlg::SetDialogData(const ScTableProtection& rData) in SetDialogData()
81 void ScTableProtectionDlg::WriteData(ScTableProtection& rData) const in WriteData()
H A Dretypepassdlg.cxx105 const ScTableProtection* pTabProtect = rDoc.GetTabProtection(i); in SetDataFromDocument()
107 aTabItem.mpProtect.reset(new ScTableProtection(*pTabProtect)); in SetDataFromDocument()
130 ScTableProtection* pTabProtect = maTableItems[i].mpProtect.get(); in WriteNewDataToDocument()
261 const ScTableProtection* pTabProtect = maTableItems[nTab].mpProtect.get(); in SetTableData()
/trunk/main/sc/source/ui/inc/
H A Dprotectiondlg.hxx34 class ScTableProtection;
44 void SetDialogData(const ScTableProtection& rData);
46 void WriteData(ScTableProtection& rData) const;
H A Dundotab.hxx57 class ScTableProtection;
394 ::std::auto_ptr<ScTableProtection> pProtectSettings);
406 ::std::auto_ptr<ScTableProtection> mpProtectSettings;
H A Dretypepassdlg.hxx41 class ScTableProtection;
48 typedef ::boost::shared_ptr<ScTableProtection> TabProtectionPtr;
H A Ddocfunc.hxx43 class ScTableProtection;
136 void ProtectSheet( SCTAB nTab, const ScTableProtection& rProtect );
H A Dviewfunc.hxx68 class ScTableProtection;
197 void ProtectSheet( SCTAB nTab, const ScTableProtection& rProtect );
/trunk/main/sc/source/ui/vba/
H A Dvbaworksheet.cxx274 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in getEnableSelection()
279 bLockedCells = pProtect->isOptionEnabled(ScTableProtection::SELECT_LOCKED_CELLS); in getEnableSelection()
280 bUnlockedCells = pProtect->isOptionEnabled(ScTableProtection::SELECT_UNLOCKED_CELLS); in getEnableSelection()
312 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in setEnableSelection()
327 pProtect->setOption( ScTableProtection::SELECT_LOCKED_CELLS, bLockedCells ); in setEnableSelection()
328 pProtect->setOption( ScTableProtection::SELECT_UNLOCKED_CELLS, bUnlockedCells ); in setEnableSelection()
/trunk/main/sc/source/ui/view/
H A Dtabvwsh3.cxx1081 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in Execute()
1113 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in Execute()
1121 ScTableProtection aNewProtect; in Execute()
1153 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in Execute()
H A Dhdrcont.cxx661 const ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in IsSelectionAllowed()
680 bool bSelProtected = pProtect->isOptionEnabled(ScTableProtection::SELECT_LOCKED_CELLS); in IsSelectionAllowed()
681 bool bSelUnprotected = pProtect->isOptionEnabled(ScTableProtection::SELECT_UNLOCKED_CELLS); in IsSelectionAllowed()
H A Dselect.cxx326 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in SetCursorAtCell()
327 bool bSkipProtected = !pProtect->isOptionEnabled(ScTableProtection::SELECT_LOCKED_CELLS); in SetCursorAtCell()
328 … bool bSkipUnprotected = !pProtect->isOptionEnabled(ScTableProtection::SELECT_UNLOCKED_CELLS); in SetCursorAtCell()
H A Dgridwin.cxx2162 ScTableProtection* pProtect = pDoc->GetTabProtection( nTab ); in MouseButtonUp()
2167 … bool bSkipProtected = !pProtect->isOptionEnabled(ScTableProtection::SELECT_LOCKED_CELLS); in MouseButtonUp()
2168 … bool bSkipUnprotected = !pProtect->isOptionEnabled(ScTableProtection::SELECT_UNLOCKED_CELLS); in MouseButtonUp()
2847 const ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in Command()
2853 … bool bSelProtected = pProtect->isOptionEnabled(ScTableProtection::SELECT_LOCKED_CELLS); in Command()
2854 … bool bSelUnprotected = pProtect->isOptionEnabled(ScTableProtection::SELECT_UNLOCKED_CELLS); in Command()
H A Dtabview3.cxx963 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in MoveCursorRel()
966 bSkipProtected = !pProtect->isOptionEnabled(ScTableProtection::SELECT_LOCKED_CELLS); in MoveCursorRel()
967 bSkipUnprotected = !pProtect->isOptionEnabled(ScTableProtection::SELECT_UNLOCKED_CELLS); in MoveCursorRel()
/trunk/main/sc/source/ui/docshell/
H A Ddocfunc.cxx3419 void ScDocFunc::ProtectSheet( SCTAB nTab, const ScTableProtection& rProtect ) in ProtectSheet()
3426 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in ProtectSheet()
3430 ::std::auto_ptr<ScTableProtection> p(new ScTableProtection(*pProtect)); in ProtectSheet()
3472 ScTableProtection aProtection; in Protect()
3478 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in Protect()
3482 ::std::auto_ptr<ScTableProtection> p(new ScTableProtection(*pProtect)); in Protect()
3537 ScTableProtection* pTabProtect = pDoc->GetTabProtection(nTab); in Unprotect()
3543 ::std::auto_ptr<ScTableProtection> pProtectCopy(new ScTableProtection(*pTabProtect)); in Unprotect()
/trunk/main/sc/source/ui/undo/
H A Dundotab.cxx1302 ScUndoTabProtect::ScUndoTabProtect(ScDocShell* pShell, SCTAB nTab, auto_ptr<ScTableProtection> pPro… in ScUndoTabProtect()
1320 auto_ptr<ScTableProtection> pCopy(new ScTableProtection(*mpProtectSettings)); in DoProtect()
/trunk/main/sc/source/filter/xml/
H A Dxmlsubti.cxx658 auto_ptr<ScTableProtection> pProtect(new ScTableProtection); in DeleteTable()

Completed in 189 milliseconds

12