OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef FPDFSDK_INCLUDE_FSDK_COMMON_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_COMMON_H_ |
8 #define FPDFSDK_INCLUDE_FSDK_COMMON_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_COMMON_H_ |
9 | 9 |
10 #define BFFT_SIGNATURE» » » » "Signature" | 10 #define BFFT_SIGNATURE "Signature" |
11 | 11 |
12 //for all fields | 12 // for all fields |
13 #define FIELDFLAG_READONLY» » » » » 1 | 13 #define FIELDFLAG_READONLY 1 |
14 #define FIELDFLAG_REQUIRED» » » » » 2 | 14 #define FIELDFLAG_REQUIRED 2 |
15 #define FIELDFLAG_NOEXPORT» » » » » 4 | 15 #define FIELDFLAG_NOEXPORT 4 |
16 //for text fields | 16 // for text fields |
17 #define FIELDFLAG_MULTILINE» » » » » (1<<12) | 17 #define FIELDFLAG_MULTILINE (1 << 12) |
18 #define FIELDFLAG_PASSWORD» » » » » (1<<13) | 18 #define FIELDFLAG_PASSWORD (1 << 13) |
19 #define FIELDFLAG_FILESELECT» » » » (1<<20) | 19 #define FIELDFLAG_FILESELECT (1 << 20) |
20 #define FIELDFLAG_DONOTSPELLCHECK» » » (1<<22) | 20 #define FIELDFLAG_DONOTSPELLCHECK (1 << 22) |
21 #define FIELDFLAG_DONOTSCROLL» » » » (1<<23) | 21 #define FIELDFLAG_DONOTSCROLL (1 << 23) |
22 #define FIELDFLAG_COMB» » » » » » (1<<24) | 22 #define FIELDFLAG_COMB (1 << 24) |
23 #define FIELDFLAG_RICHTEXT» » » » » (1<<25) | 23 #define FIELDFLAG_RICHTEXT (1 << 25) |
24 //for button fileds | 24 // for button fileds |
25 #define FIELDFLAG_NOTOGGLETOOFF»» » » (1<<14) | 25 #define FIELDFLAG_NOTOGGLETOOFF (1 << 14) |
26 #define FIELDFLAG_RADIO»» » » » » (1<<15) | 26 #define FIELDFLAG_RADIO (1 << 15) |
27 #define FIELDFLAG_PUSHBUTTON» » » » (1<<16) | 27 #define FIELDFLAG_PUSHBUTTON (1 << 16) |
28 #define FIELDFLAG_RADIOSINUNISON» » » (1<<25) | 28 #define FIELDFLAG_RADIOSINUNISON (1 << 25) |
29 //for choice fields | 29 // for choice fields |
30 #define FIELDFLAG_COMBO»» » » » » (1<<17) | 30 #define FIELDFLAG_COMBO (1 << 17) |
31 #define FIELDFLAG_EDIT» » » » » » (1<<18) | 31 #define FIELDFLAG_EDIT (1 << 18) |
32 #define FIELDFLAG_SORT» » » » » » (1<<19) | 32 #define FIELDFLAG_SORT (1 << 19) |
33 #define FIELDFLAG_MULTISELECT» » » » (1<<21) | 33 #define FIELDFLAG_MULTISELECT (1 << 21) |
34 #ifndef FIELDFLAG_DONOTSPELLCHECK | 34 #ifndef FIELDFLAG_DONOTSPELLCHECK |
35 #define FIELDFLAG_DONOTSPELLCHECK» » (1<<22) | 35 #define FIELDFLAG_DONOTSPELLCHECK (1 << 22) |
36 #endif | 36 #endif |
37 #define FIELDFLAG_COMMITONSELCHANGE» » » (1<<26) | 37 #define FIELDFLAG_COMMITONSELCHANGE (1 << 26) |
38 | 38 |
39 #define BBS_SOLID» » » » » 0 | 39 #define BBS_SOLID 0 |
40 #define BBS_DASH» » » » » 1 | 40 #define BBS_DASH 1 |
41 #define BBS_BEVELED» » » » » 2 | 41 #define BBS_BEVELED 2 |
42 #define BBS_INSET» » » » » 3 | 42 #define BBS_INSET 3 |
43 #define BBS_UNDERLINE» » » » 4 | 43 #define BBS_UNDERLINE 4 |
44 | 44 |
45 #endif // FPDFSDK_INCLUDE_FSDK_COMMON_H_ | 45 #endif // FPDFSDK_INCLUDE_FSDK_COMMON_H_ |
OLD | NEW |