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