#include "core/fpdfdoc/cpdf_metadata.h"
#include <memory>
#include <utility>
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
#include "core/fxcrt/cfx_read_only_span_stream.h"
#include "core/fxcrt/check.h"
#include "core/fxcrt/fx_codepage.h"
#include "core/fxcrt/xml/cfx_xmldocument.h"
#include "core/fxcrt/xml/cfx_xmlelement.h"
#include "core/fxcrt/xml/cfx_xmlparser.h"
namespace {
constexpr int kMaxMetaDataDepth = …;
bool CheckForSharedFormInternal(int depth,
CFX_XMLElement* element,
std::vector<UnsupportedFeature>* unsupported) { … }
}
CPDF_Metadata::CPDF_Metadata(RetainPtr<const CPDF_Stream> pStream)
: … { … }
CPDF_Metadata::~CPDF_Metadata() = default;
std::vector<UnsupportedFeature> CPDF_Metadata::CheckForSharedForm() const { … }