Class LaTeXOptionsDialog
- java.lang.Object
-
- org.openoffice.da.comp.w2lcommon.helper.DialogBase
-
- org.openoffice.da.comp.w2lcommon.filter.OptionsDialogBase
-
- org.openoffice.da.comp.writer2latex.LaTeXOptionsDialog
-
- All Implemented Interfaces:
com.sun.star.awt.XDialogEventHandler,com.sun.star.beans.XPropertyAccess,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 LaTeXOptionsDialog extends OptionsDialogBase
This class provides a UNO component which implements a filter ui for the LaTeX 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.filter.OptionsDialogBase
xMSF
-
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 LaTeXOptionsDialog(com.sun.star.uno.XComponentContext xContext)Create a new LaTeXOptionsDialog
-
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)java.lang.StringgetDialogLibraryName()Return the name of the library containing the dialogjava.lang.StringgetDialogName()Return the name of the dialog within the libraryjava.lang.StringgetRegistryPath()Return the name of the registry pathjava.lang.String[]getSupportedMethodNames()protected booleanisLocked(java.lang.String sOptionName)protected voidloadSettings(com.sun.star.beans.XPropertySet xProps)Load settings from the registry to the dialogprotected voidsaveSettings(com.sun.star.beans.XPropertySet xProps, PropertyHelper filterData)Save settings from the dialog to the registry and create FilterData-
Methods inherited from class org.openoffice.da.comp.w2lcommon.filter.OptionsDialogBase
endDialog, getPropertyValues, getTypes, initialize, loadCheckBoxOption, loadComboBoxOption, loadConfig, loadListBoxOption, loadNumericOption, loadTextFieldOption, saveCheckBoxOption, saveCheckBoxOption, saveComboBoxOption, saveComboBoxOption, saveConfig, saveListBoxOption, saveListBoxOption, saveNumericOption, saveNumericOptionAsPercentage, saveTextFieldOption, saveTextFieldOption, setPropertyValues, updateLockedOptions
-
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, setCheckBoxState, setCheckBoxStateAsBoolean, setComboBoxText, setControlEnabled, setFormattedFieldText, setListBoxLineCount, setListBoxSelectedItem, setListBoxStringItemList, setNumericFieldValue, setTextFieldText, setTitle, supportsService
-
-
-
-
Field Detail
-
__serviceName
public static java.lang.String __serviceName
The component will be registered under this name.
-
__implementationName
public static java.lang.String __implementationName
The component should also have an implementation name. The subclass should override this with a suitable name
-
-
Method Detail
-
getDialogLibraryName
public java.lang.String getDialogLibraryName()
Description copied from class:OptionsDialogBaseReturn the name of the library containing the dialog- Specified by:
getDialogLibraryNamein classOptionsDialogBase
-
getDialogName
public java.lang.String getDialogName()
Return the name of the dialog within the library- Specified by:
getDialogNamein classOptionsDialogBase
-
getRegistryPath
public java.lang.String getRegistryPath()
Return the name of the registry path- Specified by:
getRegistryPathin classOptionsDialogBase
-
loadSettings
protected void loadSettings(com.sun.star.beans.XPropertySet xProps)
Load settings from the registry to the dialog- Specified by:
loadSettingsin classOptionsDialogBase
-
saveSettings
protected void saveSettings(com.sun.star.beans.XPropertySet xProps, PropertyHelper filterData)Save settings from the dialog to the registry and create FilterData- Specified by:
saveSettingsin classOptionsDialogBase
-
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
-
isLocked
protected boolean isLocked(java.lang.String sOptionName)
- Overrides:
isLockedin classOptionsDialogBase
-
-