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 // #include "../../include/formfiller/FormFiller.h" | 7 // #include "../../include/formfiller/FormFiller.h" |
8 #include "../../include/formfiller/FFL_FormFiller.h" | 8 #include "../../include/formfiller/FFL_FormFiller.h" |
9 #include "../../include/formfiller/FFL_Notify.h" | 9 #include "../../include/formfiller/FFL_Notify.h" |
10 // #include "../../include/formfiller/FFL_ComboBox.h" | 10 // #include "../../include/formfiller/FFL_ComboBox.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 ExecuteActionTree(eAAT,action,bExit); | 120 ExecuteActionTree(eAAT,action,bExit); |
121 this->m_bDoActioning = FALSE; | 121 this->m_bDoActioning = FALSE; |
122 return TRUE; | 122 return TRUE; |
123 } | 123 } |
124 | 124 |
125 FX_BOOL CFFL_Notify::ExecuteActionTree(CPDF_AAction::AActionType eAAT,CPDF_Actio
n & action, FX_BOOL& bExit) | 125 FX_BOOL CFFL_Notify::ExecuteActionTree(CPDF_AAction::AActionType eAAT,CPDF_Actio
n & action, FX_BOOL& bExit) |
126 { | 126 { |
127 if (!ExecuteAction(eAAT,action,bExit)) return FALSE; | 127 if (!ExecuteAction(eAAT,action,bExit)) return FALSE; |
128 if (bExit) return TRUE; | 128 if (bExit) return TRUE; |
129 | 129 |
130 » for (FX_INT32 i=0,sz=action.GetSubActionsCount(); i<sz; i++) | 130 » for (int32_t i=0,sz=action.GetSubActionsCount(); i<sz; i++) |
131 { | 131 { |
132 CPDF_Action subaction = action.GetSubAction(i); | 132 CPDF_Action subaction = action.GetSubAction(i); |
133 if (!ExecuteActionTree(eAAT,subaction,bExit)) return FALSE; | 133 if (!ExecuteActionTree(eAAT,subaction,bExit)) return FALSE; |
134 if (bExit) break; | 134 if (bExit) break; |
135 } | 135 } |
136 | 136 |
137 return TRUE; | 137 return TRUE; |
138 } | 138 } |
139 | 139 |
140 | 140 |
(...skipping 21 matching lines...) Expand all Loading... |
162 | 162 |
163 return TRUE; | 163 return TRUE; |
164 } | 164 } |
165 | 165 |
166 FX_BOOL CFFL_Notify::ExecuteAction(CPDF_AAction::AActionType eAAT,CPDF_Action &
action,FX_BOOL& bExit) | 166 FX_BOOL CFFL_Notify::ExecuteAction(CPDF_AAction::AActionType eAAT,CPDF_Action &
action,FX_BOOL& bExit) |
167 { | 167 { |
168 return FALSE; | 168 return FALSE; |
169 } | 169 } |
170 //#pragma warning(default: 4800) | 170 //#pragma warning(default: 4800) |
171 | 171 |
OLD | NEW |