1 // Copyright 2016 PDFium Authors. All rights reserved. 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_CPDFSDK_FIELDACTION_H_ 8 #define FPDFSDK_CPDFSDK_FIELDACTION_H_ 9 10 #include "core/fxcrt/fx_string.h" 11 12 struct CPDFSDK_FieldAction { 13 CPDFSDK_FieldAction(); 14 CPDFSDK_FieldAction(const CPDFSDK_FieldAction& other) = delete; 15 ~CPDFSDK_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_CPDFSDK_FIELDACTION_H_ 31