xref: /aosp_15_r20/external/pdfium/fpdfsdk/formfiller/cffl_fieldaction.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1 // Copyright 2016 The PDFium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef FPDFSDK_FORMFILLER_CFFL_FIELDACTION_H_
8 #define FPDFSDK_FORMFILLER_CFFL_FIELDACTION_H_
9 
10 #include "core/fxcrt/widestring.h"
11 
12 struct CFFL_FieldAction {
13   CFFL_FieldAction();
14   CFFL_FieldAction(const CFFL_FieldAction& other) = delete;
15   ~CFFL_FieldAction();
16 
17   bool bModifier = false;
18   bool bShift = false;
19   bool bKeyDown = false;
20   bool bWillCommit = false;
21   bool bFieldFull = false;
22   bool bRC = true;
23   int nSelEnd = 0;
24   int nSelStart = 0;
25   WideString sChange;
26   WideString sChangeEx;
27   WideString sValue;
28 };
29 
30 #endif  // FPDFSDK_FORMFILLER_CFFL_FIELDACTION_H_
31