• Home
  • Raw
  • Download

Lines Matching refs:pDocument

51 …BOOL	CPDFSDK_ActionHandler::DoAction_DocOpen(const CPDF_Action& action, CPDFSDK_Document* pDocument  in DoAction_DocOpen()  argument
55 return ExecuteDocumentOpenAction(action, pDocument, /*pDocView, */list); in DoAction_DocOpen()
60 CPDFSDK_Document* pDocument/*, CReader_DocView *pDocView*/) in DoAction_JavaScript() argument
67 RunDocumentOpenJavaScript(pDocument, csJSName, swJS); in DoAction_JavaScript()
76 CPDFSDK_Document* pDocument, CPDF_FormField* pFormField, in DoAction_FieldJavaScript() argument
79 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in DoAction_FieldJavaScript()
86 RunFieldJavaScript(pDocument, pFormField, type, data, swJS); in DoAction_FieldJavaScript()
94 CPDFSDK_Document* pDocument/*, CReader_DocView *pDocView*/) in DoAction_Page() argument
97 return ExecuteDocumentPageAction(action, eType, pDocument,/* pDocView,*/ list); in DoAction_Page()
101 CPDFSDK_Document* pDocument/*, CReader_DocView *pDocView*/) in DoAction_Document() argument
104 return ExecuteDocumentPageAction(action, eType, pDocument,/* pDocView,*/ list); in DoAction_Document()
108 CPDFSDK_Document* pDocument/*, CReader_DocView *pDocView*/) in DoAction_BookMark() argument
111 return this->ExecuteBookMark(action, pDocument,/* pDocView,*/ pBookMark, list); in DoAction_BookMark()
115 CPDFSDK_Document* pDocument,/* CReader_DocView *pDocView,*/ CPDFSDK_Annot* pScreen) in DoAction_Screen() argument
118 return this->ExecuteScreenAction(action, type, pDocument,/* pDocView,*/ pScreen, list); in DoAction_Screen()
122 CPDFSDK_Document* pDocument/*, CReader_DocView *pDocView*/) in DoAction_Link() argument
125 return ExecuteLinkAction(action, pDocument,/* pDocView,*/ list); in DoAction_Link()
129 CPDFSDK_Document* pDocument,/* CReader_DocView *pDocView,*/ in DoAction_Field() argument
133 return ExecuteFieldAction(action, type, pDocument,/* pDocView,*/ pFormField, data, list); in DoAction_Field()
136 …DK_ActionHandler::ExecuteDocumentOpenAction(const CPDF_Action& action, CPDFSDK_Document* pDocument, in ExecuteDocumentOpenAction() argument
139 ASSERT(pDocument != NULL); in ExecuteDocumentOpenAction()
145 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in ExecuteDocumentOpenAction()
154 RunDocumentOpenJavaScript(pDocument, L"", swJS); in ExecuteDocumentOpenAction()
160 DoAction_NoJs(action, pDocument/*, pDocView*/); in ExecuteDocumentOpenAction()
169 if (!ExecuteDocumentOpenAction(subaction, pDocument,/* pDocView,*/ list)) return FALSE; in ExecuteDocumentOpenAction()
175 …OL CPDFSDK_ActionHandler::ExecuteLinkAction(const CPDF_Action& action, CPDFSDK_Document* pDocument, in ExecuteLinkAction() argument
178 ASSERT(pDocument != NULL); in ExecuteLinkAction()
184 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in ExecuteLinkAction()
193 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); //???? in ExecuteLinkAction()
196 pRuntime->SetReaderDocument(pDocument); in ExecuteLinkAction()
201 pContext->OnLink_MouseUp(pDocument); in ExecuteLinkAction()
216 DoAction_NoJs(action, pDocument/*, pDocView*/); in ExecuteLinkAction()
225 if (!ExecuteLinkAction(subaction, pDocument,/* pDocView,*/ list)) return FALSE; in ExecuteLinkAction()
232 CPDFSDK_Document* pDocument,/* CReader_DocView* pDocView,*/ CFX_PtrList& list) in ExecuteDocumentPageAction() argument
234 ASSERT(pDocument != NULL); in ExecuteDocumentPageAction()
240 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in ExecuteDocumentPageAction()
249 RunDocumentPageJavaScript(pDocument, type, swJS); in ExecuteDocumentPageAction()
255 DoAction_NoJs(action, pDocument/*, pDocView*/); in ExecuteDocumentPageAction()
258 if (!IsValidDocView(pDocument/*, pDocView*/)) in ExecuteDocumentPageAction()
264 if (!ExecuteDocumentPageAction(subaction, type, pDocument,/* pDocView,*/ list)) return FALSE; in ExecuteDocumentPageAction()
270 FX_BOOL CPDFSDK_ActionHandler::IsValidField(CPDFSDK_Document* pDocument, CPDF_Dictionary* pFieldDic… in IsValidField() argument
273 ASSERT(pDocument != NULL); in IsValidField()
278 CPDFSDK_InterForm* pInterForm = pDocument->GetInterForm(); in IsValidField()
291 CPDFSDK_Document* pDocument,/* CReader_DocView* pDocView,*/ CPDF_FormField* pFormField, in ExecuteFieldAction() argument
294 ASSERT(pDocument != NULL); in ExecuteFieldAction()
300 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in ExecuteFieldAction()
309 RunFieldJavaScript(pDocument, pFormField, type, data, swJS); in ExecuteFieldAction()
310 if (!IsValidField(pDocument, pFormField->GetFieldDict())) in ExecuteFieldAction()
317 DoAction_NoJs(action, pDocument/*, pDocView*/); in ExecuteFieldAction()
325 …if (!ExecuteFieldAction(subaction, type, pDocument,/* pDocView,*/ pFormField, data, list)) return … in ExecuteFieldAction()
332 …CPDFSDK_Document* pDocument,/* CReader_DocView* pDocView,*/ CPDFSDK_Annot* pScreen, CFX_PtrList& l… in ExecuteScreenAction() argument
334 ASSERT(pDocument != NULL); in ExecuteScreenAction()
340 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in ExecuteScreenAction()
349 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); in ExecuteScreenAction()
352 pRuntime->SetReaderDocument(pDocument); in ExecuteScreenAction()
407 DoAction_NoJs(action, pDocument/*, pDocView*/); in ExecuteScreenAction()
416 if (!ExecuteScreenAction(subaction, type, pDocument,/* pDocView,*/ pScreen, list)) return FALSE; in ExecuteScreenAction()
422 …OOL CPDFSDK_ActionHandler::ExecuteBookMark(const CPDF_Action& action, CPDFSDK_Document* pDocument, in ExecuteBookMark() argument
425 ASSERT(pDocument != NULL); in ExecuteBookMark()
431 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in ExecuteBookMark()
440 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); in ExecuteBookMark()
443 pRuntime->SetReaderDocument(pDocument); in ExecuteBookMark()
463 DoAction_NoJs(action, pDocument/*, pDocView*/); in ExecuteBookMark()
472 if (!ExecuteBookMark(subaction, pDocument,/* pDocView,*/ pBookmark, list)) return FALSE; in ExecuteBookMark()
478 void CPDFSDK_ActionHandler::DoAction_NoJs(const CPDF_Action& action, CPDFSDK_Document* pDocument/*,… in DoAction_NoJs() argument
480 ASSERT(pDocument != NULL); in DoAction_NoJs()
485 DoAction_GoTo(pDocument,/* pDocView,*/ action); in DoAction_NoJs()
488 DoAction_GoToR(pDocument, action); in DoAction_NoJs()
493 DoAction_Launch(pDocument, action); in DoAction_NoJs()
498 DoAction_URI(pDocument, action); in DoAction_NoJs()
503 m_pMediaActionHandler->DoAction_Sound(action, pDocument/*, pDocView*/); in DoAction_NoJs()
509 m_pMediaActionHandler->DoAction_Movie(action, pDocument/*, pDocView*/); in DoAction_NoJs()
515 m_pFormActionHandler->DoAction_Hide(action, pDocument); in DoAction_NoJs()
519 DoAction_Named(pDocument, action); in DoAction_NoJs()
524 m_pFormActionHandler->DoAction_SubmitForm(action, pDocument/*, pDocView*/); in DoAction_NoJs()
530 m_pFormActionHandler->DoAction_ResetForm(action, pDocument); in DoAction_NoJs()
536 m_pFormActionHandler->DoAction_ImportData(action, pDocument/*, pDocView*/); in DoAction_NoJs()
543 DoAction_SetOCGState(pDocument, /*pDocView,*/ action); in DoAction_NoJs()
548 m_pMediaActionHandler->DoAction_Rendition(action, pDocument/*, pDocView*/); in DoAction_NoJs()
560 FX_BOOL CPDFSDK_ActionHandler::IsValidDocView(CPDFSDK_Document* pDocument/*, CReader_DocView* pDocV… in IsValidDocView() argument
562 ASSERT(pDocument != NULL); in IsValidDocView()
569 void CPDFSDK_ActionHandler::DoAction_GoTo(CPDFSDK_Document* pDocument, /*CReader_DocView* pDocView,… in DoAction_GoTo() argument
572 ASSERT(pDocument != NULL); in DoAction_GoTo()
576 CPDF_Document* pPDFDocument = pDocument->GetDocument(); in DoAction_GoTo()
578 CPDFDoc_Environment* pApp = pDocument->GetEnv(); in DoAction_GoTo()
602 void CPDFSDK_ActionHandler::DoAction_GoToR(CPDFSDK_Document* pDocument, const CPDF_Action& action) in DoAction_GoToR() argument
607 void CPDFSDK_ActionHandler::DoAction_Launch(CPDFSDK_Document* pDocument, const CPDF_Action& action) in DoAction_Launch() argument
612 void CPDFSDK_ActionHandler::DoAction_URI(CPDFSDK_Document* pDocument, const CPDF_Action& action) in DoAction_URI() argument
614 ASSERT(pDocument != NULL); in DoAction_URI()
617 CPDFDoc_Environment* pApp = pDocument->GetEnv(); in DoAction_URI()
620 CFX_ByteString sURI = action.GetURI(pDocument->GetDocument()); in DoAction_URI()
624 void CPDFSDK_ActionHandler::DoAction_Named(CPDFSDK_Document* pDocument, const CPDF_Action& action) in DoAction_Named() argument
626 ASSERT(pDocument != NULL); in DoAction_Named()
630 pDocument->GetEnv()->FFI_ExecuteNamedAction(csName); in DoAction_Named()
634 void CPDFSDK_ActionHandler::DoAction_SetOCGState(CPDFSDK_Document* pDocument,/* CReader_DocView* pD… in DoAction_SetOCGState() argument
638 void CPDFSDK_ActionHandler::RunFieldJavaScript(CPDFSDK_Document* pDocument, CPDF_FormField* pFormFi… in RunFieldJavaScript() argument
644 ASSERT(pDocument != NULL); in RunFieldJavaScript()
646 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); in RunFieldJavaScript()
649 pRuntime->SetReaderDocument(pDocument); in RunFieldJavaScript()
698 void CPDFSDK_ActionHandler::RunDocumentOpenJavaScript(CPDFSDK_Document* pDocument, const CFX_WideSt… in RunDocumentOpenJavaScript() argument
700 ASSERT(pDocument != NULL); in RunDocumentOpenJavaScript()
702 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); in RunDocumentOpenJavaScript()
705 pRuntime->SetReaderDocument(pDocument); in RunDocumentOpenJavaScript()
710 pContext->OnDoc_Open(pDocument, sScriptName); in RunDocumentOpenJavaScript()
722 void CPDFSDK_ActionHandler::RunDocumentPageJavaScript(CPDFSDK_Document* pDocument, CPDF_AAction::AA… in RunDocumentPageJavaScript() argument
724 ASSERT(pDocument != NULL); in RunDocumentPageJavaScript()
726 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); in RunDocumentPageJavaScript()
729 pRuntime->SetReaderDocument(pDocument); in RunDocumentPageJavaScript()
737 pContext->OnPage_Open(pDocument); in RunDocumentPageJavaScript()
740 pContext->OnPage_Close(pDocument); in RunDocumentPageJavaScript()
743 pContext->OnDoc_WillClose(pDocument); in RunDocumentPageJavaScript()
746 pContext->OnDoc_WillSave(pDocument); in RunDocumentPageJavaScript()
749 pContext->OnDoc_DidSave(pDocument); in RunDocumentPageJavaScript()
752 pContext->OnDoc_WillPrint(pDocument); in RunDocumentPageJavaScript()
755 pContext->OnDoc_DidPrint(pDocument); in RunDocumentPageJavaScript()
758 pContext->OnPage_InView(pDocument); in RunDocumentPageJavaScript()
761 pContext->OnPage_OutView(pDocument); in RunDocumentPageJavaScript()
779 …OL CPDFSDK_FormActionHandler::DoAction_Hide(const CPDF_Action& action, CPDFSDK_Document* pDocument) in DoAction_Hide() argument
781 ASSERT(pDocument != NULL); in DoAction_Hide()
783 CPDFSDK_InterForm* pInterForm = (CPDFSDK_InterForm*)pDocument->GetInterForm(); in DoAction_Hide()
788 pDocument->SetChangeMark(); in DoAction_Hide()
795 …FSDK_FormActionHandler::DoAction_SubmitForm(const CPDF_Action& action, CPDFSDK_Document* pDocument) in DoAction_SubmitForm() argument
797 ASSERT(pDocument != NULL); in DoAction_SubmitForm()
799 CPDFSDK_InterForm* pInterForm = (CPDFSDK_InterForm*)pDocument->GetInterForm(); in DoAction_SubmitForm()
805 …DFSDK_FormActionHandler::DoAction_ResetForm(const CPDF_Action& action, CPDFSDK_Document* pDocument) in DoAction_ResetForm() argument
807 ASSERT(pDocument != NULL); in DoAction_ResetForm()
809 CPDFSDK_InterForm* pInterForm = (CPDFSDK_InterForm*)pDocument->GetInterForm(); in DoAction_ResetForm()
820 …FSDK_FormActionHandler::DoAction_ImportData(const CPDF_Action& action, CPDFSDK_Document* pDocument) in DoAction_ImportData() argument
822 ASSERT(pDocument != NULL); in DoAction_ImportData()
824 CPDFSDK_InterForm* pInterForm = (CPDFSDK_InterForm*)pDocument->GetInterForm(); in DoAction_ImportData()
829 pDocument->SetChangeMark(); in DoAction_ImportData()
836 …FSDK_MediaActionHandler::DoAction_Rendition(const CPDF_Action& action, CPDFSDK_Document* pDocument) in DoAction_Rendition() argument
841 … CPDFSDK_MediaActionHandler::DoAction_Sound(const CPDF_Action& action, CPDFSDK_Document* pDocument) in DoAction_Sound() argument
846 … CPDFSDK_MediaActionHandler::DoAction_Movie(const CPDF_Action& action, CPDFSDK_Document* pDocument) in DoAction_Movie() argument