PoDoFo  1.0.0-dev
Public Member Functions | Static Public Member Functions | Friends | List of all members
PoDoFo::PdfResources Class Referencefinal

A interface that provides a wrapper around /Resources. More...

#include <PdfResources.h>

Inheritance diagram for PoDoFo::PdfResources:
PoDoFo::PdfResourceOperations

Public Member Functions

const PdfFontGetFont (const std::string_view &name) const
 
PdfObjectGetResource (PdfResourceType type, const std::string_view &key) override
 Get resource by type and key.
 
const PdfObjectGetResource (PdfResourceType type, const std::string_view &key) const override
 Get resource by type and key.
 
PdfDictionaryIndirectIterable GetResourceIterator (PdfResourceType type) override
 Get resource iterator by type.
 
PdfDictionaryConstIndirectIterable GetResourceIterator (PdfResourceType type) const override
 Get resource iterator by type.
 

Static Public Member Functions

static bool TryCreateFromObject (PdfObject &obj, std::unique_ptr< PdfResources > &resources)
 

Friends

class PdfPage
 
class PdfXObjectForm
 
class PdfPainter
 
class PdfAcroForm
 
class PdfAnnotation
 

Additional Inherited Members

- Protected Member Functions inherited from PoDoFo::PdfResourceOperations
 PdfResourceOperations (const PdfResourceOperations &)=default
 
PdfResourceOperationsoperator= (const PdfResourceOperations &)=default
 

Detailed Description

A interface that provides a wrapper around /Resources.

Remarks
Prefer add resources to it through PdfPainter. You can cast the instance to PdfResourceOperations to access low level mutable operations

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