|
libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
|
Classes | |
| struct | Create_new |
| struct | Internal |
Public Member Functions | |
| Document (Create_new const &, std::iostream &, int, int) | |
| Constructor. | |
| ~Document () | |
| Destructor. | |
| int | major () const |
| Get document major version. | |
| int | minor () const |
| Get document minor version. | |
| void | check_minimum_version (int, int) const |
| Check that the document meets minimum version requirements. | |
| Document_information & | information () |
| Get document information. | |
| Page & | create_page (Page::Properties const &) |
| Create new page. | |
| Carousel::File & | file () |
| Access the underlying COS file. | |
| void | flush () |
| Flush current document state to output stream. | |
Static Public Attributes | |
| static constexpr Create_new const | create_new {} |
| Tag used to indicate the creation of a new document. | |
Private Member Functions | |
| Document (Document const &)=delete | |
| Document (Document &&)=delete | |
| Document & | operator= (Document const &)=delete |
| Document & | operator= (Document &&)=delete |
Private Attributes | |
| std::unique_ptr< Internal > | internal |
| Art::Paperback::Document::Document | ( | Create_new const & | , |
| std::iostream & | , | ||
| int | , | ||
| int | ) |
Constructor.
| Art::Paperback::Document::~Document | ( | ) |
Destructor.
| int Art::Paperback::Document::major | ( | ) | const |
Get document major version.
| int Art::Paperback::Document::minor | ( | ) | const |
Get document minor version.
| void Art::Paperback::Document::check_minimum_version | ( | int | major, |
| int | minor ) const |
Check that the document meets minimum version requirements.
| major | The minimum required major version. |
| minor | The minimum required minor version. |
| Upgrade_required | Thrown if the document does not meet the specified version requirements. |
| Document_information & Art::Paperback::Document::information | ( | ) |
Get document information.
| Page & Art::Paperback::Document::create_page | ( | Page::Properties const & | properties | ) |
Create new page.
| properties | The properties of the new page. |
| Carousel::File & Art::Paperback::Document::file | ( | ) |
Access the underlying COS file.
| void Art::Paperback::Document::flush | ( | ) |
Flush current document state to output stream.
|
staticconstexpr |
Tag used to indicate the creation of a new document.