mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-19 22:01:45 +08:00
Create SplitPage
This commit is contained in:
@ -51,6 +51,7 @@ public:
|
||||
int GetError() { return 0; }
|
||||
void Close() {}
|
||||
bool EditPage(int nPageIndex, bool bSet = true) { return false; }
|
||||
bool SplitPage(int nPageIndex) { return false; }
|
||||
bool DeletePage(int nPageIndex) { return false; }
|
||||
bool AddPage(int nPageIndex) { return false; }
|
||||
bool EditAnnot(int nPageIndex, int nID) { return false; }
|
||||
@ -166,6 +167,12 @@ bool CPdfFile::AddPage(int nPageIndex)
|
||||
return false;
|
||||
return m_pInternal->pEditor->AddPage(nPageIndex);
|
||||
}
|
||||
bool CPdfFile::SplitPage(int nPageIndex)
|
||||
{
|
||||
if (!m_pInternal->pEditor)
|
||||
return false;
|
||||
return m_pInternal->pEditor->SplitPage(nPageIndex);
|
||||
}
|
||||
HRESULT CPdfFile::ChangePassword(const std::wstring& wsPath, const std::wstring& wsPassword)
|
||||
{
|
||||
RELEASEOBJECT(m_pInternal->pWriter);
|
||||
|
||||
Reference in New Issue
Block a user