FSPDF_ACTIONDATA_LAUNCH Struct Reference

Structure for action type FSPDF_ACTION_LAUNCH. More...

#include <fpdf_base_r.h>

Public Attributes

FSPDF_ATTACHMENT attachment
 (Reserved, not support currently) Handle to a FSPDF_ATTACHMENT object which is the application or document to be launched.
 
FSCRT_BSTR fileName
 File name, in UTF-8. More...
 
FSCRT_BSTR defaultPath
 Default path, in UTF-8. More...
 
FSCRT_BSTR operation
 Operation to perform, in UTF-8. More...
 
FSCRT_BSTR parameters
 A parameter string to be passed to the application, in UTF-8. More...
 
FS_BOOL newWindow
 Whether a new window should be opened.
 

Detailed Description

Structure for action type FSPDF_ACTION_LAUNCH.

Member Data Documentation

FSCRT_BSTR FSPDF_ACTIONDATA_LAUNCH::defaultPath

Default path, in UTF-8.

Note
If FSCRT_BSTR::str of defaultPath is a const string, the application should set this to NULL before calling function FSPDF_ActionData_Clear() to release resources of action data. Otherwise, the application should release action data by itself, instead of using function FSPDF_ActionData_Clear().
FSCRT_BSTR FSPDF_ACTIONDATA_LAUNCH::fileName

File name, in UTF-8.

Note
If FSCRT_BSTR::str of fileName is a const string, the application should set this to NULL before calling function FSPDF_ActionData_Clear() to release resources of action data. Otherwise, the application should release action data by itself, instead of using function FSPDF_ActionData_Clear().
FSCRT_BSTR FSPDF_ACTIONDATA_LAUNCH::operation

Operation to perform, in UTF-8.

It should be one of the following values:

  • open: Open a document.
  • print: Print a document.
Note
If FSCRT_BSTR::str of operation is a const string, the application should set this to NULL before calling function FSPDF_ActionData_Clear() to release resources of action data. Otherwise, the application should release action data by itself, instead of using function FSPDF_ActionData_Clear().
FSCRT_BSTR FSPDF_ACTIONDATA_LAUNCH::parameters

A parameter string to be passed to the application, in UTF-8.

Note
If FSCRT_BSTR::str of parameters is a const string, the application should set this to NULL before calling function FSPDF_ActionData_Clear() to release resources of action data. Otherwise, the application should release action data by itself, instead of using function FSPDF_ActionData_Clear().

The documentation for this struct was generated from the following file:

Foxit Corporation