blob: 604bbcbf8e842e61a3a93abc8ff9539e45ce583b [file] [edit]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PDF_PDF_INK_CONSTANTS_H_
#define PDF_PDF_INK_CONSTANTS_H_
namespace chrome_pdf {
// Constants used by Ink that are not associated with any particular class.
// Signature for "V2" PDF page objects. Do not change.
inline constexpr char kInkAnnotationIdentifierKeyV2[] = "GOOG:INKIsInker";
// Signature for text annotations. Do not change.
inline constexpr char kInkTextAnnotationIdentifierKey[] = "GOOG:CrText";
// The current version of text annotations.
// Version 2 adds strikethrough and underline text styling.
inline constexpr int kInkTextAnnotationVersion = 2;
// Since PDFium does not support UserUnit, this is the maximum possible PDF
// dimension.
// TODO(crbug.com/42271703): If the bug gets fixed, update the code that assumes
// this is the limit.
inline constexpr int kMaxPdfDimensionInches = 200;
} // namespace chrome_pdf
#endif // PDF_PDF_INK_CONSTANTS_H_