Class BibTeXDialog
java.lang.Object
org.openoffice.da.comp.w2lcommon.helper.DialogAccess
org.openoffice.da.comp.w2lcommon.helper.DialogBase
org.openoffice.da.comp.writer2latex.BibTeXDialog
- All Implemented Interfaces:
com.sun.star.awt.XDialogEventHandler,com.sun.star.lang.XInitialization,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 dialog to insert a BibTeX bibliographic reference
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringThe implementation name of the componentstatic StringThe component will be registered under this service nameFields 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.XInitialization
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
ConstructorsConstructorDescriptionBibTeXDialog(com.sun.star.uno.XComponentContext xContext) Create a new BibTeXDialog -
Method Summary
Modifier and TypeMethodDescriptionbooleancallHandlerMethod(com.sun.star.awt.XDialog xDialog, Object event, String sMethod) voidEnd the dialog after execution (eg. save settings to the registry) The subclass must implement thisReturn the name of the library containing the dialogReturn the name of the dialog within the libraryprotected com.sun.star.awt.XDialogString[]voidInitialize the dialog (eg. with settings from the registry) The subclass must implement thisvoidinitialize(Object[] objects) Methods 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 service name -
__implementationName
The implementation name of the component
-
-
Constructor Details
-
BibTeXDialog
public BibTeXDialog(com.sun.star.uno.XComponentContext xContext) Create a new BibTeXDialog
-
-
Method Details
-
initialize
- Specified by:
initializein interfacecom.sun.star.lang.XInitialization- Throws:
com.sun.star.uno.Exception
-
getDialogLibraryName
Return the name of the library containing the dialog- Specified by:
getDialogLibraryNamein classDialogBase
-
getDialogName
Return the name of the dialog within the library- Specified by:
getDialogNamein classDialogBase
-
initialize
public 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
public 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
-
callHandlerMethod
- Specified by:
callHandlerMethodin interfacecom.sun.star.awt.XDialogEventHandler- Overrides:
callHandlerMethodin classDialogBase
-
getSupportedMethodNames
- Specified by:
getSupportedMethodNamesin interfacecom.sun.star.awt.XDialogEventHandler- Overrides:
getSupportedMethodNamesin classDialogBase
-
getNewDialog
protected com.sun.star.awt.XDialog getNewDialog()
-