org.openoffice.da.comp.writer2xhtml
Class XhtmlOptionsDialogCalc

java.lang.Object
  extended by org.openoffice.da.comp.w2lcommon.helper.DialogBase
      extended by org.openoffice.da.comp.w2lcommon.filter.OptionsDialogBase
          extended by org.openoffice.da.comp.writer2xhtml.XhtmlOptionsDialogCalc
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 XhtmlOptionsDialogCalc
extends OptionsDialogBase

This class provides a uno component which implements a filter ui for the Xhtml export in Calc


Field Summary
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
 
Fields inherited from interface com.sun.star.beans.XPropertyAccess
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.lang.XTypeProvider
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.lang.XServiceInfo
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.lang.XServiceName
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.ui.dialogs.XExecutableDialog
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.awt.XDialogEventHandler
UNOTYPEINFO
 
Constructor Summary
XhtmlOptionsDialogCalc(com.sun.star.uno.XComponentContext xContext)
          Create a new XhtmlOptionsDialogCalc
 
Method Summary
 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 dialog
 java.lang.String getDialogName()
          Return the name of the dialog within the library
 java.lang.String getRegistryPath()
          Return the name of the registry path
 java.lang.String[] getSupportedMethodNames()
           
protected  void loadSettings(com.sun.star.beans.XPropertySet xProps)
          Load settings from the registry to the dialog
protected  void saveSettings(com.sun.star.beans.XPropertySet xProps, PropertyHelper helper)
          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, isLocked, 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
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Constructor Detail

XhtmlOptionsDialogCalc

public XhtmlOptionsDialogCalc(com.sun.star.uno.XComponentContext xContext)
Create a new XhtmlOptionsDialogCalc

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 class OptionsDialogBase

getDialogName

public java.lang.String getDialogName()
Return the name of the dialog within the library

Specified by:
getDialogName in class OptionsDialogBase

getRegistryPath

public java.lang.String getRegistryPath()
Return the name of the registry path

Specified by:
getRegistryPath in class OptionsDialogBase

loadSettings

protected void loadSettings(com.sun.star.beans.XPropertySet xProps)
Load settings from the registry to the dialog

Specified by:
loadSettings in class OptionsDialogBase

saveSettings

protected void saveSettings(com.sun.star.beans.XPropertySet xProps,
                            PropertyHelper helper)
Save settings from the dialog to the registry and create FilterData

Specified by:
saveSettings in class OptionsDialogBase

callHandlerMethod

public boolean callHandlerMethod(com.sun.star.awt.XDialog xDialog,
                                 java.lang.Object event,
                                 java.lang.String sMethod)
Specified by:
callHandlerMethod in interface com.sun.star.awt.XDialogEventHandler
Overrides:
callHandlerMethod in class DialogBase

getSupportedMethodNames

public java.lang.String[] getSupportedMethodNames()
Specified by:
getSupportedMethodNames in interface com.sun.star.awt.XDialogEventHandler
Overrides:
getSupportedMethodNames in class DialogBase