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
__implementationName
The component should also have an implementation name.static java.lang.String
__serviceName
The 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 boolean
callHandlerMethod(com.sun.star.awt.XDialog xDialog, java.lang.Object event, java.lang.String sMethod)
java.lang.String
getDialogLibraryName()
Return the name of the library containing the dialogjava.lang.String
getDialogName()
Return the name of the dialog within the libraryjava.lang.String
getRegistryPath()
Return the name of the registry pathjava.lang.String[]
getSupportedMethodNames()
protected boolean
isLocked(java.lang.String sOptionName)
protected void
loadSettings(com.sun.star.beans.XPropertySet xProps)
Load settings from the registry to the dialogprotected void
saveSettings(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
finalize, 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, getPropertyValue, getPropertyValueAsBoolean, getPropertyValueAsInteger, getPropertyValueAsShort, getPropertyValueAsString, getServiceName, getSupportedServiceNames, getTextFieldText, setCheckBoxState, setCheckBoxStateAsBoolean, setComboBoxText, setControlEnabled, setFormattedFieldText, setListBoxLineCount, setListBoxSelectedItem, setListBoxStringItemList, setNumericFieldValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, 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:OptionsDialogBase
Return the name of the library containing the dialog- Specified by:
getDialogLibraryName
in classOptionsDialogBase
-
getDialogName
public java.lang.String getDialogName()
Return the name of the dialog within the library- Specified by:
getDialogName
in classOptionsDialogBase
-
getRegistryPath
public java.lang.String getRegistryPath()
Return the name of the registry path- Specified by:
getRegistryPath
in classOptionsDialogBase
-
loadSettings
protected void loadSettings(com.sun.star.beans.XPropertySet xProps)
Load settings from the registry to the dialog- Specified by:
loadSettings
in 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:
saveSettings
in classOptionsDialogBase
-
callHandlerMethod
public boolean callHandlerMethod(com.sun.star.awt.XDialog xDialog, java.lang.Object event, java.lang.String sMethod)
- Specified by:
callHandlerMethod
in interfacecom.sun.star.awt.XDialogEventHandler
- Overrides:
callHandlerMethod
in classDialogBase
-
getSupportedMethodNames
public java.lang.String[] getSupportedMethodNames()
- Specified by:
getSupportedMethodNames
in interfacecom.sun.star.awt.XDialogEventHandler
- Overrides:
getSupportedMethodNames
in classDialogBase
-
isLocked
protected boolean isLocked(java.lang.String sOptionName)
- Overrides:
isLocked
in classOptionsDialogBase
-
-