Foxit PDF SDK
foxit::addon::pdf3d::PDF3DLaunchSetting Class Reference

Inherits Object.

Public Types

enum  PDF3DActivationDisableSetting { e_3DActivationDisableSettingContextMenuSelected = 0, e_3DActivationDisableSettingPageClosed = 1, e_3DActivationDisableSettingPageInvisible = 2 }
 Enumeration for activation disable setting for the 3D launch setting type. More...
 
enum  PDF3DActivationEnableSetting { e_3DActivationEnableSettingContentClicked = 0, e_3DActivationEnableSettingPageOpened = 1, e_3DActivationEnableSettingPageVisible = 2 }
 Enumeration for activation enable setting for the 3D launch setting type. More...
 
enum  PDF3DActivationPlaybackStyleSetting { e_3DActivationPlaybackStyleOnPage = 0, e_3DActivationPlaybackStyleInFloatingWindow = 1 }
 Enumeration for activation playback style for the 3D launch setting type. More...
 
enum  PDF3DAppearanceSettingBorderWidth { e_3DAppearanceSettingBorderWidthNone = 0, e_3DAppearanceSettingBorderWidthThin = 1, e_3DAppearanceSettingBorderWidthMedium = 2, e_3DAppearanceSettingBorderWidthThick = 3 }
 Enumeration for appearance setting for border width for the 3D launch setting type. More...
 
enum  PDF3DPosterImageSetting { e_3DPosterImageKeepCurrent = 0, e_3DPosterImageRetrieveFromDefaultView = 1, e_3DPosterImageCreateFromFile = 2 }
 Enumeration for poster image for the 3D launch setting type. More...
 

Public Member Functions

 PDF3DLaunchSetting ()
 Constructor.
 
 PDF3DLaunchSetting (const PDF3DLaunchSetting &launch_setting)
 Constructor, with another 3D launch setting object. More...
 
 PDF3DLaunchSetting (PDF3DActivationEnableSetting activation_enable, PDF3DActivationDisableSetting activation_disable, PDF3DActivationPlaybackStyleSetting activation_playback, int window_width, int window_height, PDF3DAppearanceSettingBorderWidth border_width, bool is_transparent_background, PDF3DPosterImageSetting poster_image, WString poster_file_path)
 Constructor with parameter. More...
 
PDF3DLaunchSettingoperator= (const PDF3DLaunchSetting &launch_setting)
 Assign operator. More...
 
void Set (PDF3DActivationEnableSetting activation_enable, PDF3DActivationDisableSetting activation_disable, PDF3DActivationPlaybackStyleSetting activation_playback, int window_width, int window_height, PDF3DAppearanceSettingBorderWidth border_width, bool is_transparent_background, PDF3DPosterImageSetting poster_image, WString poster_file_path)
 Set the values. More...
 

Public Attributes

PDF3DActivationDisableSetting activation_disable
 The activation disable setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DActivationDisableSettingContextMenuSelected and this should be one of these values.
 
PDF3DActivationEnableSetting activation_enable
 The activation enable setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DActivationEnableSettingContentClicked and this should be one of these values.
 
PDF3DActivationPlaybackStyleSetting activation_playback
 The activation playback setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DActivationPlaybackStyleOnPage and this should be one of these values.
 
PDF3DAppearanceSettingBorderWidth border_width
 The border width setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DAppearanceSettingBorderWidthNone and this should be one of these values.
 
bool is_transparent_background
 This flag indicates whether the 3D content background is transparent. true means transparent, while false means not. Default value is false.
 
WString poster_file_path
 The file path of poster image. This field is valid only when poster_image is set to PDF3DLaunchSetting::e_3DPosterImageCreateFromFile.
 
PDF3DPosterImageSetting poster_image
 The poster image. Please refer to values starting from PDF3DLaunchSetting::e_3DPosterImageKeepCurrent and this should be one of these values.
 
int window_height
 The window height setting for 3D. Default value is 240.
 
int window_width
 The window width setting for 3D. Default value is 320.
 

Detailed Description

This class represents 3D launch setting.

Member Enumeration Documentation

◆ PDF3DActivationDisableSetting

Enumeration for activation disable setting for the 3D launch setting type.

Values of this enumeration should be used alone.

Enumerator
e_3DActivationDisableSettingContextMenuSelected 

Disable when "Disable Content" is selected from the context menu.

e_3DActivationDisableSettingPageClosed 

Disable when the page containing the content is closed.

e_3DActivationDisableSettingPageInvisible 

Disable when the page containing the content is not visible.

◆ PDF3DActivationEnableSetting

Enumeration for activation enable setting for the 3D launch setting type.

Values of this enumeration should be used alone.

Enumerator
e_3DActivationEnableSettingContentClicked 

Enable when the content is clicked.

e_3DActivationEnableSettingPageOpened 

Enable when the page containing the content is opened.

e_3DActivationEnableSettingPageVisible 

Enable when the page containing the content is visible.

◆ PDF3DActivationPlaybackStyleSetting

Enumeration for activation playback style for the 3D launch setting type.

Values of this enumeration should be used alone.

Enumerator
e_3DActivationPlaybackStyleOnPage 

Play content on page.

e_3DActivationPlaybackStyleInFloatingWindow 

Play content in floating window.

◆ PDF3DAppearanceSettingBorderWidth

Enumeration for appearance setting for border width for the 3D launch setting type.

Values of this enumeration should be used alone.

Enumerator
e_3DAppearanceSettingBorderWidthNone 

No border.

e_3DAppearanceSettingBorderWidthThin 

Thin.

e_3DAppearanceSettingBorderWidthMedium 

Medium.

e_3DAppearanceSettingBorderWidthThick 

Thick.

◆ PDF3DPosterImageSetting

Enumeration for poster image for the 3D launch setting type.

Values of this enumeration should be used alone.

Enumerator
e_3DPosterImageKeepCurrent 

Keep current poster.

e_3DPosterImageRetrieveFromDefaultView 

Retrieve poster from default view.

e_3DPosterImageCreateFromFile 

Create poster from file.

Constructor & Destructor Documentation

◆ PDF3DLaunchSetting() [1/2]

foxit::addon::pdf3d::PDF3DLaunchSetting::PDF3DLaunchSetting ( const PDF3DLaunchSetting launch_setting)
inline

Constructor, with another 3D launch setting object.

Parameters
[in]launch_settingAnother 3D launch setting object.

◆ PDF3DLaunchSetting() [2/2]

foxit::addon::pdf3d::PDF3DLaunchSetting::PDF3DLaunchSetting ( PDF3DActivationEnableSetting  activation_enable,
PDF3DActivationDisableSetting  activation_disable,
PDF3DActivationPlaybackStyleSetting  activation_playback,
int  window_width,
int  window_height,
PDF3DAppearanceSettingBorderWidth  border_width,
bool  is_transparent_background,
PDF3DPosterImageSetting  poster_image,
WString  poster_file_path 
)
inline

Constructor with parameter.

Parameters
[in]activation_enableThe activation enable setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DActivationEnableSettingContentClicked and this should be one of these values.
[in]activation_disableThe activation disable setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DActivationDisableSettingContextMenuSelected and this should be one of these values.
[in]activation_playbackThe activation playback setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DActivationPlaybackStyleOnPage and this should be one of these values.
[in]window_widthThe window width setting for 3D. Default value is 320.
[in]window_heightThe window height setting for 3D. Default value is 240.
[in]border_widthThe border width setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DAppearanceSettingBorderWidthNone and this should be one of these values.
[in]is_transparent_backgroundThis flag indicates whether the 3D content background is transparent.
[in]poster_imageThe poster image. Please refer to values starting from PDF3DLaunchSetting::e_3DPosterImageKeepCurrent and this should be one of these values.
[in]poster_file_pathThe file path of poster image.

Member Function Documentation

◆ operator=()

PDF3DLaunchSetting& foxit::addon::pdf3d::PDF3DLaunchSetting::operator= ( const PDF3DLaunchSetting launch_setting)
inline

Assign operator.

Parameters
[in]launch_settingAnother 3D launch setting object.
Returns
Reference to current object itself.

◆ Set()

void foxit::addon::pdf3d::PDF3DLaunchSetting::Set ( PDF3DActivationEnableSetting  activation_enable,
PDF3DActivationDisableSetting  activation_disable,
PDF3DActivationPlaybackStyleSetting  activation_playback,
int  window_width,
int  window_height,
PDF3DAppearanceSettingBorderWidth  border_width,
bool  is_transparent_background,
PDF3DPosterImageSetting  poster_image,
WString  poster_file_path 
)
inline

Set the values.

Parameters
[in]activation_enableThe activation enable setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DActivationEnableSettingContentClicked and this should be one of these values.
[in]activation_disableThe activation disable setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DActivationDisableSettingContextMenuSelected and this should be one of these values.
[in]activation_playbackThe activation playback setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DActivationPlaybackStyleOnPage and this should be one of these values.
[in]window_widthThe window width setting for 3D. Default value is 320.
[in]window_heightThe window height setting for 3D. Default value is 240.
[in]border_widthThe border width setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DAppearanceSettingBorderWidthNone and this should be one of these values.
[in]is_transparent_backgroundThis flag indicates whether the 3D content background is transparent.
[in]poster_imageThe poster image. Please refer to values starting from PDF3DLaunchSetting::e_3DPosterImageKeepCurrent and this should be one of these values.
[in]poster_file_pathThe file path of poster image.
Returns
None.