libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
Art::Paperback Namespace Reference

Primary paperback namespace. More...

Namespaces

namespace  Carousel
 COS file format implementation namespace.
 
namespace  Graphics
 Graphics namespace.
 
namespace  Internals
 Internal namespace.
 

Classes

class  Basic_visitor
 Base class for visitors of type T. More...
 
class  Document
 
class  Document_information
 
class  Fault
 Base class for errors. More...
 
struct  Identity
 Represents the identity of an indirect object. More...
 
class  Internal_error
 Exception class used to indicate internal errors, typically the result of an insect hiding somewhere. More...
 
class  Invalid_operation
 Exception class used to indicate an invalid operation. More...
 
class  Page
 
struct  Point_2D
 Represents a point in a two-dimensional space. More...
 
class  raise
 Helper to throw exceptions. More...
 
class  Rectangle
 Represents a PDF rectangle. More...
 
class  Upgrade_required
 Exception class used to indicate too low document version. More...
 
class  Visitor
 Virtual base class for visitors. More...
 

Typedefs

using Index = uint32_t
 Index type.
 
using Generation = uint16_t
 Generation type.
 

Functions

Documentdocument (Page &)
 Get the document associated with a page.
 
Document const & document (Page const &)
 Get the document associated with a page.
 
template<typename T>
void accept (T const &visitee, Visitor &v)
 Accept visitor on visitee.
 

Detailed Description

Primary paperback namespace.

Typedef Documentation

◆ Index

using Art::Paperback::Index = uint32_t

Index type.

◆ Generation

using Art::Paperback::Generation = uint16_t

Generation type.

Function Documentation

◆ document() [1/2]

Document & Art::Paperback::document ( Page & page)

Get the document associated with a page.

◆ document() [2/2]

Document const & Art::Paperback::document ( Page const & page)

Get the document associated with a page.

◆ accept()

template<typename T>
void Art::Paperback::accept ( T const & visitee,
Visitor & v )

Accept visitor on visitee.

Parameters
visiteeThe visitee.
vThe visitor.