Class EpubMetadataDialog
- java.lang.Object
-
- 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
public class EpubMetadataDialog extends DialogBase
This class provides a UNO component which implements a custom metadata editor UI for the EPUB export
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String__implementationNameThe component should also have an implementation name.static java.lang.String__serviceNameThe component will be registered under this name.-
Fields inherited from class org.openoffice.da.comp.w2lcommon.helper.DialogBase
CHECKBOX_CHECKED, CHECKBOX_DONT_KNOW, CHECKBOX_NOT_CHECKED, xContext
-
-
Constructor Summary
Constructors Constructor Description EpubMetadataDialog(com.sun.star.uno.XComponentContext xContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancallHandlerMethod(com.sun.star.awt.XDialog xDialog, java.lang.Object event, java.lang.String sMethod)protected voidendDialog()End the dialog after execution (eg. save settings to the registry) The subclass must implement thisjava.lang.StringgetDialogLibraryName()Return the name of the library containing the dialog The subclass must override this to provide the name of the libraryjava.lang.StringgetDialogName()Return the name of the dialog within the library The subclass must override this to provide the name of the dialogjava.lang.String[]getSupportedMethodNames()protected voidinitialize()Initialize the dialog (eg. with settings from the registry) The subclass must implement this-
Methods inherited from class org.openoffice.da.comp.w2lcommon.helper.DialogBase
execute, getCheckBoxState, getCheckBoxStateAsBoolean, getComboBoxText, getFormattedFieldText, getImplementationId, getImplementationName, getListBoxLineCount, getListBoxSelectedItem, getListBoxStringItemList, getNumericFieldValue, getServiceName, getSupportedServiceNames, getTextFieldText, getTypes, setCheckBoxState, setCheckBoxStateAsBoolean, setComboBoxText, setControlEnabled, setFormattedFieldText, setListBoxLineCount, setListBoxSelectedItem, setListBoxStringItemList, setNumericFieldValue, setTextFieldText, setTitle, supportsService
-
-
-
-
Method Detail
-
getDialogLibraryName
public java.lang.String 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
public java.lang.String 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
public boolean callHandlerMethod(com.sun.star.awt.XDialog xDialog, java.lang.Object event, java.lang.String sMethod)- Specified by:
callHandlerMethodin interfacecom.sun.star.awt.XDialogEventHandler- Overrides:
callHandlerMethodin classDialogBase
-
getSupportedMethodNames
public java.lang.String[] 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
-
-