Keep the declaration of FPDF_HasXFAField consistent with other XFA APIs
[pdfium.git] / fpdfsdk / include / fsdk_common.h
index b49c1d1..197917c 100644 (file)
@@ -1,46 +1,46 @@
-// Copyright 2014 PDFium Authors. All rights reserved.\r
-// Use of this source code is governed by a BSD-style license that can be\r
-// found in the LICENSE file.\r
\r
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
-\r
-#ifndef _FSDK_COMMON_H_\r
-#define _FSDK_COMMON_H_\r
-\r
-#define BFFT_SIGNATURE                         "Signature"\r
-\r
-//for all fields\r
-#define FIELDFLAG_READONLY                                     1\r
-#define FIELDFLAG_REQUIRED                                     2\r
-#define FIELDFLAG_NOEXPORT                                     4\r
-//for text fields\r
-#define FIELDFLAG_MULTILINE                                    (1<<12)\r
-#define FIELDFLAG_PASSWORD                                     (1<<13)\r
-#define FIELDFLAG_FILESELECT                           (1<<20)\r
-#define FIELDFLAG_DONOTSPELLCHECK                      (1<<22)\r
-#define FIELDFLAG_DONOTSCROLL                          (1<<23)\r
-#define FIELDFLAG_COMB                                         (1<<24)\r
-#define FIELDFLAG_RICHTEXT                                     (1<<25)\r
-//for button fileds\r
-#define FIELDFLAG_NOTOGGLETOOFF                                (1<<14)\r
-#define FIELDFLAG_RADIO                                                (1<<15)\r
-#define FIELDFLAG_PUSHBUTTON                           (1<<16)\r
-#define FIELDFLAG_RADIOSINUNISON                       (1<<25)\r
-//for choice fields\r
-#define FIELDFLAG_COMBO                                                (1<<17)\r
-#define FIELDFLAG_EDIT                                         (1<<18)\r
-#define FIELDFLAG_SORT                                         (1<<19)\r
-#define FIELDFLAG_MULTISELECT                          (1<<21)\r
-#ifndef FIELDFLAG_DONOTSPELLCHECK\r
-#define FIELDFLAG_DONOTSPELLCHECK              (1<<22)\r
-#endif\r
-#define FIELDFLAG_COMMITONSELCHANGE                    (1<<26)\r
-\r
-#define BBS_SOLID                                      0\r
-#define BBS_DASH                                       1\r
-#define BBS_BEVELED                                    2\r
-#define BBS_INSET                                      3\r
-#define BBS_UNDERLINE                          4\r
-\r
-\r
-#endif\r
+// 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 _FSDK_COMMON_H_
+#define _FSDK_COMMON_H_
+
+#define BFFT_SIGNATURE                         "Signature"
+
+//for all fields
+#define FIELDFLAG_READONLY                                     1
+#define FIELDFLAG_REQUIRED                                     2
+#define FIELDFLAG_NOEXPORT                                     4
+//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_NOTOGGLETOOFF                                (1<<14)
+#define FIELDFLAG_RADIO                                                (1<<15)
+#define FIELDFLAG_PUSHBUTTON                           (1<<16)
+#define FIELDFLAG_RADIOSINUNISON                       (1<<25)
+//for choice fields
+#define FIELDFLAG_COMBO                                                (1<<17)
+#define FIELDFLAG_EDIT                                         (1<<18)
+#define FIELDFLAG_SORT                                         (1<<19)
+#define FIELDFLAG_MULTISELECT                          (1<<21)
+#ifndef FIELDFLAG_DONOTSPELLCHECK
+#define FIELDFLAG_DONOTSPELLCHECK              (1<<22)
+#endif
+#define FIELDFLAG_COMMITONSELCHANGE                    (1<<26)
+
+#define BBS_SOLID                                      0
+#define BBS_DASH                                       1
+#define BBS_BEVELED                                    2
+#define BBS_INSET                                      3
+#define BBS_UNDERLINE                          4
+
+
+#endif