45 virtual short run()
override;
90 std::vector<std::unique_ptr<PassFragment>>
maSheets;
DECL_LINK(OKHdl, weld::Button &, void)
std::unique_ptr< weld::Button > mxBtnRetypeDoc
void WriteNewDataToDocument(ScDocument &rDoc) const
Write the new set of password data to the document instance to overwrite the current ones.
void SetDataFromDocument(const ScDocument &rDoc)
void SetDesiredHash(ScPasswordHash eHash)
OUString maTextNotPassProtected
std::shared_ptr< ScDocProtection > mpDocItem
DECL_LINK(RetypeBtnHdl, weld::Button &, void)
void CheckHashStatus()
Check the status of all hash values to see if it's okay to enable the OK button.
::std::vector< TableItem > maTableItems
virtual ~ScRetypePassDlg() override
std::unique_ptr< weld::Container > mxSheetsBox
virtual short run() override
ScPasswordHash meDesiredHash
std::unique_ptr< weld::ScrolledWindow > mxScrolledWindow
ScRetypePassDlg(weld::Window *pParent)
OUString maTextNotProtected
std::unique_ptr< weld::Button > mxBtnOk
std::unique_ptr< weld::Label > mxTextDocStatus
void SetTableData(size_t nRowPos, SCTAB nTab)
std::vector< std::unique_ptr< PassFragment > > maSheets
std::unique_ptr< weld::Button > m_xButton
std::unique_ptr< weld::Container > m_xSheetsBox
std::unique_ptr< weld::Label > m_xStatus
std::unique_ptr< weld::Builder > m_xBuilder
PassFragment(weld::Widget *pParent)
std::unique_ptr< weld::Label > m_xName
std::shared_ptr< ScTableProtection > mpProtect