Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fpdf_javascript.cpp File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include "public/fpdf_javascript.h"
#include <memory>
#include <utility>
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfdoc/cpdf_action.h"
#include "core/fpdfdoc/cpdf_nametree.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "third_party/base/numerics/safe_conversions.h"
+ Include dependency graph for fpdf_javascript.cpp:

Go to the source code of this file.

Classes

struct  CPDF_JavaScript
 

Functions

FPDF_EXPORT int FPDF_CALLCONV FPDFDoc_GetJavaScriptActionCount (FPDF_DOCUMENT document)
 
FPDF_EXPORT FPDF_JAVASCRIPT_ACTION FPDF_CALLCONV FPDFDoc_GetJavaScriptAction (FPDF_DOCUMENT document, int index)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFDoc_CloseJavaScriptAction (FPDF_JAVASCRIPT_ACTION javascript)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFJavaScriptAction_GetName (FPDF_JAVASCRIPT_ACTION javascript, FPDF_WCHAR *buffer, unsigned long buflen)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFJavaScriptAction_GetScript (FPDF_JAVASCRIPT_ACTION javascript, FPDF_WCHAR *buffer, unsigned long buflen)
 

Function Documentation

◆ FPDFDoc_CloseJavaScriptAction()

FPDF_EXPORT void FPDF_CALLCONV FPDFDoc_CloseJavaScriptAction ( FPDF_JAVASCRIPT_ACTION javascript)

Definition at line 64 of file fpdf_javascript.cpp.

Referenced by CheckPDFiumCApi(), and FPDFJavaScriptActionDeleter::operator()().

+ Here is the caller graph for this function:

◆ FPDFDoc_GetJavaScriptAction()

FPDF_EXPORT FPDF_JAVASCRIPT_ACTION FPDF_CALLCONV FPDFDoc_GetJavaScriptAction ( FPDF_DOCUMENT document,
int index )

Definition at line 33 of file fpdf_javascript.cpp.

References CPDFDocumentFromFPDFDocument(), CPDF_Action::GetType(), and CPDF_Action::kJavaScript.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFDoc_GetJavaScriptActionCount()

FPDF_EXPORT int FPDF_CALLCONV FPDFDoc_GetJavaScriptActionCount ( FPDF_DOCUMENT document)

Definition at line 23 of file fpdf_javascript.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFJavaScriptAction_GetName()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFJavaScriptAction_GetName ( FPDF_JAVASCRIPT_ACTION javascript,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 71 of file fpdf_javascript.cpp.

References CPDFJavaScriptActionFromFPDFJavaScriptAction().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFJavaScriptAction_GetScript()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFJavaScriptAction_GetScript ( FPDF_JAVASCRIPT_ACTION javascript,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 82 of file fpdf_javascript.cpp.

References CPDFJavaScriptActionFromFPDFJavaScriptAction().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: