#include "core/fpdfdoc/cpdf_structelement.h"
#include <utility>
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/cpdf_number.h"
#include "core/fpdfapi/parser/cpdf_object.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfdoc/cpdf_structtree.h"
#include "core/fxcrt/check.h"
CPDF_StructElement::Kid::Kid() = default;
CPDF_StructElement::Kid::Kid(const Kid& that) = default;
CPDF_StructElement::Kid::~Kid() = default;
CPDF_StructElement::CPDF_StructElement(const CPDF_StructTree* pTree,
RetainPtr<const CPDF_Dictionary> pDict)
: … { … }
CPDF_StructElement::~CPDF_StructElement() { … }
ByteString CPDF_StructElement::GetObjType() const { … }
WideString CPDF_StructElement::GetAltText() const { … }
WideString CPDF_StructElement::GetActualText() const { … }
WideString CPDF_StructElement::GetTitle() const { … }
std::optional<WideString> CPDF_StructElement::GetID() const { … }
std::optional<WideString> CPDF_StructElement::GetLang() const { … }
RetainPtr<const CPDF_Object> CPDF_StructElement::GetA() const { … }
RetainPtr<const CPDF_Object> CPDF_StructElement::GetK() const { … }
size_t CPDF_StructElement::CountKids() const { … }
CPDF_StructElement* CPDF_StructElement::GetKidIfElement(size_t index) const { … }
int CPDF_StructElement::GetKidContentId(size_t index) const { … }
bool CPDF_StructElement::UpdateKidIfElement(const CPDF_Dictionary* pDict,
CPDF_StructElement* pElement) { … }
void CPDF_StructElement::LoadKids() { … }
void CPDF_StructElement::LoadKid(uint32_t page_obj_num,
RetainPtr<const CPDF_Object> pKidObj,
Kid& kid) { … }