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 "SkDocument.h" 12 13 class SkPDFObject; 14 15 namespace SkPDFMetadata { 16 sk_sp<SkPDFObject> MakeDocumentInformationDict(const SkDocument::PDFMetadata&); 17 18 struct UUID { 19 uint8_t fData[16]; 20 }; 21 22 UUID CreateUUID(const SkDocument::PDFMetadata&); 23 24 sk_sp<SkPDFObject> MakePdfId(const UUID& doc, const UUID& instance); 25 26 sk_sp<SkPDFObject> MakeXMPObject(const SkDocument::PDFMetadata&, 27 const UUID& doc, 28 const UUID& instance); 29 } 30 #endif // SkPDFMetadata_DEFINED 31