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