Index: fpdfsdk/fsdk_actionhandler.h |
diff --git a/fpdfsdk/fsdk_actionhandler.h b/fpdfsdk/fsdk_actionhandler.h |
index 6eff835c5de0f123da735123c47112f702a0273b..1c8dedefd70f4807e8a6b7a6744087d59e85164a 100644 |
--- a/fpdfsdk/fsdk_actionhandler.h |
+++ b/fpdfsdk/fsdk_actionhandler.h |
@@ -23,64 +23,64 @@ class CPDF_FormField; |
class CPDFSDK_ActionHandler { |
public: |
- FX_BOOL DoAction_DocOpen(const CPDF_Action& action, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv); |
- FX_BOOL DoAction_JavaScript(const CPDF_Action& JsAction, |
- CFX_WideString csJSName, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv); |
- FX_BOOL DoAction_Page(const CPDF_Action& action, |
- enum CPDF_AAction::AActionType eType, |
+ bool DoAction_DocOpen(const CPDF_Action& action, |
CPDFSDK_FormFillEnvironment* pFormFillEnv); |
- FX_BOOL DoAction_Document(const CPDF_Action& action, |
- enum CPDF_AAction::AActionType eType, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv); |
- FX_BOOL DoAction_BookMark(CPDF_Bookmark* pBookMark, |
- const CPDF_Action& action, |
- CPDF_AAction::AActionType type, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv); |
- FX_BOOL DoAction_Screen(const CPDF_Action& action, |
- CPDF_AAction::AActionType type, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- CPDFSDK_Annot* pScreen); |
- FX_BOOL DoAction_Link(const CPDF_Action& action, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv); |
- FX_BOOL DoAction_Field(const CPDF_Action& action, |
+ bool DoAction_JavaScript(const CPDF_Action& JsAction, |
+ CFX_WideString csJSName, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool DoAction_Page(const CPDF_Action& action, |
+ enum CPDF_AAction::AActionType eType, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool DoAction_Document(const CPDF_Action& action, |
+ enum CPDF_AAction::AActionType eType, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool DoAction_BookMark(CPDF_Bookmark* pBookMark, |
+ const CPDF_Action& action, |
CPDF_AAction::AActionType type, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- CPDF_FormField* pFormField, |
- PDFSDK_FieldAction& data); |
- FX_BOOL DoAction_FieldJavaScript(const CPDF_Action& JsAction, |
- CPDF_AAction::AActionType type, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- CPDF_FormField* pFormField, |
- PDFSDK_FieldAction& data); |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool DoAction_Screen(const CPDF_Action& action, |
+ CPDF_AAction::AActionType type, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv, |
+ CPDFSDK_Annot* pScreen); |
+ bool DoAction_Link(const CPDF_Action& action, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool DoAction_Field(const CPDF_Action& action, |
+ CPDF_AAction::AActionType type, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv, |
+ CPDF_FormField* pFormField, |
+ PDFSDK_FieldAction& data); |
+ bool DoAction_FieldJavaScript(const CPDF_Action& JsAction, |
+ CPDF_AAction::AActionType type, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv, |
+ CPDF_FormField* pFormField, |
+ PDFSDK_FieldAction& data); |
private: |
- FX_BOOL ExecuteDocumentOpenAction(const CPDF_Action& action, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- std::set<CPDF_Dictionary*>* visited); |
- FX_BOOL ExecuteDocumentPageAction(const CPDF_Action& action, |
- CPDF_AAction::AActionType type, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- std::set<CPDF_Dictionary*>* visited); |
- FX_BOOL ExecuteFieldAction(const CPDF_Action& action, |
- CPDF_AAction::AActionType type, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- CPDF_FormField* pFormField, |
- PDFSDK_FieldAction& data, |
- std::set<CPDF_Dictionary*>* visited); |
- FX_BOOL ExecuteScreenAction(const CPDF_Action& action, |
- CPDF_AAction::AActionType type, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- CPDFSDK_Annot* pScreen, |
- std::set<CPDF_Dictionary*>* visited); |
- FX_BOOL ExecuteBookMark(const CPDF_Action& action, |
+ bool ExecuteDocumentOpenAction(const CPDF_Action& action, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv, |
+ std::set<CPDF_Dictionary*>* visited); |
+ bool ExecuteDocumentPageAction(const CPDF_Action& action, |
+ CPDF_AAction::AActionType type, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv, |
+ std::set<CPDF_Dictionary*>* visited); |
+ bool ExecuteFieldAction(const CPDF_Action& action, |
+ CPDF_AAction::AActionType type, |
CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- CPDF_Bookmark* pBookmark, |
+ CPDF_FormField* pFormField, |
+ PDFSDK_FieldAction& data, |
std::set<CPDF_Dictionary*>* visited); |
- FX_BOOL ExecuteLinkAction(const CPDF_Action& action, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- std::set<CPDF_Dictionary*>* visited); |
+ bool ExecuteScreenAction(const CPDF_Action& action, |
+ CPDF_AAction::AActionType type, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv, |
+ CPDFSDK_Annot* pScreen, |
+ std::set<CPDF_Dictionary*>* visited); |
+ bool ExecuteBookMark(const CPDF_Action& action, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv, |
+ CPDF_Bookmark* pBookmark, |
+ std::set<CPDF_Dictionary*>* visited); |
+ bool ExecuteLinkAction(const CPDF_Action& action, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv, |
+ std::set<CPDF_Dictionary*>* visited); |
void DoAction_NoJs(const CPDF_Action& action, |
CPDFSDK_FormFillEnvironment* pFormFillEnv); |
@@ -96,9 +96,9 @@ class CPDFSDK_ActionHandler { |
PDFSDK_FieldAction& data, |
const CFX_WideString& script); |
- FX_BOOL IsValidField(CPDFSDK_FormFillEnvironment* pFormFillEnv, |
- CPDF_Dictionary* pFieldDict); |
- FX_BOOL IsValidDocView(CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool IsValidField(CPDFSDK_FormFillEnvironment* pFormFillEnv, |
+ CPDF_Dictionary* pFieldDict); |
+ bool IsValidDocView(CPDFSDK_FormFillEnvironment* pFormFillEnv); |
void DoAction_GoTo(CPDFSDK_FormFillEnvironment* pFormFillEnv, |
const CPDF_Action& action); |
@@ -113,14 +113,14 @@ class CPDFSDK_ActionHandler { |
void DoAction_SetOCGState(CPDFSDK_FormFillEnvironment* pFormFillEnv, |
const CPDF_Action& action); |
- FX_BOOL DoAction_Hide(const CPDF_Action& action, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv); |
- FX_BOOL DoAction_SubmitForm(const CPDF_Action& action, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv); |
- FX_BOOL DoAction_ResetForm(const CPDF_Action& action, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv); |
- FX_BOOL DoAction_ImportData(const CPDF_Action& action, |
- CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool DoAction_Hide(const CPDF_Action& action, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool DoAction_SubmitForm(const CPDF_Action& action, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool DoAction_ResetForm(const CPDF_Action& action, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv); |
+ bool DoAction_ImportData(const CPDF_Action& action, |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv); |
}; |
#endif // FPDFSDK_FSDK_ACTIONHANDLER_H_ |