Comprehensive Guide for Developers: Features, Integration, and API Reference
Optional content group. More...
#include <pdfsdk/cxx/optional_content.h>
Public Member Functions | |
| Object | GetPdfObject () const |
| bool | Equals (const OCGroup &that) const |
| void | SetName (const std::wstring &name) |
| std::wstring | GetName () const |
| OCMembership | CreateOCMembership () const |
| OCGroup (PDOCG handle, bool adopt=false) noexcept | |
| OCGroup (const OCGroup &rhs) noexcept | |
| OCGroup & | operator= (const OCGroup &rhs) noexcept |
| OCGroup (OCGroup &&rhs) noexcept | |
| OCGroup & | operator= (OCGroup &&rhs) noexcept |
Static Public Member Functions | |
| static OCGroup | CreateFromPdfObject (const Object &object) |
Optional content group.
ISO 32000-2:2020 - 8.11.2 Optional content groups
Creates an OCGroup object from a PDF object.
| [in] | object | A reference to the PDF object representing the OC group. |
| OCMembership PDF::OCGroup::CreateOCMembership | ( | ) | const |
Create an OCMembership object associated with this OCGroup.
| bool PDF::OCGroup::Equals | ( | const OCGroup & | that | ) | const |
Check if this OCGroup is equal to another OCGroup.
| that | The OCGroup to compare with. |
| std::wstring PDF::OCGroup::GetName | ( | ) | const |
Get the name of this OCGroup.
| Object PDF::OCGroup::GetPdfObject | ( | ) | const |
Gets the PDF object associated with this OC group.
| void PDF::OCGroup::SetName | ( | const std::wstring & | name | ) |
Set the name of this OCGroup.
| name | The name to set. |