Lines Matching refs:action

16 FX_BOOL CPDFSDK_ActionHandler::DoAction_DocOpen(const CPDF_Action& action,  in DoAction_DocOpen()  argument
19 return ExecuteDocumentOpenAction(action, pDocument, list); in DoAction_DocOpen()
56 const CPDF_Action& action, in DoAction_Page() argument
60 return ExecuteDocumentPageAction(action, eType, pDocument, list); in DoAction_Page()
64 const CPDF_Action& action, in DoAction_Document() argument
68 return ExecuteDocumentPageAction(action, eType, pDocument, list); in DoAction_Document()
72 const CPDF_Action& action, in DoAction_BookMark() argument
76 return ExecuteBookMark(action, pDocument, pBookMark, list); in DoAction_BookMark()
79 FX_BOOL CPDFSDK_ActionHandler::DoAction_Screen(const CPDF_Action& action, in DoAction_Screen() argument
84 return ExecuteScreenAction(action, type, pDocument, pScreen, list); in DoAction_Screen()
87 FX_BOOL CPDFSDK_ActionHandler::DoAction_Link(const CPDF_Action& action, in DoAction_Link() argument
90 return ExecuteLinkAction(action, pDocument, list); in DoAction_Link()
93 FX_BOOL CPDFSDK_ActionHandler::DoAction_Field(const CPDF_Action& action, in DoAction_Field() argument
99 return ExecuteFieldAction(action, type, pDocument, pFormField, data, list); in DoAction_Field()
103 const CPDF_Action& action, in ExecuteDocumentOpenAction() argument
106 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteDocumentOpenAction()
114 if (action.GetType() == CPDF_Action::JavaScript) { in ExecuteDocumentOpenAction()
116 CFX_WideString swJS = action.GetJavaScript(); in ExecuteDocumentOpenAction()
122 DoAction_NoJs(action, pDocument); in ExecuteDocumentOpenAction()
125 for (int32_t i = 0, sz = action.GetSubActionsCount(); i < sz; i++) { in ExecuteDocumentOpenAction()
126 CPDF_Action subaction = action.GetSubAction(i); in ExecuteDocumentOpenAction()
134 FX_BOOL CPDFSDK_ActionHandler::ExecuteLinkAction(const CPDF_Action& action, in ExecuteLinkAction() argument
137 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteLinkAction()
145 if (action.GetType() == CPDF_Action::JavaScript) { in ExecuteLinkAction()
147 CFX_WideString swJS = action.GetJavaScript(); in ExecuteLinkAction()
165 DoAction_NoJs(action, pDocument); in ExecuteLinkAction()
168 for (int32_t i = 0, sz = action.GetSubActionsCount(); i < sz; i++) { in ExecuteLinkAction()
169 CPDF_Action subaction = action.GetSubAction(i); in ExecuteLinkAction()
178 const CPDF_Action& action, in ExecuteDocumentPageAction() argument
182 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteDocumentPageAction()
190 if (action.GetType() == CPDF_Action::JavaScript) { in ExecuteDocumentPageAction()
192 CFX_WideString swJS = action.GetJavaScript(); in ExecuteDocumentPageAction()
198 DoAction_NoJs(action, pDocument); in ExecuteDocumentPageAction()
204 for (int32_t i = 0, sz = action.GetSubActionsCount(); i < sz; i++) { in ExecuteDocumentPageAction()
205 CPDF_Action subaction = action.GetSubAction(i); in ExecuteDocumentPageAction()
223 const CPDF_Action& action, in ExecuteFieldAction() argument
229 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteFieldAction()
237 if (action.GetType() == CPDF_Action::JavaScript) { in ExecuteFieldAction()
239 CFX_WideString swJS = action.GetJavaScript(); in ExecuteFieldAction()
247 DoAction_NoJs(action, pDocument); in ExecuteFieldAction()
250 for (int32_t i = 0, sz = action.GetSubActionsCount(); i < sz; i++) { in ExecuteFieldAction()
251 CPDF_Action subaction = action.GetSubAction(i); in ExecuteFieldAction()
260 const CPDF_Action& action, in ExecuteScreenAction() argument
265 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteScreenAction()
273 if (action.GetType() == CPDF_Action::JavaScript) { in ExecuteScreenAction()
275 CFX_WideString swJS = action.GetJavaScript(); in ExecuteScreenAction()
291 DoAction_NoJs(action, pDocument); in ExecuteScreenAction()
294 for (int32_t i = 0, sz = action.GetSubActionsCount(); i < sz; i++) { in ExecuteScreenAction()
295 CPDF_Action subaction = action.GetSubAction(i); in ExecuteScreenAction()
303 FX_BOOL CPDFSDK_ActionHandler::ExecuteBookMark(const CPDF_Action& action, in ExecuteBookMark() argument
307 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteBookMark()
315 if (action.GetType() == CPDF_Action::JavaScript) { in ExecuteBookMark()
317 CFX_WideString swJS = action.GetJavaScript(); in ExecuteBookMark()
335 DoAction_NoJs(action, pDocument); in ExecuteBookMark()
338 for (int32_t i = 0, sz = action.GetSubActionsCount(); i < sz; i++) { in ExecuteBookMark()
339 CPDF_Action subaction = action.GetSubAction(i); in ExecuteBookMark()
347 void CPDFSDK_ActionHandler::DoAction_NoJs(const CPDF_Action& action, in DoAction_NoJs() argument
351 switch (action.GetType()) { in DoAction_NoJs()
353 DoAction_GoTo(pDocument, action); in DoAction_NoJs()
356 DoAction_GoToR(pDocument, action); in DoAction_NoJs()
361 DoAction_Launch(pDocument, action); in DoAction_NoJs()
366 DoAction_URI(pDocument, action); in DoAction_NoJs()
374 m_pFormActionHandler->DoAction_Hide(action, pDocument); in DoAction_NoJs()
378 DoAction_Named(pDocument, action); in DoAction_NoJs()
382 m_pFormActionHandler->DoAction_SubmitForm(action, pDocument); in DoAction_NoJs()
387 m_pFormActionHandler->DoAction_ResetForm(action, pDocument); in DoAction_NoJs()
392 m_pFormActionHandler->DoAction_ImportData(action, pDocument); in DoAction_NoJs()
399 DoAction_SetOCGState(pDocument, action); in DoAction_NoJs()
418 const CPDF_Action& action) { in DoAction_GoTo() argument
419 ASSERT(action); in DoAction_GoTo()
424 CPDF_Dest MyDest = action.GetDest(pPDFDocument); in DoAction_GoTo()
445 const CPDF_Action& action) {} in DoAction_GoToR() argument
448 const CPDF_Action& action) {} in DoAction_Launch() argument
451 const CPDF_Action& action) { in DoAction_URI() argument
452 ASSERT(action); in DoAction_URI()
455 CFX_ByteString sURI = action.GetURI(pDocument->GetPDFDocument()); in DoAction_URI()
460 const CPDF_Action& action) { in DoAction_Named() argument
461 ASSERT(action); in DoAction_Named()
463 CFX_ByteString csName = action.GetNamedAction(); in DoAction_Named()
468 const CPDF_Action& action) {} in DoAction_SetOCGState() argument
596 FX_BOOL CPDFSDK_FormActionHandler::DoAction_Hide(const CPDF_Action& action, in DoAction_Hide() argument
599 if (pInterForm->DoAction_Hide(action)) { in DoAction_Hide()
608 const CPDF_Action& action, in DoAction_SubmitForm() argument
611 return pInterForm->DoAction_SubmitForm(action); in DoAction_SubmitForm()
615 const CPDF_Action& action, in DoAction_ResetForm() argument
618 return pInterForm->DoAction_ResetForm(action); in DoAction_ResetForm()
622 const CPDF_Action& action, in DoAction_ImportData() argument
625 if (pInterForm->DoAction_ImportData(action)) { in DoAction_ImportData()