Ipelib
Classes | Public Member Functions | List of all members
ipe::PdfResources Class Reference

#include <iperesources.h>

Inherits ipe::PdfResourceBase.

Classes

struct  SPageNumber
 

Public Member Functions

 PdfResources ()
 
virtual ~PdfResources ()=default
 
bool collect (const PdfDict *resources, PdfFile *file)
 
virtual const PdfObjobject (int num) const noexcept
 
virtual const PdfDictbaseResources () const noexcept
 
void addPageNumber (SPageNumber &pn) noexcept
 
const TextpageNumber (int page, int view) const noexcept
 
const std::vector< int > & embedSequence () const noexcept
 
void show () const noexcept
 
- Public Member Functions inherited from ipe::PdfResourceBase
 PdfResourceBase ()
 
virtual ~PdfResourceBase ()
 
const PdfObjgetDeep (const PdfDict *d, String key) const noexcept
 
const PdfDictgetDict (const PdfDict *d, String key) const noexcept
 
const PdfDictresourcesOfKind (String kind) const noexcept
 
const PdfDictfindResource (String kind, String name) const noexcept
 
const PdfDictfindResource (const PdfDict *xf, String kind, String name) const noexcept
 

Additional Inherited Members

- Protected Attributes inherited from ipe::PdfResourceBase
std::unique_ptr< PdfDictiPageResources
 

Detailed Description

All the resources needed by the text objects in the document.

Constructor & Destructor Documentation

◆ PdfResources()

PdfResources::PdfResources ( )

◆ ~PdfResources()

virtual ipe::PdfResources::~PdfResources ( )
virtualdefault

Member Function Documentation

◆ collect()

bool PdfResources::collect ( const PdfDict resources,
PdfFile file 
)

◆ object()

const PdfObj * PdfResources::object ( int  num) const
virtualnoexcept

Implements ipe::PdfResourceBase.

◆ baseResources()

const PdfDict * PdfResources::baseResources ( ) const
virtualnoexcept

◆ addPageNumber()

void PdfResources::addPageNumber ( SPageNumber pn)
noexcept

◆ pageNumber()

const Text * PdfResources::pageNumber ( int  page,
int  view 
) const
noexcept

References ipe::Text::text().

◆ embedSequence()

const std::vector<int>& ipe::PdfResources::embedSequence ( ) const
inlinenoexcept

◆ show()

void PdfResources::show ( ) const
noexcept

The documentation for this class was generated from the following files: