Class EpubMetadataDialog
java.lang.Object
org.openoffice.da.comp.w2lcommon.helper.DialogAccess
org.openoffice.da.comp.w2lcommon.helper.DialogBase
org.openoffice.da.comp.writer2xhtml.EpubMetadataDialog
- All Implemented Interfaces:
com.sun.star.awt.XDialogEventHandler,com.sun.star.lang.XServiceInfo,com.sun.star.lang.XServiceName,com.sun.star.lang.XTypeProvider,com.sun.star.ui.dialogs.XExecutableDialog,com.sun.star.uno.XInterface
This class provides a UNO component which implements a custom metadata editor UI for the EPUB export
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringThe component should also have an implementation name.static StringThe component will be registered under this name.Fields inherited from class org.openoffice.da.comp.w2lcommon.helper.DialogBase
xContextFields inherited from class org.openoffice.da.comp.w2lcommon.helper.DialogAccess
CHECKBOX_CHECKED, CHECKBOX_DONT_KNOW, CHECKBOX_NOT_CHECKEDFields inherited from interface com.sun.star.awt.XDialogEventHandler
UNOTYPEINFOFields inherited from interface com.sun.star.ui.dialogs.XExecutableDialog
UNOTYPEINFOFields inherited from interface com.sun.star.lang.XServiceInfo
UNOTYPEINFOFields inherited from interface com.sun.star.lang.XServiceName
UNOTYPEINFOFields inherited from interface com.sun.star.lang.XTypeProvider
UNOTYPEINFO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancallHandlerMethod(com.sun.star.awt.XDialog xDialog, Object event, String sMethod) protected voidEnd the dialog after execution (eg. save settings to the registry) The subclass must implement thisReturn the name of the library containing the dialog The subclass must override this to provide the name of the libraryReturn the name of the dialog within the library The subclass must override this to provide the name of the dialogString[]protected voidInitialize the dialog (eg. with settings from the registry) The subclass must implement thisMethods inherited from class org.openoffice.da.comp.w2lcommon.helper.DialogBase
execute, getImplementationId, getImplementationName, getServiceName, getSupportedServiceNames, getTypes, setTitle, supportsServiceMethods inherited from class org.openoffice.da.comp.w2lcommon.helper.DialogAccess
getCheckBoxState, getCheckBoxStateAsBoolean, getComboBoxText, getControlEnabled, getControlProperties, getDateFieldValue, getDialog, getFormattedFieldText, getLabelText, getListBoxLineCount, getListBoxSelectedItem, getListBoxStringItemList, getNumericFieldValue, getTextFieldText, setCheckBoxState, setCheckBoxStateAsBoolean, setComboBoxText, setControlEnabled, setDateFieldValue, setDialog, setFormattedFieldText, setLabelText, setListBoxLineCount, setListBoxSelectedItem, setListBoxStringItemList, setNumericFieldValue, setTextFieldText
-
Field Details
-
__serviceName
The component will be registered under this name. -
__implementationName
The component should also have an implementation name.
-
-
Constructor Details
-
EpubMetadataDialog
public EpubMetadataDialog(com.sun.star.uno.XComponentContext xContext)
-
-
Method Details
-
getDialogLibraryName
Description copied from class:DialogBaseReturn the name of the library containing the dialog The subclass must override this to provide the name of the library- Specified by:
getDialogLibraryNamein classDialogBase
-
getDialogName
Description copied from class:DialogBaseReturn the name of the dialog within the library The subclass must override this to provide the name of the dialog- Specified by:
getDialogNamein classDialogBase
-
callHandlerMethod
- Specified by:
callHandlerMethodin interfacecom.sun.star.awt.XDialogEventHandler- Overrides:
callHandlerMethodin classDialogBase
-
getSupportedMethodNames
- Specified by:
getSupportedMethodNamesin interfacecom.sun.star.awt.XDialogEventHandler- Overrides:
getSupportedMethodNamesin classDialogBase
-
initialize
protected void initialize()Description copied from class:DialogBaseInitialize the dialog (eg. with settings from the registry) The subclass must implement this- Specified by:
initializein classDialogBase
-
endDialog
protected void endDialog()Description copied from class:DialogBaseEnd the dialog after execution (eg. save settings to the registry) The subclass must implement this- Specified by:
endDialogin classDialogBase
-