5 #ifndef PDFTRON_H_CPPPDFOCGOCMD
6 #define PDFTRON_H_CPPPDFOCGOCMD
8 #include <C/PDF/OCG/TRN_OCMD.h>
129 OCMD(TRN_OCMD o) : mp_obj(o) {}
139 #endif // PDFTRON_H_CPPPDFOCGOCMD
visible only if all of the entries in OCGs are ON.
visible if any of the entries in OCGs are OFF.
OCMD & operator=(const OCMD &g)
visible only if all of the entries in OCGs are OFF.
visible if any of the entries in OCGs are ON.
bool IsCurrentlyVisible(const class Context &context) const
VisibilityPolicyType GetVisibilityPolicy() const
void SetVisibilityPolicy(VisibilityPolicyType vis_policy)
static OCMD Create(PDFDoc &doc, SDF::Obj ocgs, VisibilityPolicyType vis_policy)
SDF::Obj GetVisibilityExpression() const
SDF::Obj GetSDFObj() const