Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: src/pdf/SkPDFMetadata.h

Issue 1394263003: SkPDF: Optionally output PDF/A-2b archive format. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: works on windows Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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 #include "SkTime.h"
13
14 class SkPDFObject;
15
16 struct SkPDFMetadata {
17 SkTArray<SkDocument::Attribute> fInfo;
18 SkAutoTDelete<const SkTime::DateTime> fCreation;
19 SkAutoTDelete<const SkTime::DateTime> fModified;
20
21 SkPDFObject* createDocumentInformationDict() const;
22
23 struct UUID { uint8_t fData[16]; };
24 UUID uuid() const;
tomhudson 2015/10/09 15:31:37 Would it make sense to name this generateUUID() or
25 static SkPDFObject* CreatePdfId(const UUID& doc, const UUID& instance);
26
27 #ifdef SK_PDF_GENERATE_PDFA
28 SkPDFObject* createXMPObject(const UUID& doc, const UUID& instance) const;
29 #endif // SK_PDF_GENERATE_PDFA
30 };
31
32 #endif // SkPDFMetadata_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698