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 "SkPDFDocument.h"
12 #include "SkPDFTypes.h"
13 #include "SkUUID.h"
14 
15 class SkPDFObject;
16 
17 namespace SkPDFMetadata {
18 std::unique_ptr<SkPDFObject> MakeDocumentInformationDict(const SkPDF::Metadata&);
19 
20 SkUUID CreateUUID(const SkPDF::Metadata&);
21 
22 std::unique_ptr<SkPDFObject> MakePdfId(const SkUUID& doc, const SkUUID& instance);
23 
24 SkPDFIndirectReference MakeXMPObject(const SkPDF::Metadata& metadata,
25                                      const SkUUID& doc,
26                                      const SkUUID& instance,
27                                      SkPDFDocument*);
28 }
29 #endif  // SkPDFMetadata_DEFINED
30