1/*
2 * Copyright 2015 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkPDFMetadata_DEFINED
9#define SkPDFMetadata_DEFINED
10
11#include "include/docs/SkPDFDocument.h"
12#include "src/pdf/SkPDFTypes.h"
13#include "src/pdf/SkUUID.h"
14
15class SkPDFObject;
16
17namespace SkPDFMetadata {
18std::unique_ptr<SkPDFObject> MakeDocumentInformationDict(const SkPDF::Metadata&);
19
20SkUUID CreateUUID(const SkPDF::Metadata&);
21
22std::unique_ptr<SkPDFObject> MakePdfId(const SkUUID& doc, const SkUUID& instance);
23
24SkPDFIndirectReference MakeXMPObject(const SkPDF::Metadata& metadata,
25 const SkUUID& doc,
26 const SkUUID& instance,
27 SkPDFDocument*);
28}
29#endif // SkPDFMetadata_DEFINED
30