Commit 30e90c7c authored by Pino Toscano's avatar Pino Toscano
Browse files

[cpp] add is_encrypted and is_linearized for document

parent 93fd588c
......@@ -261,6 +261,16 @@ unsigned int document::info_date(const std::string &key) const
return result;
bool document::is_encrypted() const
return d->doc->isEncrypted();
bool document::is_linearized() const
return d->doc->isLinearized();
int document::pages() const
return d->doc->getNumPages();
......@@ -63,6 +63,8 @@ public:
std::vector<std::string> info_keys() const;
ustring info_key(const std::string &key) const;
unsigned int /*time_t*/ info_date(const std::string &key) const;
bool is_encrypted() const;
bool is_linearized() const;
int pages() const;
page* create_page(const ustring &label) const;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment