Signature plugin: Sign electronically

This commit is contained in:
Jakub Melka
2022-04-18 13:54:58 +02:00
parent a08d49e8d6
commit b2a26ada19
7 changed files with 147 additions and 16 deletions

View File

@ -868,6 +868,18 @@ std::set<PDFInteger> PDFPageContentScene::getSelectedElementIds() const
return result;
}
std::set<PDFInteger> PDFPageContentScene::getPageIndices() const
{
std::set<PDFInteger> result;
for (const auto& element : m_elements)
{
result.insert(element->getPageIndex());
}
return result;
}
void PDFPageContentScene::setSelectedElementIds(const std::set<PDFInteger>& selectedElementIds)
{
m_manipulator.selectNew(selectedElementIds);