Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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"
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) |
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()().
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().
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().
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().
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().