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