Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPDF_OCContext Class Referencefinal

#include <cpdf_occontext.h>

+ Inheritance diagram for CPDF_OCContext:
+ Collaboration diagram for CPDF_OCContext:

Public Types

enum  UsageType { kView = 0 , kDesign , kPrint , kExport }
 

Public Member Functions

bool CheckOCGDictVisible (const CPDF_Dictionary *pOCGDict) const
 
bool CheckPageObjectVisible (const CPDF_PageObject *pObj) const
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 

Private Member Functions

 ~CPDF_OCContext () override
 

Additional Inherited Members

- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 

Detailed Description

Definition at line 22 of file cpdf_occontext.h.

Member Enumeration Documentation

◆ UsageType

Enumerator
kView 
kDesign 
kPrint 
kExport 

Definition at line 24 of file cpdf_occontext.h.

Member Function Documentation

◆ ~CPDF_OCContext()

CPDF_OCContext::~CPDF_OCContext ( )
overrideprivatedefault

◆ CheckOCGDictVisible()

bool CPDF_OCContext::CheckOCGDictVisible ( const CPDF_Dictionary * pOCGDict) const

Definition at line 271 of file cpdf_occontext.cpp.

References CPDF_Dictionary::GetByteStringFor(), and fxcrt::ByteString::operator==().

Referenced by CheckPageObjectVisible().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckPageObjectVisible()

bool CPDF_OCContext::CheckPageObjectVisible ( const CPDF_PageObject * pObj) const

Definition at line 174 of file cpdf_occontext.cpp.

References CheckOCGDictVisible(), CPDF_PageObject::GetContentMarks(), CPDF_ContentMarkItem::GetName(), CPDF_ContentMarkItem::GetParam(), CPDF_ContentMarkItem::GetParamType(), CPDF_ContentMarkItem::kPropertiesDict, and fxcrt::ByteString::operator==().

+ Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CPDF_OCContext::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 26 of file cpdf_occontext.h.


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