summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_common.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-03-28 18:39:04 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-28 18:39:04 +0000
commit00d47a60e4cd0974771692a9d3fdd3ca28bf6eb2 (patch)
tree66f8d0acac138c4c9176b675580c38a6c4f6bb9e /fpdfsdk/cpdfsdk_common.h
parente3c204392a01870ecc9e8f3b2aa06b2b45306b5a (diff)
downloadpdfium-00d47a60e4cd0974771692a9d3fdd3ca28bf6eb2.tar.xz
Rename some fsdk files to cpdfsdk
This CL renames fsdk_common and fsdk_define to cpdfsdk_common and cpdfsdk_helpers respectively. Change-Id: I8ee7a308561f1ff2f510954444f953b0c8fed788 Reviewed-on: https://pdfium-review.googlesource.com/29371 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_common.h')
-rw-r--r--fpdfsdk/cpdfsdk_common.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/fpdfsdk/cpdfsdk_common.h b/fpdfsdk/cpdfsdk_common.h
new file mode 100644
index 0000000000..a5fb58f72d
--- /dev/null
+++ b/fpdfsdk/cpdfsdk_common.h
@@ -0,0 +1,28 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef FPDFSDK_CPDFSDK_COMMON_H_
+#define FPDFSDK_CPDFSDK_COMMON_H_
+
+// for all fields
+#define FIELDFLAG_READONLY 1
+#define FIELDFLAG_REQUIRED 2
+// for text fields
+#define FIELDFLAG_MULTILINE (1 << 12)
+#define FIELDFLAG_PASSWORD (1 << 13)
+#define FIELDFLAG_FILESELECT (1 << 20)
+#define FIELDFLAG_DONOTSPELLCHECK (1 << 22)
+#define FIELDFLAG_DONOTSCROLL (1 << 23)
+#define FIELDFLAG_COMB (1 << 24)
+#define FIELDFLAG_RICHTEXT (1 << 25)
+// for button fileds
+#define FIELDFLAG_RADIOSINUNISON (1 << 27)
+// for choice fields
+#define FIELDFLAG_EDIT (1 << 18)
+#define FIELDFLAG_MULTISELECT (1 << 21)
+#define FIELDFLAG_COMMITONSELCHANGE (1 << 26)
+
+#endif // FPDFSDK_CPDFSDK_COMMON_H_