LibreOffice Module svtools (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ExportDialog Class Reference

#include <exportdialog.hxx>

Inheritance diagram for ExportDialog:
[legend]
Collaboration diagram for ExportDialog:
[legend]

Public Member Functions

 ExportDialog (FltCallDialogParameter &rPara, css::uno::Reference< css::uno::XComponentContext > xContext, const css::uno::Reference< css::lang::XComponent > &rxSourceDocument, bool bExportSelection, bool bIsExportVectorFormat, bool bGraphicsSource, const css::uno::Reference< css::graphic::XGraphic > &rxGraphic)
 
virtual ~ExportDialog () override
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (UpdateHdl, weld::Toggleable &, void)
 
 DECL_LINK (UpdateLock, weld::Toggleable &, void)
 
 DECL_LINK (SelectListBoxHdl, weld::ComboBox &, void)
 
 DECL_LINK (SelectHdl, weld::SpinButton &, void)
 
 DECL_LINK (UpdateHdlMtfSizeX, weld::SpinButton &, void)
 
 DECL_LINK (UpdateHdlMtfSizeY, weld::SpinButton &, void)
 
 DECL_LINK (UpdateHdlNfResolution, weld::SpinButton &, void)
 
 DECL_LINK (SbCompressionUpdateHdl, weld::Scale &, void)
 
 DECL_LINK (UpdateHdlLossless, weld::Toggleable &, void)
 
 DECL_LINK (OK, weld::Button &, void)
 
void setupSizeControls ()
 
void createFilterOptions ()
 
void setupControls ()
 
void updateControls ()
 
void GetGraphicSource ()
 
void GetGraphicStream ()
 
css::uno::Sequence< css::beans::PropertyValue > GetFilterData (bool bUpdateConfig)
 
sal_uInt32 GetRawFileSize () const
 
bool IsTempExportAvailable () const
 
css::awt::Size GetOriginalSize ()
 
sal_Int32 GetDefaultUnit () const
 

Private Attributes

FltCallDialogParametermrFltCallPara
 
const css::uno::Reference< css::uno::XComponentContext > mxContext
 
const css::uno::Reference< css::lang::XComponent > & mxSourceDocument
 
const css::uno::Reference< css::graphic::XGraphic > & mxGraphic
 
OUString msEstimatedSizePix1
 
OUString msEstimatedSizePix2
 
OUString msEstimatedSizeVec
 
OUString ms1BitThreshold
 
OUString ms8BitGrayscale
 
OUString ms8BitColorPalette
 
OUString ms24BitColor
 
std::unique_ptr< FilterConfigItemmpOptionsItem
 
std::unique_ptr< FilterConfigItemmpFilterOptionsItem
 
OUString maExt
 
sal_Int16 mnFormat
 
sal_Int32 mnMaxFilesizeForRealtimePreview
 
std::unique_ptr< SvMemoryStreammpTempStream
 
css::awt::Size maOriginalSize
 
css::awt::Size maSize
 
bool mbIsPixelFormat
 
bool mbExportSelection
 
bool mbGraphicsSource
 
sal_Int32 mnInitialResolutionUnit
 
css::awt::Size maResolution
 
css::uno::Reference< css::drawing::XShape > mxShape
 
css::uno::Reference< css::drawing::XShapes > mxShapes
 
css::uno::Reference< css::drawing::XDrawPage > mxPage
 
weld::ScalempSbCompression
 
weld::SpinButtonmpNfCompression
 
std::unique_ptr< weld::SpinButtonmxMfSizeX
 
std::unique_ptr< weld::ComboBoxmxLbSizeX
 
std::unique_ptr< weld::SpinButtonmxMfSizeY
 
std::unique_ptr< weld::LabelmxFtResolution
 
std::unique_ptr< weld::SpinButtonmxNfResolution
 
std::unique_ptr< weld::ComboBoxmxLbResolution
 
std::unique_ptr< weld::WidgetmxColorDepth
 
std::unique_ptr< weld::ComboBoxmxLbColorDepth
 
std::unique_ptr< weld::WidgetmxJPGWEBPQuality
 
std::unique_ptr< weld::WidgetmxPNGCompression
 
std::unique_ptr< weld::ScalemxSbPngCompression
 
std::unique_ptr< weld::SpinButtonmxNfPngCompression
 
std::unique_ptr< weld::ScalemxSbJpgWebpCompression
 
std::unique_ptr< weld::SpinButtonmxNfJpgWebpCompression
 
std::unique_ptr< weld::CheckButtonmxCbLossless
 
std::unique_ptr< weld::WidgetmxMode
 
std::unique_ptr< weld::CheckButtonmxCbInterlaced
 
std::unique_ptr< weld::WidgetmxBMPCompression
 
std::unique_ptr< weld::CheckButtonmxCbRLEEncoding
 
std::unique_ptr< weld::WidgetmxDrawingObjects
 
std::unique_ptr< weld::CheckButtonmxCbSaveTransparency
 
std::unique_ptr< weld::WidgetmxEncoding
 
std::unique_ptr< weld::RadioButtonmxRbBinary
 
std::unique_ptr< weld::RadioButtonmxRbText
 
std::unique_ptr< weld::WidgetmxEPSGrid
 
std::unique_ptr< weld::RadioButtonmxModifyDimension
 
std::unique_ptr< weld::RadioButtonmxModifyResolution
 
std::unique_ptr< weld::CheckButtonmxCbEPSPreviewTIFF
 
std::unique_ptr< weld::CheckButtonmxCbEPSPreviewEPSI
 
std::unique_ptr< weld::RadioButtonmxRbEPSLevel1
 
std::unique_ptr< weld::RadioButtonmxRbEPSLevel2
 
std::unique_ptr< weld::RadioButtonmxRbEPSColorFormat1
 
std::unique_ptr< weld::RadioButtonmxRbEPSColorFormat2
 
std::unique_ptr< weld::RadioButtonmxRbEPSCompressionLZW
 
std::unique_ptr< weld::RadioButtonmxRbEPSCompressionNone
 
std::unique_ptr< weld::WidgetmxInfo
 
std::unique_ptr< weld::LabelmxFtEstimatedSize
 
std::unique_ptr< weld::ButtonmxBtnOK
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 41 of file exportdialog.hxx.

Constructor & Destructor Documentation

◆ ExportDialog()

ExportDialog::ExportDialog ( FltCallDialogParameter rPara,
css::uno::Reference< css::uno::XComponentContext >  xContext,
const css::uno::Reference< css::lang::XComponent > &  rxSourceDocument,
bool  bExportSelection,
bool  bIsExportVectorFormat,
bool  bGraphicsSource,
const css::uno::Reference< css::graphic::XGraphic > &  rxGraphic 
)

◆ ~ExportDialog()

ExportDialog::~ExportDialog ( )
overridevirtual

Definition at line 997 of file exportdialog.cxx.

Member Function Documentation

◆ createFilterOptions()

void ExportDialog::createFilterOptions ( )
private

◆ DECL_LINK() [1/10]

ExportDialog::DECL_LINK ( OK  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/10]

ExportDialog::DECL_LINK ( SbCompressionUpdateHdl  ,
weld::Scale ,
void   
)
private

◆ DECL_LINK() [3/10]

ExportDialog::DECL_LINK ( SelectHdl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [4/10]

ExportDialog::DECL_LINK ( SelectListBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/10]

ExportDialog::DECL_LINK ( UpdateHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [6/10]

ExportDialog::DECL_LINK ( UpdateHdlLossless  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [7/10]

ExportDialog::DECL_LINK ( UpdateHdlMtfSizeX  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [8/10]

ExportDialog::DECL_LINK ( UpdateHdlMtfSizeY  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [9/10]

ExportDialog::DECL_LINK ( UpdateHdlNfResolution  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [10/10]

ExportDialog::DECL_LINK ( UpdateLock  ,
weld::Toggleable ,
void   
)
private

◆ GetDefaultUnit()

sal_Int32 ExportDialog::GetDefaultUnit ( ) const
private

◆ GetFilterData()

uno::Sequence< beans::PropertyValue > ExportDialog::GetFilterData ( bool  bUpdateConfig)
private

◆ GetGraphicSource()

void ExportDialog::GetGraphicSource ( )
private

◆ GetGraphicStream()

void ExportDialog::GetGraphicStream ( )
private

◆ GetOriginalSize()

awt::Size ExportDialog::GetOriginalSize ( )
private

◆ GetRawFileSize()

sal_uInt32 ExportDialog::GetRawFileSize ( ) const
private

◆ IsTempExportAvailable()

bool ExportDialog::IsTempExportAvailable ( ) const
private

◆ setupControls()

void ExportDialog::setupControls ( )
private

◆ setupSizeControls()

void ExportDialog::setupSizeControls ( )
private

◆ updateControls()

void ExportDialog::updateControls ( )
private

Member Data Documentation

◆ maExt

OUString ExportDialog::maExt
private

Definition at line 66 of file exportdialog.hxx.

Referenced by ExportDialog(), and GetGraphicStream().

◆ maOriginalSize

css::awt::Size ExportDialog::maOriginalSize
private

Definition at line 72 of file exportdialog.hxx.

Referenced by ExportDialog().

◆ maResolution

css::awt::Size ExportDialog::maResolution
private

Definition at line 82 of file exportdialog.hxx.

Referenced by ExportDialog(), GetFilterData(), and updateControls().

◆ maSize

css::awt::Size ExportDialog::maSize
private

◆ mbExportSelection

bool ExportDialog::mbExportSelection
private

Definition at line 76 of file exportdialog.hxx.

Referenced by GetGraphicSource(), GetGraphicStream(), and GetOriginalSize().

◆ mbGraphicsSource

bool ExportDialog::mbGraphicsSource
private

Definition at line 77 of file exportdialog.hxx.

Referenced by GetGraphicSource(), GetGraphicStream(), and GetOriginalSize().

◆ mbIsPixelFormat

bool ExportDialog::mbIsPixelFormat
private

◆ mnFormat

sal_Int16 ExportDialog::mnFormat
private

Definition at line 67 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and GetFilterData().

◆ mnInitialResolutionUnit

sal_Int32 ExportDialog::mnInitialResolutionUnit
private

Definition at line 79 of file exportdialog.hxx.

Referenced by ExportDialog(), GetFilterData(), and setupSizeControls().

◆ mnMaxFilesizeForRealtimePreview

sal_Int32 ExportDialog::mnMaxFilesizeForRealtimePreview
private

◆ mpFilterOptionsItem

std::unique_ptr<FilterConfigItem> ExportDialog::mpFilterOptionsItem
private

Definition at line 64 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and GetFilterData().

◆ mpNfCompression

weld::SpinButton* ExportDialog::mpNfCompression
private

Definition at line 92 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and updateControls().

◆ mpOptionsItem

std::unique_ptr<FilterConfigItem> ExportDialog::mpOptionsItem
private

Definition at line 63 of file exportdialog.hxx.

Referenced by ExportDialog(), GetFilterData(), and setupSizeControls().

◆ mpSbCompression

weld::Scale* ExportDialog::mpSbCompression
private

Definition at line 91 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), GetFilterData(), and updateControls().

◆ mpTempStream

std::unique_ptr<SvMemoryStream> ExportDialog::mpTempStream
private

Definition at line 70 of file exportdialog.hxx.

Referenced by GetGraphicStream(), and updateControls().

◆ mrFltCallPara

FltCallDialogParameter& ExportDialog::mrFltCallPara
private

Definition at line 45 of file exportdialog.hxx.

Referenced by GetDefaultUnit().

◆ ms1BitThreshold

OUString ExportDialog::ms1BitThreshold
private

Definition at line 58 of file exportdialog.hxx.

Referenced by createFilterOptions(), and GetRawFileSize().

◆ ms24BitColor

OUString ExportDialog::ms24BitColor
private

Definition at line 61 of file exportdialog.hxx.

Referenced by createFilterOptions(), and GetRawFileSize().

◆ ms8BitColorPalette

OUString ExportDialog::ms8BitColorPalette
private

Definition at line 60 of file exportdialog.hxx.

Referenced by createFilterOptions(), and GetRawFileSize().

◆ ms8BitGrayscale

OUString ExportDialog::ms8BitGrayscale
private

Definition at line 59 of file exportdialog.hxx.

Referenced by createFilterOptions(), and GetRawFileSize().

◆ msEstimatedSizePix1

OUString ExportDialog::msEstimatedSizePix1
private

Definition at line 54 of file exportdialog.hxx.

Referenced by updateControls().

◆ msEstimatedSizePix2

OUString ExportDialog::msEstimatedSizePix2
private

Definition at line 55 of file exportdialog.hxx.

Referenced by updateControls().

◆ msEstimatedSizeVec

OUString ExportDialog::msEstimatedSizeVec
private

Definition at line 56 of file exportdialog.hxx.

Referenced by updateControls().

◆ mxBMPCompression

std::unique_ptr<weld::Widget> ExportDialog::mxBMPCompression
private

Definition at line 118 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxBtnOK

std::unique_ptr<weld::Button> ExportDialog::mxBtnOK
private

Definition at line 144 of file exportdialog.hxx.

Referenced by ExportDialog().

◆ mxCbEPSPreviewEPSI

std::unique_ptr<weld::CheckButton> ExportDialog::mxCbEPSPreviewEPSI
private

Definition at line 132 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and GetFilterData().

◆ mxCbEPSPreviewTIFF

std::unique_ptr<weld::CheckButton> ExportDialog::mxCbEPSPreviewTIFF
private

Definition at line 131 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and GetFilterData().

◆ mxCbInterlaced

std::unique_ptr<weld::CheckButton> ExportDialog::mxCbInterlaced
private

Definition at line 116 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and GetFilterData().

◆ mxCbLossless

std::unique_ptr<weld::CheckButton> ExportDialog::mxCbLossless
private

Definition at line 113 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and GetFilterData().

◆ mxCbRLEEncoding

std::unique_ptr<weld::CheckButton> ExportDialog::mxCbRLEEncoding
private

Definition at line 119 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and GetFilterData().

◆ mxCbSaveTransparency

std::unique_ptr<weld::CheckButton> ExportDialog::mxCbSaveTransparency
private

Definition at line 122 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and GetFilterData().

◆ mxColorDepth

std::unique_ptr<weld::Widget> ExportDialog::mxColorDepth
private

Definition at line 101 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxContext

const css::uno::Reference< css::uno::XComponentContext > ExportDialog::mxContext
private

Definition at line 48 of file exportdialog.hxx.

Referenced by GetGraphicStream(), and GetOriginalSize().

◆ mxDrawingObjects

std::unique_ptr<weld::Widget> ExportDialog::mxDrawingObjects
private

Definition at line 121 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxEncoding

std::unique_ptr<weld::Widget> ExportDialog::mxEncoding
private

Definition at line 124 of file exportdialog.hxx.

◆ mxEPSGrid

std::unique_ptr<weld::Widget> ExportDialog::mxEPSGrid
private

Definition at line 128 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxFtEstimatedSize

std::unique_ptr<weld::Label> ExportDialog::mxFtEstimatedSize
private

Definition at line 142 of file exportdialog.hxx.

Referenced by ExportDialog(), and updateControls().

◆ mxFtResolution

std::unique_ptr<weld::Label> ExportDialog::mxFtResolution
private

Definition at line 97 of file exportdialog.hxx.

Referenced by setupSizeControls().

◆ mxGraphic

const css::uno::Reference< css::graphic::XGraphic >& ExportDialog::mxGraphic
private

Definition at line 52 of file exportdialog.hxx.

Referenced by ExportDialog(), GetGraphicSource(), and GetGraphicStream().

◆ mxInfo

std::unique_ptr<weld::Widget> ExportDialog::mxInfo
private

Definition at line 141 of file exportdialog.hxx.

Referenced by setupControls().

◆ mxJPGWEBPQuality

std::unique_ptr<weld::Widget> ExportDialog::mxJPGWEBPQuality
private

Definition at line 104 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxLbColorDepth

std::unique_ptr<weld::ComboBox> ExportDialog::mxLbColorDepth
private

Definition at line 102 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), GetFilterData(), and GetRawFileSize().

◆ mxLbResolution

std::unique_ptr<weld::ComboBox> ExportDialog::mxLbResolution
private

Definition at line 99 of file exportdialog.hxx.

Referenced by ExportDialog(), GetFilterData(), setupSizeControls(), and updateControls().

◆ mxLbSizeX

std::unique_ptr<weld::ComboBox> ExportDialog::mxLbSizeX
private

Definition at line 95 of file exportdialog.hxx.

Referenced by ExportDialog(), GetFilterData(), setupSizeControls(), and updateControls().

◆ mxMfSizeX

std::unique_ptr<weld::SpinButton> ExportDialog::mxMfSizeX
private

Definition at line 94 of file exportdialog.hxx.

Referenced by ExportDialog(), and updateControls().

◆ mxMfSizeY

std::unique_ptr<weld::SpinButton> ExportDialog::mxMfSizeY
private

Definition at line 96 of file exportdialog.hxx.

Referenced by ExportDialog(), and updateControls().

◆ mxMode

std::unique_ptr<weld::Widget> ExportDialog::mxMode
private

Definition at line 115 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxModifyDimension

std::unique_ptr<weld::RadioButton> ExportDialog::mxModifyDimension
private

Definition at line 129 of file exportdialog.hxx.

Referenced by ExportDialog().

◆ mxModifyResolution

std::unique_ptr<weld::RadioButton> ExportDialog::mxModifyResolution
private

Definition at line 130 of file exportdialog.hxx.

Referenced by ExportDialog().

◆ mxNfJpgWebpCompression

std::unique_ptr<weld::SpinButton> ExportDialog::mxNfJpgWebpCompression
private

Definition at line 111 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxNfPngCompression

std::unique_ptr<weld::SpinButton> ExportDialog::mxNfPngCompression
private

Definition at line 108 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxNfResolution

std::unique_ptr<weld::SpinButton> ExportDialog::mxNfResolution
private

Definition at line 98 of file exportdialog.hxx.

Referenced by ExportDialog(), GetFilterData(), setupSizeControls(), and updateControls().

◆ mxPage

css::uno::Reference< css::drawing::XDrawPage > ExportDialog::mxPage
private

Definition at line 89 of file exportdialog.hxx.

Referenced by GetGraphicSource(), GetGraphicStream(), and GetOriginalSize().

◆ mxPNGCompression

std::unique_ptr<weld::Widget> ExportDialog::mxPNGCompression
private

Definition at line 105 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxRbBinary

std::unique_ptr<weld::RadioButton> ExportDialog::mxRbBinary
private

Definition at line 125 of file exportdialog.hxx.

Referenced by ExportDialog().

◆ mxRbEPSColorFormat1

std::unique_ptr<weld::RadioButton> ExportDialog::mxRbEPSColorFormat1
private

Definition at line 135 of file exportdialog.hxx.

Referenced by createFilterOptions(), and updateControls().

◆ mxRbEPSColorFormat2

std::unique_ptr<weld::RadioButton> ExportDialog::mxRbEPSColorFormat2
private

Definition at line 136 of file exportdialog.hxx.

Referenced by createFilterOptions(), GetFilterData(), and updateControls().

◆ mxRbEPSCompressionLZW

std::unique_ptr<weld::RadioButton> ExportDialog::mxRbEPSCompressionLZW
private

Definition at line 137 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and updateControls().

◆ mxRbEPSCompressionNone

std::unique_ptr<weld::RadioButton> ExportDialog::mxRbEPSCompressionNone
private

Definition at line 138 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), GetFilterData(), and updateControls().

◆ mxRbEPSLevel1

std::unique_ptr<weld::RadioButton> ExportDialog::mxRbEPSLevel1
private

Definition at line 133 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and updateControls().

◆ mxRbEPSLevel2

std::unique_ptr<weld::RadioButton> ExportDialog::mxRbEPSLevel2
private

Definition at line 134 of file exportdialog.hxx.

Referenced by createFilterOptions(), ExportDialog(), and GetFilterData().

◆ mxRbText

std::unique_ptr<weld::RadioButton> ExportDialog::mxRbText
private

Definition at line 126 of file exportdialog.hxx.

Referenced by ExportDialog().

◆ mxSbJpgWebpCompression

std::unique_ptr<weld::Scale> ExportDialog::mxSbJpgWebpCompression
private

Definition at line 110 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxSbPngCompression

std::unique_ptr<weld::Scale> ExportDialog::mxSbPngCompression
private

Definition at line 107 of file exportdialog.hxx.

Referenced by createFilterOptions().

◆ mxShape

css::uno::Reference< css::drawing::XShape > ExportDialog::mxShape
private

Definition at line 85 of file exportdialog.hxx.

Referenced by GetGraphicSource(), GetGraphicStream(), and GetOriginalSize().

◆ mxShapes

css::uno::Reference< css::drawing::XShapes > ExportDialog::mxShapes
private

Definition at line 87 of file exportdialog.hxx.

Referenced by GetGraphicSource(), GetGraphicStream(), and GetOriginalSize().

◆ mxSourceDocument

const css::uno::Reference< css::lang::XComponent >& ExportDialog::mxSourceDocument
private

Definition at line 50 of file exportdialog.hxx.

Referenced by GetGraphicSource(), GetGraphicStream(), and GetOriginalSize().


The documentation for this class was generated from the following files: