summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/common
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-09-24 12:59:08 +0200
committerXisco Fauli <anistenis@gmail.com>2011-09-24 12:59:08 +0200
commit0f7d6910567f1df22f1706623043554989216a7c (patch)
treedd743bac473b0e8822bb2c3f4038b922c863a778 /wizards/com/sun/star/wizards/common
parentcf16ef6c250a2755155a02f24bad861b35a1f92b (diff)
Remote the python code for now.
The reason I delete it is because this code is not used yet. I still keep working in the feature branch, so when i'll finish there i'll merge it into master. It doesn't make sense to have it in master for now
Diffstat (limited to 'wizards/com/sun/star/wizards/common')
-rw-r--r--wizards/com/sun/star/wizards/common/ConfigGroup.py35
-rw-r--r--wizards/com/sun/star/wizards/common/ConfigNode.py13
-rw-r--r--wizards/com/sun/star/wizards/common/ConfigSet.py184
-rw-r--r--wizards/com/sun/star/wizards/common/Configuration.py214
-rw-r--r--wizards/com/sun/star/wizards/common/DebugHelper.py10
-rw-r--r--wizards/com/sun/star/wizards/common/Desktop.py228
-rw-r--r--wizards/com/sun/star/wizards/common/FileAccess.py675
-rw-r--r--wizards/com/sun/star/wizards/common/HelpIds.py1012
-rw-r--r--wizards/com/sun/star/wizards/common/Helper.py159
-rw-r--r--wizards/com/sun/star/wizards/common/NoValidPathException.py10
-rw-r--r--wizards/com/sun/star/wizards/common/NumberFormatter.py231
-rw-r--r--wizards/com/sun/star/wizards/common/Properties.py43
-rw-r--r--wizards/com/sun/star/wizards/common/PropertyNames.py15
-rw-r--r--wizards/com/sun/star/wizards/common/PropertySetHelper.py250
-rw-r--r--wizards/com/sun/star/wizards/common/Resource.py69
-rw-r--r--wizards/com/sun/star/wizards/common/SystemDialog.py231
-rw-r--r--wizards/com/sun/star/wizards/common/__init__.py1
-rw-r--r--wizards/com/sun/star/wizards/common/prova.py7
18 files changed, 0 insertions, 3387 deletions
diff --git a/wizards/com/sun/star/wizards/common/ConfigGroup.py b/wizards/com/sun/star/wizards/common/ConfigGroup.py
deleted file mode 100644
index 2e0fd9434699..000000000000
--- a/wizards/com/sun/star/wizards/common/ConfigGroup.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from ConfigNode import *
-from Configuration import Configuration
-import traceback
-import inspect
-
-class ConfigGroup(ConfigNode):
-
- def writeConfiguration(self, configurationView, param):
- for name,data in inspect.getmembers(self):
- if name.startswith(param):
- self.writeField( name, configurationView, param)
-
- def writeField(self, field, configView, prefix):
- propertyName = field[len(prefix):]
- child = getattr(self, field)
- if isinstance(child, ConfigNode):
- child.writeConfiguration(configView.getByName(propertyName),
- prefix)
- else:
- setattr(configView,propertyName,getattr(self,field))
-
- def readConfiguration(self, configurationView, param):
- for name,data in inspect.getmembers(self):
- if name.startswith(param):
- self.readField( name, configurationView, param)
-
- def readField(self, field, configView, prefix):
- propertyName = field[len(prefix):]
- child = getattr(self, field)
- if isinstance(child, ConfigNode):
- child.root = self.root
- child.readConfiguration(configView.getByName(propertyName),
- prefix)
- else:
- setattr(self,field,configView.getByName(propertyName))
diff --git a/wizards/com/sun/star/wizards/common/ConfigNode.py b/wizards/com/sun/star/wizards/common/ConfigNode.py
deleted file mode 100644
index 892e6e3277c7..000000000000
--- a/wizards/com/sun/star/wizards/common/ConfigNode.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from abc import ABCMeta, abstractmethod
-
-class ConfigNode(object):
-
- root = None
-
- @abstractmethod
- def readConfiguration(self, configurationView, param):
- pass
-
- @abstractmethod
- def writeConfiguration(self, configurationView, param):
- pass
diff --git a/wizards/com/sun/star/wizards/common/ConfigSet.py b/wizards/com/sun/star/wizards/common/ConfigSet.py
deleted file mode 100644
index 26b051adf2ef..000000000000
--- a/wizards/com/sun/star/wizards/common/ConfigSet.py
+++ /dev/null
@@ -1,184 +0,0 @@
-import traceback
-from ConfigNode import *
-from Configuration import Configuration
-
-class ConfigSet(ConfigNode):
- '''
- After reading the configuration set items,
- the ConfigSet checks this field.
- If it is true, it will remove any nulls from
- the vector.
- subclasses can change this field in the constructor
- to avoid this "deletion" of nulls.
- '''
-
- def __init__(self, childType):
- self.childClass = childType
- self.childrenMap = {}
- self.childrenList = []
- self.noNulls = False
-
- def add(self, name, o):
- self.childrenMap[name] = o
- if isinstance(name, int):
- i = name
- self.childrenList.insert(i, o)
- else:
- try:
- i = o.cp_Index
- oldSize = self.getSize()
- if oldSize <= i:
- newSize = i - oldSize
- self.childrenList += [None] * newSize
- self.noNulls = True
- else:
- self.noNulls = False
- self.childrenList.insert(i, o);
- if oldSize > i:
- oldSize = i
- except Exception:
- self.childrenList.append(o)
-
- def writeConfiguration(self, configView, param):
- names = self.childrenMap.keys()
- if isinstance(self.childClass, ConfigNode):
- #first I remove all the children from the configuration.
- children = configView.ElementNames
- if children:
- for i in children:
- try:
- Configuration.removeNode(configView, i)
- except Exception:
- traceback.print_exc()
-
- # and add them new.
- for i in names:
- try:
- child = self.getElement(i)
- childView = configView.getByName(i)
- child.writeConfiguration(childView, param)
- except Exception:
- traceback.print_exc()
- else:
- raise AttributeError (
- "Unable to write primitive sets to configuration (not implemented)")
-
- def readConfiguration(self, configurationView, param):
- names = configurationView.ElementNames
- if isinstance(self.childClass, ConfigNode):
- if names:
- for i in names:
- try:
- child = type(self.childClass)()
- child.root = self.root
- child.readConfiguration(
- configurationView.getByName(i), param)
- self.add(i, child)
- except Exception, ex:
- traceback.print_exc()
- #remove any nulls from the list
- if self.noNulls:
- i = 0
- while i < len(self.childrenList):
- if self.childrenList[i] is None:
- del self.childrenList[i]
- i -= 1
- i += 1
-
- else:
- for i in names:
- try:
- child = configurationView.getByName(i)
- self.add(i, child)
- except Exception, ex:
- traceback.print_exc()
-
- def remove(self, obj):
- key = getKey(obj)
- self.childrenMap.remove(key)
- i = self.childrenList.indexOf(obj)
- self.childrenList.remove(obj)
- fireListDataListenerIntervalRemoved(i, i)
-
- def remove(self, i):
- o = getElementAt(i)
- remove(o)
-
- def clear(self):
- self.childrenMap.clear()
- del self.childrenList[:]
-
- def createDOM(self, parent):
- items = items()
- i = 0
- while i < items.length:
- item = items[i]
- if item.instanceof.XMLProvider:
- item.createDOM(parent)
-
- i += 1
- return parent
-
- def getKey(self, _object):
- for k,v in self.childrenMap.items():
- if v == _object:
- return k
-
- return None
-
- def getElementAt(self, i):
- return self.childrenList[i]
-
- def getElement(self, o):
- return self.childrenMap[o]
-
- def getSize(self):
- return len(self.childrenList)
-
- def getIndexOf(self, item):
- return self.childrenList.index(item)
-
- '''
- Set members might include a property
- which orders them.
- This method reindexes the given member to be
- the index number 0
- Do not forget to call commit() after calling this method.
- @param confView
- @param memebrName
- '''
-
- def reindexSet(self, confView, memberName, indexPropertyName):
- '''
- First I read all memebrs of the set,
- except the one that should be number 0
- to a vector, ordered by there index property
- '''
- names = Configuration.getChildrenNames(confView)
- v = Vector.Vector_unknown(names.length)
- member = None
- index = 0
- i = 0
- while i < names.length:
- if not names[i].equals(memberName):
- member = Configuration.getConfigurationNode(names[i], confView)
- index = Configuration.getInt(indexPropertyName, member)
- while index >= v.size():
- v.add(None)
- v.setElementAt(member, index)
- '''
- Now I reindex them
- '''
-
- i += 1
- index = 1
- i = 0
- while i < v.size():
- member = v.get(i)
- if member != None:
- Configuration.set((index + 1), indexPropertyName, member)
-
- i += 1
-
- def sort(self, comparator):
- self.childrenList.sort(comparator)
diff --git a/wizards/com/sun/star/wizards/common/Configuration.py b/wizards/com/sun/star/wizards/common/Configuration.py
deleted file mode 100644
index 9f768e9bfb8d..000000000000
--- a/wizards/com/sun/star/wizards/common/Configuration.py
+++ /dev/null
@@ -1,214 +0,0 @@
-from PropertyNames import PropertyNames
-from Helper import *
-import traceback
-import uno
-'''
-This class gives access to the OO configuration api.
-It contains 4 get and 4 set convenience methods for getting and settings
-properties in the configuration. <br/>
-For the get methods, two parameters must be given: name and parent, where
-name is the name of the property, parent is a HierarchyElement
-(::com::sun::star::configuration::HierarchyElement)<br/>
-The get and set methods support hieryrchical property names like
-"options/gridX". <br/>
-NOTE: not yet supported, but sometime later,
-If you will ommit the "parent" parameter, then the "name" parameter must be
-in hierarchy form from the root of the registry.
-'''
-
-class Configuration(object):
-
- @classmethod
- def getConfigurationRoot(self, xmsf, sPath, updateable):
- oConfigProvider = xmsf.createInstance(
- "com.sun.star.configuration.ConfigurationProvider")
- args = []
-
- aPathArgument = uno.createUnoStruct(
- 'com.sun.star.beans.PropertyValue')
- aPathArgument.Name = "nodepath"
- aPathArgument.Value = sPath
-
- args.append(aPathArgument)
- if updateable:
- sView = "com.sun.star.configuration.ConfigurationUpdateAccess"
- aModeArgument = uno.createUnoStruct(
- 'com.sun.star.beans.PropertyValue')
- aModeArgument.Name = "lazywrite"
- aModeArgument.Value = False
- args.append(aModeArgument)
- else:
- sView = "com.sun.star.configuration.ConfigurationAccess"
-
- return oConfigProvider.createInstanceWithArguments(sView, tuple(args))
-
- @classmethod
- def getProductName(self, xMSF):
- try:
- oProdNameAccess = self.getConfigurationRoot(xMSF,
- "org.openoffice.Setup/Product", False)
- ProductName = Helper.getUnoObjectbyName(oProdNameAccess, "ooName")
- return ProductName
- except Exception:
- traceback.print_exc()
- return None
-
- @classmethod
- def getOfficeLocaleString(self, xMSF):
- sLocale = ""
- try:
- aLocLocale = Locale.Locale()
- oMasterKey = self.getConfigurationRoot(xMSF,
- "org.openoffice.Setup/L10N/", False)
- sLocale = (String)
- Helper.getUnoObjectbyName(oMasterKey, "ooLocale")
- except Exception, exception:
- traceback.print_exc()
-
- return sLocale
-
- @classmethod
- def getOfficeLocale(self, xMSF):
- aLocLocale = Locale.Locale()
- sLocale = getOfficeLocaleString(xMSF)
- sLocaleList = JavaTools.ArrayoutofString(sLocale, "-")
- aLocLocale.Language = sLocaleList[0]
- if sLocaleList.length > 1:
- aLocLocale.Country = sLocaleList[1]
-
- return aLocLocale
-
- @classmethod
- def getOfficeLinguistic(self, xMSF):
- try:
- oMasterKey = self.getConfigurationRoot(xMSF,
- "org.openoffice.Setup/L10N/", False)
- sLinguistic = Helper.getUnoObjectbyName(oMasterKey, "ooLocale")
- return sLinguistic
- except Exception, exception:
- traceback.print_exc()
- return None
-
- @classmethod
- def removeNode(self, configView, name, xmsf=None):
- commitChanges = False
- if xmsf is not None:
- configView = self.getConfigurationRoot(xmsf, path, True)
- commit = True
-
- if configView.hasByName(name):
- configView.removeByName(name)
-
- if commitChanges:
- configView.commitChanges()
-
- @classmethod
- def updateConfiguration(self, xmsf, path, name, node, param):
- view = self.getConfigurationRoot(xmsf, path, True)
- addConfigNode(path, name)
- node.writeConfiguration(view, param)
- view.commitChanges()
-
- @classmethod
- def getNodeDisplayNames(self, _xNameAccessNode):
- snames = None
- return getNodeChildNames(_xNameAccessNode,
- PropertyNames.PROPERTY_NAME)
-
- @classmethod
- def getNodeChildNames(self, xNameAccessNode, _schildname):
- snames = None
- try:
- snames = xNameAccessNode.getElementNames()
- sdisplaynames = range(snames.length)
- i = 0
- while i < snames.length:
- oContent = Helper.getUnoPropertyValue(
- xNameAccessNode.getByName(snames[i]), _schildname)
- if not AnyConverter.isVoid(oContent):
- sdisplaynames[i] = (String)
- Helper.getUnoPropertyValue(xNameAccessNode.getByName(
- snames[i]), _schildname)
- else:
- sdisplaynames[i] = snames[i]
-
- i += 1
- return sdisplaynames
- except Exception, e:
- traceback.print_exc()
- return snames
-
- @classmethod
- def getChildNodebyIndex(self, _xNameAccess, _index):
- try:
- snames = _xNameAccess.getElementNames()
- oNode = _xNameAccess.getByName(snames[_index])
- return oNode
- except Exception, e:
- traceback.print_exc()
- return None
-
- @classmethod
- def getChildNodebyName(self, _xNameAccessNode, _SubNodeName):
- try:
- if _xNameAccessNode.hasByName(_SubNodeName):
- return _xNameAccessNode.getByName(_SubNodeName)
-
- except Exception, e:
- traceback.print_exc()
-
- return None
-
- @classmethod
- def getChildNodebyDisplayName(self, _xNameAccessNode, _displayname):
- snames = None
- return getChildNodebyDisplayName(_xNameAccessNode, _displayname,
- PropertyNames.PROPERTY_NAME)
-
- @classmethod
- def getChildNodebyDisplayName(self, _xNameAccessNode, _displayname,
- _nodename):
-
- snames = None
- try:
- snames = _xNameAccessNode.getElementNames()
- sdisplaynames = range(snames.length)
- i = 0
- while i < snames.length:
- curdisplayname = Helper.getUnoPropertyValue(
- _xNameAccessNode.getByName(snames[i]), _nodename)
- if curdisplayname.equals(_displayname):
- return _xNameAccessNode.getByName(snames[i])
-
- i += 1
- except Exception, e:
- traceback.print_exc()
-
- return None
-
- @classmethod
- def getChildNodebyDisplayName(self, _xMSF, _aLocale, _xNameAccessNode,
- _displayname, _nodename, _nmaxcharcount):
-
- snames = None
- try:
- snames = _xNameAccessNode.getElementNames()
- sdisplaynames = range(snames.length)
- i = 0
- while i < snames.length:
- curdisplayname = Helper.getUnoPropertyValue(
- _xNameAccessNode.getByName(snames[i]), _nodename)
- if (_nmaxcharcount > 0) and (_nmaxcharcount < \
- curdisplayname.length()):
- curdisplayname = curdisplayname.substring(0,
- _nmaxcharcount)
-
- curdisplayname = Desktop.removeSpecialCharacters(_xMSF,
- _aLocale, curdisplayname)
- if curdisplayname.equals(_displayname):
- return _xNameAccessNode.getByName(snames[i])
-
- i += 1
- except Exception, e:
- traceback.print_exc()
- return None
diff --git a/wizards/com/sun/star/wizards/common/DebugHelper.py b/wizards/com/sun/star/wizards/common/DebugHelper.py
deleted file mode 100644
index 75016033a533..000000000000
--- a/wizards/com/sun/star/wizards/common/DebugHelper.py
+++ /dev/null
@@ -1,10 +0,0 @@
-class DebugHelper(object):
-
- @classmethod
- def exception(self, ex):
- raise NotImplementedError
-
- @classmethod
- def writeInfo(self, msg):
- raise NotImplementedError
-
diff --git a/wizards/com/sun/star/wizards/common/Desktop.py b/wizards/com/sun/star/wizards/common/Desktop.py
deleted file mode 100644
index 757767a93459..000000000000
--- a/wizards/com/sun/star/wizards/common/Desktop.py
+++ /dev/null
@@ -1,228 +0,0 @@
-import uno
-import traceback
-from com.sun.star.frame.FrameSearchFlag import ALL, PARENT
-from com.sun.star.util import URL
-from com.sun.star.i18n.KParseTokens import ANY_LETTER_OR_NUMBER, ASC_UNDERSCORE
-from NoValidPathException import *
-
-class Desktop(object):
-
- @classmethod
- def getDesktop(self, xMSF):
- xDesktop = None
- if xMSF is not None:
- try:
- xDesktop = xMSF.createInstance( "com.sun.star.frame.Desktop")
- except Exception, exception:
- traceback.print_exc()
- else:
- print "Can't create a desktop. null pointer !"
-
- return xDesktop
-
- @classmethod
- def getActiveFrame(self, xMSF):
- xDesktop = self.getDesktop(xMSF)
- return xDesktop.getActiveFrame()
-
- @classmethod
- def getActiveComponent(self, _xMSF):
- xFrame = self.getActiveFrame(_xMSF)
- return xFrame.getController().getModel()
-
- @classmethod
- def getActiveTextDocument(self, _xMSF):
- xComponent = getActiveComponent(_xMSF)
- return xComponent #Text
-
- @classmethod
- def getActiveSpreadsheetDocument(self, _xMSF):
- xComponent = getActiveComponent(_xMSF)
- return xComponent
-
- @classmethod
- def getDispatcher(self, xMSF, xFrame, _stargetframe, oURL):
- try:
- oURLArray = range(1)
- oURLArray[0] = oURL
- xDispatch = xFrame.queryDispatch(oURLArray[0], _stargetframe, ALL)
- return xDispatch
- except Exception, e:
- e.printStackTrace(System.out)
-
- return None
-
- @classmethod
- def connect(self, connectStr):
- localContext = uno.getComponentContext()
- resolver = localContext.ServiceManager.createInstanceWithContext(
- "com.sun.star.bridge.UnoUrlResolver", localContext)
- ctx = resolver.resolve( connectStr )
- orb = ctx.ServiceManager
- return orb
-
- @classmethod
- def getIncrementSuffix(self, xElementContainer, sElementName):
- bElementexists = True
- i = 1
- sIncSuffix = ""
- BaseName = sElementName
- while bElementexists:
- try:
- bElementexists = xElementContainer.hasByName(sElementName)
- except:
- bElementexists = xElementContainer.hasByHierarchicalName(
- sElementName)
- if bElementexists:
- i += 1
- sElementName = BaseName + str(i)
-
- if i > 1:
- sIncSuffix = str(i)
-
- return sIncSuffix
-
- @classmethod
- def checkforfirstSpecialCharacter(self, _xMSF, _sString, _aLocale):
- try:
- nStartFlags = ANY_LETTER_OR_NUMBER + ASC_UNDERSCORE
- ocharservice = _xMSF.createInstance(
- "com.sun.star.i18n.CharacterClassification")
- aResult = ocharservice.parsePredefinedToken(KParseType.IDENTNAME,
- _sString, 0, _aLocale, nStartFlags, "", nStartFlags, " ")
- return aResult.EndPos
- except Exception, e:
- e.printStackTrace(System.out)
- return -1
-
- @classmethod
- def removeSpecialCharacters(self, _xMSF, _aLocale, _sname):
- snewname = _sname
- i = 0
- while i < snewname.length():
- i = Desktop.checkforfirstSpecialCharacter(_xMSF, snewname,
- _aLocale)
- if i < snewname.length():
- sspecialchar = snewname.substring(i, i + 1)
- snewname = JavaTools.replaceSubString(snewname, "",
- sspecialchar)
-
- return snewname
-
- '''
- Checks if the passed Element Name already exists in the ElementContainer.
- If yes it appends a suffix to make it unique
- @param xElementContainer
- @param sElementName
- @return a unique Name ready to be added to the container.
- '''
-
- @classmethod
- def getUniqueName(self, xElementContainer, sElementName):
- sIncSuffix = self.getIncrementSuffix(xElementContainer, sElementName)
- return sElementName + sIncSuffix
-
-class OfficePathRetriever:
-
- def OfficePathRetriever(self, xMSF):
- try:
- TemplatePath = FileAccess.getOfficePath(xMSF,
- "Template", "share", "/wizard")
- UserTemplatePath = FileAccess.getOfficePath(xMSF,
- "Template", "user", "")
- BitmapPath = FileAccess.combinePaths(xMSF, TemplatePath,
- "/../wizard/bitmap")
- WorkPath = FileAccess.getOfficePath(xMSF,
- "Work", "", "")
- except NoValidPathException, nopathexception:
- pass
-
- @classmethod
- def getTemplatePath(self, _xMSF):
- sTemplatePath = ""
- try:
- sTemplatePath = FileAccess.getOfficePath(_xMSF,
- "Template", "share", "/wizard")
- except NoValidPathException, nopathexception:
- pass
- return sTemplatePath
-
- @classmethod
- def getUserTemplatePath(self, _xMSF):
- sUserTemplatePath = ""
- try:
- sUserTemplatePath = FileAccess.getOfficePath(_xMSF,
- "Template", "user", "")
- except NoValidPathException, nopathexception:
- pass
- return sUserTemplatePath
-
- @classmethod
- def getBitmapPath(self, _xMSF):
- sBitmapPath = ""
- try:
- sBitmapPath = FileAccess.combinePaths(_xMSF,
- getTemplatePath(_xMSF), "/../wizard/bitmap")
- except NoValidPathException, nopathexception:
- pass
-
- return sBitmapPath
-
- @classmethod
- def getWorkPath(self, _xMSF):
- sWorkPath = ""
- try:
- sWorkPath = FileAccess.getOfficePath(_xMSF, "Work", "", "")
-
- except NoValidPathException, nopathexception:
- pass
-
- return sWorkPath
-
- @classmethod
- def createStringSubstitution(self, xMSF):
- xPathSubst = None
- try:
- xPathSubst = xMSF.createInstance(
- "com.sun.star.util.PathSubstitution")
- except com.sun.star.uno.Exception, e:
- e.printStackTrace()
-
- if xPathSubst != None:
- return xPathSubst
- else:
- return None
-
- '''This method searches (and hopefully finds...) a frame
- with a componentWindow.
- It does it in three phases:
- 1. Check if the given desktop argument has a componentWindow.
- If it is null, the myFrame argument is taken.
- 2. Go up the tree of frames and search a frame with a component window.
- 3. Get from the desktop all the components, and give the first one
- which has a frame.
- @param xMSF
- @param myFrame
- @param desktop
- @return
- @throws NoSuchElementException
- @throws WrappedTargetException
- '''
-
- @classmethod
- def findAFrame(self, xMSF, myFrame, desktop):
- if desktop == None:
- desktop = myFrame
- #we go up in the tree...
-
- while desktop != None and desktop.getComponentWindow() == None:
- desktop = desktop.findFrame("_parent", FrameSearchFlag.PARENT)
- if desktop == None:
- e = Desktop.getDesktop(xMSF).getComponents().createEnumeration()
- while e.hasMoreElements():
- xModel = (e.nextElement()).getObject()
- xFrame = xModel.getCurrentController().getFrame()
- if xFrame != None and xFrame.getComponentWindow() != None:
- return xFrame
-
- return desktop
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.py b/wizards/com/sun/star/wizards/common/FileAccess.py
deleted file mode 100644
index 64c78cac93f0..000000000000
--- a/wizards/com/sun/star/wizards/common/FileAccess.py
+++ /dev/null
@@ -1,675 +0,0 @@
-import traceback
-from NoValidPathException import *
-from com.sun.star.ucb import CommandAbortedException
-from com.sun.star.awt.VclWindowPeerAttribute import OK, YES_NO
-import types
-from os import path as osPath
-
-'''
-This class delivers static convenience methods
-to use with ucb SimpleFileAccess service.
-You can also instanciate the class, to encapsulate
-some functionality of SimpleFileAccess. The instance
-keeps a reference to an XSimpleFileAccess and an
-XFileIdentifierConverter, saves the permanent
-overhead of quering for those interfaces, and delivers
-conveneince methods for using them.
-These Convenince methods include mainly Exception-handling.
-'''
-
-class FileAccess(object):
- '''
- @param xMSF
- @param sPath
- @param sAddPath
- '''
-
- @classmethod
- def addOfficePath(self, xMSF, sPath, sAddPath):
- xSimpleFileAccess = None
- ResultPath = getOfficePath(xMSF, sPath, xSimpleFileAccess)
- '''
- As there are several conventions about the look of Url
- (e.g. with " " or with "%20") you cannot make a
- simple String comparison to find out, if a path
- is already in "ResultPath
- '''
- PathList = JavaTools.ArrayoutofString(ResultPath, ";")
- MaxIndex = PathList.length - 1
- CompAddPath = JavaTools.replaceSubString(sAddPath, "", "/")
- i = 0
- while i <= MaxIndex:
- CurPath = JavaTools.convertfromURLNotation(PathList[i])
- CompCurPath = JavaTools.replaceSubString(CurPath, "", "/")
- if CompCurPath.equals(CompAddPath):
- return
-
- i += 1
- ResultPath += ";" + sAddPath
- return
-
- @classmethod
- def deleteLastSlashfromUrl(self, _sPath):
- if _sPath.endswith("/"):
- return _sPath[:-1]
- else:
- return _sPath
-
- '''
- Further information on arguments value see in OO Developer Guide,
- chapter 6.2.7
- @param xMSF
- @param sPath
- @param xSimpleFileAccess
- @return the respective path of the office application.
- A probable following "/" at the end is trimmed.
- '''
-
- @classmethod
- def getOfficePath(self, xMSF, sPath, xSimpleFileAccess):
- try:
- ResultPath = ""
- xInterface = xMSF.createInstance("com.sun.star.util.PathSettings")
- ResultPath = str(Helper.getUnoPropertyValue(xInterface, sPath))
- ResultPath = self.deleteLastSlashfromUrl(ResultPath)
- return ResultPath
- except Exception, exception:
- traceback.print_exc()
- return ""
-
- '''
- Further information on arguments value see in OO Developer Guide,
- chapter 6.2.7
- @param xMSF
- @param sPath
- @param sType use "share" or "user". Set to ""
- f not needed eg for the WorkPath;
- In the return Officepath a possible slash at the end is cut off
- @param sSearchDir
- @return
- @throws NoValidPathException
- '''
-
- @classmethod
- def getOfficePath2(self, xMSF, sPath, sType, sSearchDir):
- #This method currently only works with sPath="Template"
- bexists = False
- try:
- xPathInterface = xMSF.createInstance(
- "com.sun.star.util.PathSettings")
- ResultPath = ""
- ReadPaths = ()
- xUcbInterface = xMSF.createInstance(
- "com.sun.star.ucb.SimpleFileAccess")
- Template_writable = xPathInterface.getPropertyValue(
- sPath + "_writable")
- Template_internal = xPathInterface.getPropertyValue(
- sPath + "_internal")
- Template_user = xPathInterface.getPropertyValue(
- sPath + "_user")
- if type(Template_internal) is not types.InstanceType:
- ReadPaths = ReadPaths + Template_internal
- if type(Template_user) is not types.InstanceType:
- ReadPaths = ReadPaths + Template_user
- ReadPaths = ReadPaths + (Template_writable,)
- if sType.lower() == "user":
- ResultPath = Template_writable
- bexists = True
- else:
- #find right path using the search sub path
- for i in ReadPaths:
- tmpPath = i + sSearchDir
- if xUcbInterface.exists(tmpPath):
- ResultPath = i
- bexists = True
- break
-
- ResultPath = self.deleteLastSlashfromUrl(ResultPath)
- except Exception, exception:
- traceback.print_exc()
- ResultPath = ""
-
- if not bexists:
- raise NoValidPathException (xMSF, "");
-
- return ResultPath
-
- @classmethod
- def getOfficePaths(self, xMSF, _sPath, sType, sSearchDir):
- #This method currently only works with sPath="Template"
- aPathList = []
- Template_writable = ""
- try:
- xPathInterface = xMSF.createInstance(
- "com.sun.star.util.PathSettings")
- Template_writable = xPathInterface.getPropertyValue(
- _sPath + "_writable")
- Template_internal = xPathInterface.getPropertyValue(
- _sPath + "_internal")
- Template_user = xPathInterface.getPropertyValue(_sPath + "_user")
- i = 0
- for i in Template_internal:
- if i.startsWith("vnd."):
- # if there exists a language in the directory,
- # we try to add the right language
- sPathToExpand = sPath.substring(len("vnd.sun.star.Expand:"))
- xExpander = Helper.getMacroExpander(xMSF)
- sPath = xExpander.expandMacros(sPathToExpand)
-
- sPath = checkIfLanguagePathExists(xMSF, sPath)
- aPathList.add(sPath)
- i += 1
- i = 0
- while i < Template_user.length:
- aPathList.add(Template_user[i])
- i += 1
- aPathList.add(Template_writable)
-
- except Exception, exception:
- traceback.print_exc()
- return aPathList
-
- @classmethod
- def checkIfLanguagePathExists(self, _xMSF, _sPath):
- try:
- defaults = _xMSF.createInstance("com.sun.star.text.Defaults")
- aLocale = Helper.getUnoStructValue(defaults, "CharLocale")
- if aLocale == None:
- java.util.Locale.getDefault()
- aLocale = com.sun.star.lang.Locale.Locale()
- aLocale.Country = java.util.Locale.getDefault().getCountry()
- aLocale.Language = java.util.Locale.getDefault().getLanguage()
- aLocale.Variant = java.util.Locale.getDefault().getVariant()
-
- sLanguage = aLocale.Language
- sCountry = aLocale.Country
- sVariant = aLocale.Variant
- # de-DE-Bayrisch
- aLocaleAll = StringBuffer.StringBuffer()
- aLocaleAll.append(sLanguage).append('-').append(sCountry).append('-').append(sVariant)
- sPath = _sPath + "/" + aLocaleAll.toString()
- xInterface = _xMSF.createInstance(
- "com.sun.star.ucb.SimpleFileAccess")
- if xInterface.exists(sPath):
- # de-DE
- return sPath
-
- aLocaleLang_Country = StringBuffer.StringBuffer()
- aLocaleLang_Country.append(sLanguage).append('-').append(sCountry)
- sPath = _sPath + "/" + aLocaleLang_Country.toString()
- if xInterface.exists(sPath):
- # de
- return sPath
-
- aLocaleLang = StringBuffer.StringBuffer()
- aLocaleLang.append(sLanguage)
- sPath = _sPath + "/" + aLocaleLang.toString()
- if xInterface.exists(sPath):
- # the absolute default is en-US or en
- return sPath
-
- sPath = _sPath + "/en-US"
- if xInterface.exists(sPath):
- return sPath
-
- sPath = _sPath + "/en"
- if xInterface.exists(sPath):
- return sPath
-
- except com.sun.star.uno.Exception, e:
- pass
-
- return _sPath
-
- @classmethod
- def combinePaths2(self, xMSF, _aFirstPath, _sSecondPath):
- i = 0
- while i < _aFirstPath.size():
- sOnePath = _aFirstPath.get(i)
- sOnePath = addPath(sOnePath, _sSecondPath)
- if isPathValid(xMSF, sOnePath):
- _aFirstPath.add(i, sOnePath)
- _aFirstPath.remove(i + 1)
- else:
- _aFirstPath.remove(i)
- i -= 1
-
- i += 1
-
- @classmethod
- def isPathValid(self, xMSF, _sPath):
- bExists = False
- try:
- xUcbInterface = xMSF.createInstance(
- "com.sun.star.ucb.SimpleFileAccess")
- bExists = xUcbInterface.exists(_sPath)
- except Exception, exception:
- traceback.print_exc()
-
- return bExists
-
- @classmethod
- def combinePaths(self, xMSF, _sFirstPath, _sSecondPath):
- bexists = False
- ReturnPath = ""
- try:
- xUcbInterface = xMSF.createInstance(
- "com.sun.star.ucb.SimpleFileAccess")
- ReturnPath = _sFirstPath + _sSecondPath
- bexists = xUcbInterface.exists(ReturnPath)
- except Exception, exception:
- traceback.print_exc()
- return ""
-
- if not bexists:
- raise NoValidPathException (xMSF, "");
-
- return ReturnPath
-
- @classmethod
- def createSubDirectory(self, xMSF, xSimpleFileAccess, Path):
- sNoDirCreation = ""
- try:
- oResource = Resource.Resource_unknown(xMSF, "ImportWizard", "imp")
- if oResource != None:
- sNoDirCreation = oResource.getResText(1050)
- sMsgDirNotThere = oResource.getResText(1051)
- sQueryForNewCreation = oResource.getResText(1052)
- OSPath = JavaTools.convertfromURLNotation(Path)
- sQueryMessage = JavaTools.replaceSubString(sMsgDirNotThere,
- OSPath, "%1")
- sQueryMessage = sQueryMessage + (char)
- 13 + sQueryForNewCreation
- icreate = SystemDialog.showMessageBox(xMSF, "QueryBox",
- YES_NO, sQueryMessage)
- if icreate == 2:
- xSimpleFileAccess.createFolder(Path)
- return True
-
- return False
- except Exception:
- sMsgNoDir = JavaTools.replaceSubString(sNoDirCreation, Path, "%1")
- SystemDialog.showMessageBox(xMSF, "ErrorBox", OK, sMsgNoDir)
- return False
-
- @classmethod
- def getFolderTitles(self, xMSF, FilterName, FolderName):
- LocLayoutFiles = [[2],[]]
- try:
- xDocInterface = xMSF.createInstance(
- "com.sun.star.document.DocumentProperties")
- xInterface = xMSF.createInstance(
- "com.sun.star.ucb.SimpleFileAccess")
- nameList = xInterface.getFolderContents(FolderName, False)
- TitleVector = []
- NameVector = []
- if FilterName is None or FilterName == "":
- FilterName = None
- else:
- FilterName = FilterName + "-"
- fileName = ""
- NameVectorAppend = NameVector.append
- TitleVectorAppend = TitleVector.append
- for i in nameList:
- fileName = self.getFilename(i)
- if FilterName is None or fileName.startswith(FilterName):
- xDocInterface.loadFromMedium(i, tuple())
- NameVectorAppend(i)
- TitleVectorAppend(xDocInterface.Title)
-
- LocLayoutFiles[1] = NameVector
- LocLayoutFiles[0] = TitleVector
-
- except Exception, exception:
- traceback.print_exc()
-
- return self.__bubblesortList(LocLayoutFiles)
-
- '''
- This function bubble sorts an array of with 2 dimensions.
- The default sorting order is the first dimension
- Only if sort2ndValue is True the second dimension is
- the relevant for the sorting order
- '''
-
- @classmethod
- def __bubblesortList(self, SortList):
- SortCount = len(SortList[0])
- DimCount = len(SortList)
- for i in xrange(SortCount):
- for t in xrange(SortCount - i - 1):
- if SortList[0][t] > SortList[0][t + 1]:
- for k in xrange(DimCount):
- DisplayDummy = SortList[k][t];
- SortList[k][t] = SortList[k][t + 1];
- SortList[k][t + 1] = DisplayDummy
- return SortList
- '''
- We search in all given path for a given file
- @param _sPath
- @param _sPath2
- @return
- '''
-
- @classmethod
- def addPath(self, _sPath, _sPath2):
- if not _sPath.endsWith("/"):
- _sPath += "/"
-
- if _sPath2.startsWith("/"):
- _sPath2 = _sPath2.substring(1)
-
- sNewPath = _sPath + _sPath2
- return sNewPath
-
- @classmethod
- def getPathFromList(self, xMSF, _aList, _sFile):
- sFoundFile = ""
- try:
- xInterface = xMSF.createInstance(
- "com.sun.star.ucb.SimpleFileAccess")
- i = 0
- while i < _aList.size():
- sPath = _aList.get(i)
- sPath = addPath(sPath, _sFile)
- if xInterface.exists(sPath):
- sFoundFile = sPath
-
- i += 1
- except Exception, e:
- pass
-
- return sFoundFile
-
- @classmethod
- def getTitle(self, xMSF, _sFile):
- sTitle = ""
- try:
- xDocInterface = xMSF.createInstance(
- "com.sun.star.document.DocumentProperties")
- noArgs = []
- xDocInterface.loadFromMedium(_sFile, noArgs)
- sTitle = xDocInterface.getTitle()
- except Exception, e:
- traceback.print_exc()
-
- return sTitle
-
- def __init__(self, xmsf):
- #get a simple file access...
- self.fileAccess = xmsf.createInstance(
- "com.sun.star.ucb.SimpleFileAccess")
- #get the file identifier converter
- self.filenameConverter = xmsf.createInstance(
- "com.sun.star.ucb.FileContentProvider")
-
- def getURL(self, path, childPath=None):
- try:
- f = open(path, 'w')
-
- r = self.filenameConverter.getFileURLFromSystemPath(path,
- osPath.abspath(path))
- return r
- except Exception:
- traceback.print_exc()
- return None
-
- def getPath(self, parentURL, childURL):
- string = ""
- if childURL is not None and childURL is not "":
- string = "/" + childURL
- return self.filenameConverter.getSystemPathFromFileURL(
- parentURL + string)
-
- '''
- @author rpiterman
- @param filename
- @return the extension of the given filename.
- '''
-
- @classmethod
- def getExtension(self, filename):
- p = filename.indexOf(".")
- if p == -1:
- return ""
- else:
- while p > -1:
- filename = filename.substring(p + 1)
- p = filename.indexOf(".")
-
- return filename
-
- '''
- @author rpiterman
- @param s
- @return
- '''
-
- def mkdir(self, s):
- try:
- self.fileAccess.createFolder(s)
- return True
- except Exception:
- traceback.print_exc()
-
- return False
-
- '''
- @author rpiterman
- @param filename
- @param def what to return in case of an exception
- @return true if the given file exists or not.
- if an exception accures, returns the def value.
- '''
-
- def exists(self, filename, defe):
- try:
- return self.fileAccess.exists(filename)
- except Exception:
- traceback.print_exc()
-
- return defe
-
- '''
- @author rpiterman
- @param filename
- @return
- '''
-
- def isDirectory(self, filename):
- try:
- return self.fileAccess.isFolder(filename)
- except Exception:
- traceback.print_exc()
-
- return False
-
- '''
- lists the files in a given directory
- @author rpiterman
- @param dir
- @param includeFolders
- @return
- '''
-
- def listFiles(self, dir, includeFolders):
- try:
- return self.fileAccess.getFolderContents(dir, includeFolders)
- except Exception:
- traceback.print_exc()
-
- return range(0)
-
- '''
- @author rpiterman
- @param file
- @return
- '''
-
- def delete(self, file):
- try:
- self.fileAccess.kill(file)
- return True
- except Exception:
- traceback.print_exc()
-
- return False
-
-
- '''
- return the filename out of a system-dependent path
- @param path
- @return
- '''
-
- @classmethod
- def getPathFilename(self, path):
- return self.getFilename(path, File.separator)
-
- '''
- @author rpiterman
- @param path
- @param pathSeparator
- @return
- '''
-
- @classmethod
- def getFilename(self, path, pathSeparator = "/"):
- return path.split(pathSeparator)[-1]
-
- @classmethod
- def getBasename(self, path, pathSeparator):
- filename = self.getFilename(path, pathSeparator)
- sExtension = getExtension(filename)
- basename = filename.substring(0, filename.length() - \
- (sExtension.length() + 1))
- return basename
-
- '''
- @author rpiterman
- @param source
- @param target
- @return
- '''
-
- def copy(self, source, target):
- try:
- self.fileAccess.copy(source, target)
- return True
- except Exception:
- traceback.print_exc()
-
- return False
-
- def getLastModified(self, url):
- try:
- return self.fileAccess.getDateTimeModified(url)
- except Exception:
- traceback.print_exc()
-
- return None
-
- '''
- @param url
- @return the parent dir of the given url.
- if the path points to file, gives the directory in which the file is.
- '''
-
- @classmethod
- def getParentDir(self, url):
- while url[-1] == "/":
- url = hello[:-1]
- return url[:url.rfind("/")]
-
- def createNewDir(self, parentDir, name):
- s = self.getNewFile(parentDir, name, "")
- if self.mkdir(s):
- return s
- else:
- return None
-
- def getNewFile(self, parentDir, name, extension):
- i = 0
- temp = True
- while temp:
- filename = self.filename(name, extension, i)
- url = parentDir + "/" + filename
- temp = self.exists(url, True)
- i += 1
- return url
-
- @classmethod
- def filename(self, name, ext, i):
- stringI = ""
- stringExt = ""
- if i != 0:
- stringI = str(i)
- if ext != "":
- stringExt = "." + ext
-
- return name + stringI + stringExt
-
- def getSize(self, url):
- try:
- return self.fileAccess.getSize(url)
- except Exception, ex:
- return -1
-
- @classmethod
- def connectURLs(self, urlFolder, urlFilename):
- stringFolder = ""
- stringFileName = urlFilename
- if not urlFolder.endswith("/"):
- stringFolder = "/"
- if urlFilename.startswith("/"):
- stringFileName = urlFilename[1:]
- return urlFolder + stringFolder + stringFileName
-
- @classmethod
- def getDataFromTextFile(self, _xMSF, _filepath):
- sFileData = None
- try:
- oDataVector = []
- oSimpleFileAccess = _xMSF.createInstance(
- "com.sun.star.ucb.SimpleFileAccess")
- if oSimpleFileAccess.exists(_filepath):
- xInputStream = oSimpleFileAccess.openFileRead(_filepath)
- oTextInputStream = _xMSF.createInstance(
- "com.sun.star.io.TextInputStream")
- oTextInputStream.setInputStream(xInputStream)
- while not oTextInputStream.isEOF():
- oDataVector.addElement(oTextInputStream.readLine())
- oTextInputStream.closeInput()
- sFileData = [oDataVector.size()]
- oDataVector.toArray(sFileData)
-
- except Exception, e:
- traceback.print_exc()
-
- return sFileData
-
- '''
- shortens a filename to a user displayable representation.
- @param path
- @param maxLength
- @return
- '''
-
- @classmethod
- def getShortFilename(self, path, maxLength):
- firstPart = 0
- if path.length() > maxLength:
- if path.startsWith("/"):
- # unix
- nextSlash = path.indexOf("/", 1) + 1
- firstPart = Math.min(nextSlash, (maxLength - 3) / 2)
- else:
- #windows
- firstPart = Math.min(10, (maxLength - 3) / 2)
-
- s1 = path.substring(0, firstPart)
- s2 = path.substring(path.length() - (maxLength - (3 + firstPart)))
- return s1 + "..." + s2
- else:
- return path
-
diff --git a/wizards/com/sun/star/wizards/common/HelpIds.py b/wizards/com/sun/star/wizards/common/HelpIds.py
deleted file mode 100644
index c6bd1b78c2fd..000000000000
--- a/wizards/com/sun/star/wizards/common/HelpIds.py
+++ /dev/null
@@ -1,1012 +0,0 @@
-class HelpIds:
- array1 = [
- "HID:WIZARDS_HID0_WEBWIZARD", # HID:34200
- "HID:WIZARDS_HID0_HELP", # HID:34201
- "HID:WIZARDS_HID0_NEXT", # HID:34202
- "HID:WIZARDS_HID0_PREV", # HID:34203
- "HID:WIZARDS_HID0_CREATE", # HID:34204
- "HID:WIZARDS_HID0_CANCEL", # HID:34205
- "HID:WIZARDS_HID0_STATUS_DIALOG", # HID:34206
- "HID:WIZARDS_HID1_LST_SESSIONS", # HID:34207
- "",
- "HID:WIZARDS_HID1_BTN_DEL_SES", # HID:34209
- "HID:WIZARDS_HID2_LST_DOCS", # HID:34210
- "HID:WIZARDS_HID2_BTN_ADD_DOC", # HID:34211
- "HID:WIZARDS_HID2_BTN_REM_DOC", # HID:34212
- "HID:WIZARDS_HID2_BTN_DOC_UP", # HID:34213
- "HID:WIZARDS_HID2_BTN_DOC_DOWN", # HID:34214
- "HID:WIZARDS_HID2_TXT_DOC_TITLE", # HID:34215
- "HID:WIZARDS_HID2_TXT_DOC_DESC", # HID:34216
- "HID:WIZARDS_HID2_TXT_DOC_AUTHOR", # HID:34217
- "HID:WIZARDS_HID2_LST_DOC_EXPORT", # HID:34218
- "HID:WIZARDS_HID2_STATUS_ADD_DOCS", # HID:34219
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG1", # HID:34220
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG2", # HID:34221
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG3", # HID:34222
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG4", # HID:34223
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG5", # HID:34224
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG6", # HID:34225
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG7", # HID:34226
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG8", # HID:34227
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG9", # HID:34228
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG10", # HID:34229
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG11", # HID:34230
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG12", # HID:34231
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG13", # HID:34232
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG14", # HID:34233
- "HID:WIZARDS_HID3_IL_LAYOUTS_IMG15", # HID:34234
- "HID:WIZARDS_HID4_CHK_DISPLAY_FILENAME", # HID:34235
- "HID:WIZARDS_HID4_CHK_DISPLAY_DESCRIPTION", # HID:34236
- "HID:WIZARDS_HID4_CHK_DISPLAY_AUTHOR", # HID:34237
- "HID:WIZARDS_HID4_CHK_DISPLAY_CR_DATE", # HID:34238
- "HID:WIZARDS_HID4_CHK_DISPLAY_UP_DATE", # HID:34239
- "HID:WIZARDS_HID4_CHK_DISPLAY_FORMAT", # HID:34240
- "HID:WIZARDS_HID4_CHK_DISPLAY_F_ICON", # HID:34241
- "HID:WIZARDS_HID4_CHK_DISPLAY_PAGES", # HID:34242
- "HID:WIZARDS_HID4_CHK_DISPLAY_SIZE", # HID:34243
- "HID:WIZARDS_HID4_GRP_OPTIMAIZE_640", # HID:34244
- "HID:WIZARDS_HID4_GRP_OPTIMAIZE_800", # HID:34245
- "HID:WIZARDS_HID4_GRP_OPTIMAIZE_1024", # HID:34246
- "HID:WIZARDS_HID5_LST_STYLES", # HID:34247
- "HID:WIZARDS_HID5_BTN_BACKGND", # HID:34248
- "HID:WIZARDS_HID5_BTN_ICONS", # HID:34249
- "HID:WIZARDS_HID6_TXT_SITE_TITLE", # HID:34250
- "",
- "",
- "HID:WIZARDS_HID6_TXT_SITE_DESC", # HID:34253
- "",
- "HID:WIZARDS_HID6_DATE_SITE_CREATED", # HID:34255
- "HID:WIZARDS_HID6_DATE_SITE_UPDATED", # HID:34256
- "",
- "HID:WIZARDS_HID6_TXT_SITE_EMAIL", # HID:34258
- "HID:WIZARDS_HID6_TXT_SITE_COPYRIGHT", # HID:34259
- "HID:WIZARDS_HID7_BTN_PREVIEW", # HID:34260
- "HID:WIZARDS_HID7_CHK_PUBLISH_LOCAL", # HID:34261
- "HID:WIZARDS_HID7_TXT_LOCAL", # HID:34262
- "HID:WIZARDS_HID7_BTN_LOCAL", # HID:34263
- "HID:WIZARDS_HID7_CHK_PUBLISH_ZIP", # HID:34264
- "HID:WIZARDS_HID7_TXT_ZIP", # HID:34265
- "HID:WIZARDS_HID7_BTN_ZIP", # HID:34266
- "HID:WIZARDS_HID7_CHK_PUBLISH_FTP", # HID:34267
- "HID:WIZARDS_HID7_TXT_FTP", # HID:34268
- "HID:WIZARDS_HID7_BTN_FTP", # HID:34269
- "HID:WIZARDS_HID7_CHK_SAVE", # HID:34270
- "HID:WIZARDS_HID7_TXT_SAVE", # HID:34271
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_BG", # HID:34290
- "HID:WIZARDS_HID_BG_BTN_OTHER", # HID:34291
- "HID:WIZARDS_HID_BG_BTN_NONE", # HID:34292
- "HID:WIZARDS_HID_BG_BTN_OK", # HID:34293
- "HID:WIZARDS_HID_BG_BTN_CANCEL", # HID:34294
- "HID:WIZARDS_HID_BG_BTN_BACK", # HID:34295
- "HID:WIZARDS_HID_BG_BTN_FW", # HID:34296
- "HID:WIZARDS_HID_BG_BTN_IMG1", # HID:34297
- "HID:WIZARDS_HID_BG_BTN_IMG2", # HID:34298
- "HID:WIZARDS_HID_BG_BTN_IMG3", # HID:34299
- "HID:WIZARDS_HID_BG_BTN_IMG4", # HID:34300
- "HID:WIZARDS_HID_BG_BTN_IMG5", # HID:34301
- "HID:WIZARDS_HID_BG_BTN_IMG6", # HID:34302
- "HID:WIZARDS_HID_BG_BTN_IMG7", # HID:34303
- "HID:WIZARDS_HID_BG_BTN_IMG8", # HID:34304
- "HID:WIZARDS_HID_BG_BTN_IMG9", # HID:34305
- "HID:WIZARDS_HID_BG_BTN_IMG10", # HID:34306
- "HID:WIZARDS_HID_BG_BTN_IMG11", # HID:34307
- "HID:WIZARDS_HID_BG_BTN_IMG12", # HID:34308
- "HID:WIZARDS_HID_BG_BTN_IMG13", # HID:34309
- "HID:WIZARDS_HID_BG_BTN_IMG14", # HID:34300
- "HID:WIZARDS_HID_BG_BTN_IMG15", # HID:34311
- "HID:WIZARDS_HID_BG_BTN_IMG16", # HID:34312
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGREPORT_DIALOG", # HID:34320
- "",
- "HID:WIZARDS_HID_DLGREPORT_0_CMDPREV", # HID:34322
- "HID:WIZARDS_HID_DLGREPORT_0_CMDNEXT", # HID:34323
- "HID:WIZARDS_HID_DLGREPORT_0_CMDFINISH", # HID:34324
- "HID:WIZARDS_HID_DLGREPORT_0_CMDCANCEL", # HID:34325
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGREPORT_1_LBTABLES", # HID:34330
- "HID:WIZARDS_HID_DLGREPORT_1_FIELDSAVAILABLE", # HID:34331
- "HID:WIZARDS_HID_DLGREPORT_1_CMDMOVESELECTED", # HID:34332
- "HID:WIZARDS_HID_DLGREPORT_1_CMDMOVEALL", # HID:34333
- "HID:WIZARDS_HID_DLGREPORT_1_CMDREMOVESELECTED", # HID:34334
- "HID:WIZARDS_HID_DLGREPORT_1_CMDREMOVEALL", # HID:34335
- "HID:WIZARDS_HID_DLGREPORT_1_FIELDSSELECTED", # HID:34336
- "HID:WIZARDS_HID_DLGREPORT_1_CMDMOVEUP", # HID:34337
- "HID:WIZARDS_HID_DLGREPORT_1_CMDMOVEDOWN", # HID:34338
- "",
- "HID:WIZARDS_HID_DLGREPORT_2_GROUPING", # HID:34340
- "HID:WIZARDS_HID_DLGREPORT_2_CMDGROUP", # HID:34341
- "HID:WIZARDS_HID_DLGREPORT_2_CMDUNGROUP", # HID:34342
- "HID:WIZARDS_HID_DLGREPORT_2_PREGROUPINGDEST", # HID:34343
- "HID:WIZARDS_HID_DLGREPORT_2_CMDMOVEUPGROUP", # HID:34344
- "HID:WIZARDS_HID_DLGREPORT_2_CMDMOVEDOWNGROUP", # HID:34345
- "HID:WIZARDS_HID_DLGREPORT_3_SORT1", # HID:34346
- "HID:WIZARDS_HID_DLGREPORT_3_OPTASCEND1", # HID:34347
- "HID:WIZARDS_HID_DLGREPORT_3_OPTDESCEND1", # HID:34348
- "HID:WIZARDS_HID_DLGREPORT_3_SORT2", # HID:34349
- "HID:WIZARDS_HID_DLGREPORT_3_OPTASCEND2", # HID:34350
- "HID:WIZARDS_HID_DLGREPORT_3_OPTDESCEND2", # HID:34351
- "HID:WIZARDS_HID_DLGREPORT_3_SORT3", # HID:34352
- "HID:WIZARDS_HID_DLGREPORT_3_OPTASCEND3", # HID:34353
- "HID:WIZARDS_HID_DLGREPORT_3_OPTDESCEND3", # HID:34354
- "HID:WIZARDS_HID_DLGREPORT_3_SORT4", # HID:34355
- "HID:WIZARDS_HID_DLGREPORT_3_OPTASCEND4", # HID:34356
- "HID:WIZARDS_HID_DLGREPORT_3_OPTDESCEND4", # HID:34357
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGREPORT_4_TITLE", # HID:34362
- "HID:WIZARDS_HID_DLGREPORT_4_DATALAYOUT", # HID:34363
- "HID:WIZARDS_HID_DLGREPORT_4_PAGELAYOUT", # HID:34364
- "HID:WIZARDS_HID_DLGREPORT_4_LANDSCAPE", # HID:34365
- "HID:WIZARDS_HID_DLGREPORT_4_PORTRAIT", # HID:34366
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGREPORT_5_OPTDYNTEMPLATE", # HID:34370
- "HID:WIZARDS_HID_DLGREPORT_5_OPTSTATDOCUMENT", # HID:34371
- "HID:WIZARDS_HID_DLGREPORT_5_TXTTEMPLATEPATH", # HID:34372
- "HID:WIZARDS_HID_DLGREPORT_5_CMDTEMPLATEPATH", # HID:34373
- "HID:WIZARDS_HID_DLGREPORT_5_OPTEDITTEMPLATE", # HID:34374
- "HID:WIZARDS_HID_DLGREPORT_5_OPTUSETEMPLATE", # HID:34375
- "HID:WIZARDS_HID_DLGREPORT_5_TXTDOCUMENTPATH", # HID:34376
- "HID:WIZARDS_HID_DLGREPORT_5_CMDDOCUMENTPATH", # HID:34377
- "HID:WIZARDS_HID_DLGREPORT_5_CHKLINKTODB", # HID:34378
- "",
- "",
- "HID:WIZARDS_HID_DLGREPORT_6_TXTTITLE_1", # HID:34381
- "HID:WIZARDS_HID_DLGREPORT_6_TXTTITLE_2", # HID:34382
- "HID:WIZARDS_HID_DLGREPORT_6_TXTTITLE_3", # HID:34383
- "HID:WIZARDS_HID_DLGREPORT_6_TXTTITLE_4", # HID:34384
- "HID:WIZARDS_HID_DLGREPORT_6_TXTTITLE_5", # HID:34385
- "HID:WIZARDS_HID_DLGREPORT_6_TXTTITLE_6", # HID:34386
- "HID:WIZARDS_HID_DLGREPORT_6_TXTTITLE_7", # HID:34387
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGFORM_DIALOG", # HID:34400
- "",
- "HID:WIZARDS_HID_DLGFORM_CMDPREV", # HID:34402
- "HID:WIZARDS_HID_DLGFORM_CMDNEXT", # HID:34403
- "HID:WIZARDS_HID_DLGFORM_CMDFINISH", # HID:34404
- "HID:WIZARDS_HID_DLGFORM_CMDCANCEL", # HID:34405
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGFORM_MASTER_LBTABLES", # HID:34411
- "HID:WIZARDS_HID_DLGFORM_MASTER_FIELDSAVAILABLE", # HID:34412
- "HID:WIZARDS_HID_DLGFORM_MASTER_CMDMOVESELECTED", # HID:34413
- "HID:WIZARDS_HID_DLGFORM_MASTER_CMDMOVEALL", # HID:34414
- "HID:WIZARDS_HID_DLGFORM_MASTER_CMDREMOVESELECTED", # HID:34415
- "HID:WIZARDS_HID_DLGFORM_MASTER_CMDREMOVEALL", # HID:34416
- "HID:WIZARDS_HID_DLGFORM_MASTER_FIELDSSELECTED", # HID:34417
- "HID:WIZARDS_HID_DLGFORM_MASTER_CMDMOVEUP", # HID:34418
- "HID:WIZARDS_HID_DLGFORM_MASTER_CMDMOVEDOWN", # HID:34419
- "",
- "HID:WIZARDS_HID_DLGFORM_CHKCREATESUBFORM", # HID:34421
- "HID:WIZARDS_HID_DLGFORM_OPTONEXISTINGRELATION", # HID:34422
- "HID:WIZARDS_HID_DLGFORM_OPTSELECTMANUALLY", # HID:34423
- "HID:WIZARDS_HID_DLGFORM_lstRELATIONS", # HID:34424
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGFORM_SUB_LBTABLES", # HID:34431
- "HID:WIZARDS_HID_DLGFORM_SUB_FIELDSAVAILABLE", # HID:34432
- "HID:WIZARDS_HID_DLGFORM_SUB_CMDMOVESELECTED", # HID:34433
- "HID:WIZARDS_HID_DLGFORM_SUB_CMDMOVEALL", # HID:34434
- "HID:WIZARDS_HID_DLGFORM_SUB_CMDREMOVESELECTED", # HID:34435
- "HID:WIZARDS_HID_DLGFORM_SUB_CMDREMOVEALL", # HID:34436
- "HID:WIZARDS_HID_DLGFORM_SUB_FIELDSSELECTED", # HID:34437
- "HID:WIZARDS_HID_DLGFORM_SUB_CMDMOVEUP", # HID:34438
- "HID:WIZARDS_HID_DLGFORM_SUB_CMDMOVEDOWN", # HID:34439
- "",
- "HID:WIZARDS_HID_DLGFORM_LINKER_LSTSLAVELINK1", # HID:34441
- "HID:WIZARDS_HID_DLGFORM_LINKER_LSTMASTERLINK1", # HID:34442
- "HID:WIZARDS_HID_DLGFORM_LINKER_LSTSLAVELINK2", # HID:34443
- "HID:WIZARDS_HID_DLGFORM_LINKER_LSTMASTERLINK2", # HID:34444
- "HID:WIZARDS_HID_DLGFORM_LINKER_LSTSLAVELINK3", # HID:34445
- "HID:WIZARDS_HID_DLGFORM_LINKER_LSTMASTERLINK3", # HID:34446
- "HID:WIZARDS_HID_DLGFORM_LINKER_LSTSLAVELINK4", # HID:34447
- "HID:WIZARDS_HID_DLGFORM_LINKER_LSTMASTERLINK4", # HID:34448
- "",
- "",
- "HID:WIZARDS_HID_DLGFORM_CMDALIGNLEFT", # HID:34451
- "HID:WIZARDS_HID_DLGFORM_CMDALIGNRIGHT", # HID:34452
- "HID:WIZARDS_HID_DLGFORM_CMDLEFTLABELED", # HID:34453
- "HID:WIZARDS_HID_DLGFORM_CMDTOPLABELED", # HID:34454
- "HID:WIZARDS_HID_DLGFORM_CMDTABLESTYLE", # HID:34455
- "HID:WIZARDS_HID_DLGFORM_CMDTOPJUSTIFIED", # HID:34456
- "HID:WIZARDS_HID_DLGFORM_CMDLEFTLABELED2", # HID:34457
- "HID:WIZARDS_HID_DLGFORM_CMDTOPLABELED2", # HID:34458
- "HID:WIZARDS_HID_DLGFORM_CMDTABLESTYLE2", # HID:34459
- "HID:WIZARDS_HID_DLGFORM_CMDTOPJUSTIFIED2", # HID:34460
- "HID:WIZARDS_HID_DLGFORM_OPTNEWDATAONLY", # HID:34461
- "HID:WIZARDS_HID_DLGFORM_OPTDISPLAYALLDATA", # HID:34462
- "HID:WIZARDS_HID_DLGFORM_CHKNOMODIFICATION", # HID:34463
- "HID:WIZARDS_HID_DLGFORM_CHKNODELETION", # HID:34464
- "HID:WIZARDS_HID_DLGFORM_CHKNOADDITION", # HID:34465
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGFORM_LSTSTYLES", # HID:34471
- "HID:WIZARDS_HID_DLGFORM_CMDNOBORDER", # HID:34472
- "HID:WIZARDS_HID_DLGFORM_CMD3DBORDER", # HID:34473
- "HID:WIZARDS_HID_DLGFORM_CMDSIMPLEBORDER", # HID:34474
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGFORM_TXTPATH", # HID:34481
- "HID:WIZARDS_HID_DLGFORM_OPTWORKWITHFORM", # HID:34482
- "HID:WIZARDS_HID_DLGFORM_OPTMODIFYFORM", # HID:34483
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGNEWSLTR_DIALOG", # HID:34500
- "HID:WIZARDS_HID_DLGNEWSLTR_OPTSTANDARDLAYOUT", # HID:34501
- "HID:WIZARDS_HID_DLGNEWSLTR_OPTPARTYLAYOUT", # HID:34502
- "HID:WIZARDS_HID_DLGNEWSLTR_OPTBROCHURELAYOUT", # HID:34503
- "HID:WIZARDS_HID_DLGNEWSLTR_OPTSINGLESIDED", # HID:34504
- "HID:WIZARDS_HID_DLGNEWSLTR_OPTDOUBLESIDED", # HID:34505
- "HID:WIZARDS_HID_DLGNEWSLTR_CMDGOON", # HID:34506
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGDEPOT_DIALOG_SELLBUY", # HID:34520
- "HID:WIZARDS_HID_DLGDEPOT_0_TXTSTOCKID_SELLBUY", # HID:34521
- "HID:WIZARDS_HID_DLGDEPOT_0_TXTQUANTITY", # HID:34522
- "HID:WIZARDS_HID_DLGDEPOT_0_TXTRATE", # HID:34523
- "HID:WIZARDS_HID_DLGDEPOT_0_TXTDATE", # HID:34524
- "HID:WIZARDS_HID_DLGDEPOT_0_TXTCOMMISSION", # HID:34525
- "HID:WIZARDS_HID_DLGDEPOT_0_TXTFIX", # HID:34526
- "HID:WIZARDS_HID_DLGDEPOT_0_TXTMINIMUM", # HID:34527
- "HID:WIZARDS_HID_DLGDEPOT_0_CMDCANCEL_SELLBUY", # HID:34528
- "HID:WIZARDS_HID_DLGDEPOT_0_CMDGOON_SELLBUY", # HID:34529
- "HID:WIZARDS_HID_DLGDEPOT_1_LSTSELLSTOCKS", # HID:34530
- "HID:WIZARDS_HID_DLGDEPOT_2_LSTBUYSTOCKS", # HID:34531
- "HID:WIZARDS_HID_DLGDEPOT_DIALOG_SPLIT", # HID:34532
- "HID:WIZARDS_HID_DLGDEPOT_0_LSTSTOCKNAMES", # HID:34533
- "HID:WIZARDS_HID_DLGDEPOT_0_TXTSTOCKID_SPLIT", # HID:34534
- "HID:WIZARDS_HID_DLGDEPOT_0_CMDCANCEL_SPLIT", # HID:34535
- "HID:WIZARDS_HID_DLGDEPOT_0_CMDGOON_SPLIT", # HID:34536
- "HID:WIZARDS_HID_DLGDEPOT_1_OPTPERSHARE", # HID:34537
- "HID:WIZARDS_HID_DLGDEPOT_1_OPTTOTAL", # HID:34538
- "HID:WIZARDS_HID_DLGDEPOT_1_TXTDIVIDEND", # HID:34539
- "HID:WIZARDS_HID_DLGDEPOT_2_TXTOLDRATE", # HID:34540
- "HID:WIZARDS_HID_DLGDEPOT_2_TXTNEWRATE", # HID:34541
- "HID:WIZARDS_HID_DLGDEPOT_2_TXTDATE", # HID:34542
- "HID:WIZARDS_HID_DLGDEPOT_3_TXTSTARTDATE", # HID:34543
- "HID:WIZARDS_HID_DLGDEPOT_3_TXTENDDATE", # HID:34544
- "HID:WIZARDS_HID_DLGDEPOT_3_OPTDAILY", # HID:34545
- "HID:WIZARDS_HID_DLGDEPOT_3_OPTWEEKLY", # HID:34546
- "HID:WIZARDS_HID_DLGDEPOT_DIALOG_HISTORY", # HID:34547
- "HID:WIZARDS_HID_DLGDEPOT_LSTMARKETS", # HID:34548
- "HID:WIZARDS_HID_DLGDEPOT_0_CMDCANCEL_HISTORY", # HID:34549
- "HID:WIZARDS_HID_DLGDEPOT_0_CMDGOON_HISTORY", # HID:34550
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGIMPORT_DIALOG", # HID:34570
- "HID:WIZARDS_HID_DLGIMPORT_0_CMDHELP", # HID:34571
- "HID:WIZARDS_HID_DLGIMPORT_0_CMDCANCEL", # HID:34572
- "HID:WIZARDS_HID_DLGIMPORT_0_CMDPREV", # HID:34573
- "HID:WIZARDS_HID_DLGIMPORT_0_CMDNEXT", # HID:34574
- "HID:WIZARDS_HID_DLGIMPORT_0_OPTSODOCUMENTS", # HID:34575
- "HID:WIZARDS_HID_DLGIMPORT_0_OPTMSDOCUMENTS", # HID:34576
- "HID:WIZARDS_HID_DLGIMPORT_0_CHKLOGFILE", # HID:34577
- "HID:WIZARDS_HID_DLGIMPORT_2_CHKWORD", # HID:34578
- "HID:WIZARDS_HID_DLGIMPORT_2_CHKEXCEL", # HID:34579
- "HID:WIZARDS_HID_DLGIMPORT_2_CHKPOWERPOINT", # HID:34580
- "HID:WIZARDS_HID_DLGIMPORT_2_CBTEMPLATE", # HID:34581
- "HID:WIZARDS_HID_DLGIMPORT_2_CBTEMPLATERECURSE", # HID:34582
- "HID:WIZARDS_HID_DLGIMPORT_2_LBTEMPLATEPATH", # HID:34583
- "HID:WIZARDS_HID_DLGIMPORT_2_EDTEMPLATEPATH", # HID:34584
- "HID:WIZARDS_HID_DLGIMPORT_2_CMDTEMPLATEPATHSELECT", # HID:34585
- "HID:WIZARDS_HID_DLGIMPORT_2_CBDOCUMENT", # HID:34586
- "HID:WIZARDS_HID_DLGIMPORT_2_CBDOCUMENTRECURSE", # HID:34587
- "HID:WIZARDS_HID_DLGIMPORT_2_LBDOCUMENTPATH", # HID:34588
- "HID:WIZARDS_HID_DLGIMPORT_2_EDDOCUMENTPATH", # HID:34589
- "HID:WIZARDS_HID_DLGIMPORT_2_CMDDOCUMENTPATHSELECT", # HID:34590
- "HID:WIZARDS_HID_DLGIMPORT_2_LBEXPORTDOCUMENTPATH", # HID:34591
- "HID:WIZARDS_HID_DLGIMPORT_2_EDEXPORTDOCUMENTPATH", # HID:34592
- "HID:WIZARDS_HID_DLGIMPORT_2_CMDEXPORTPATHSELECT", # HID:34593
- "",
- "HID:WIZARDS_HID_DLGIMPORT_3_TBSUMMARY", # HID:34595
- "HID:WIZARDS_HID_DLGIMPORT_0_CHKWRITER", # HID:34596
- "HID:WIZARDS_HID_DLGIMPORT_0_CHKCALC", # HID:34597
- "HID:WIZARDS_HID_DLGIMPORT_0_CHKIMPRESS", # HID:34598
- "HID:WIZARDS_HID_DLGIMPORT_0_CHKMATHGLOBAL", # HID:34599
- "HID:WIZARDS_HID_DLGIMPORT_2_CMDTEMPLATEPATHSELECT2", # HID:34600
- "HID:WIZARDS_HID_DLGIMPORT_2_CMDDOCUMENTPATHSELECT2", # HID:34601
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGCORRESPONDENCE_DIALOG", # HID:34630
- "HID:WIZARDS_HID_DLGCORRESPONDENCE_CANCEL", # HID:34631
- "HID:WIZARDS_HID_DLGCORRESPONDENCE_OPTIONAGENDA1", # HID:34632
- "HID:WIZARDS_HID_DLGCORRESPONDENCE_OPTIONAGENDA2", # HID:34633
- "HID:WIZARDS_HID_DLGCORRESPONDENCE_AGENDAOKAY", # HID:34634
- "HID:WIZARDS_HID_DLGCORRESPONDENCE_OPTIONLETTER1", # HID:34635
- "HID:WIZARDS_HID_DLGCORRESPONDENCE_OPTIONLETTER2", # HID:34636
- "HID:WIZARDS_HID_DLGCORRESPONDENCE_LETTEROKAY", # HID:34637
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGSTYLES_DIALOG", # HID:34650
- "HID:WIZARDS_HID_DLGSTYLES_LISTBOX", # HID:34651
- "HID:WIZARDS_HID_DLGSTYLES_CANCEL", # HID:34652
- "HID:WIZARDS_HID_DLGSTYLES_OKAY", # HID:34653
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGCONVERT_DIALOG", # HID:34660
- "HID:WIZARDS_HID_DLGCONVERT_CHECKBOX1", # HID:34661
- "HID:WIZARDS_HID_DLGCONVERT_OPTIONBUTTON1", # HID:34662
- "HID:WIZARDS_HID_DLGCONVERT_OPTIONBUTTON2", # HID:34663
- "HID:WIZARDS_HID_DLGCONVERT_OPTIONBUTTON3", # HID:34664
- "HID:WIZARDS_HID_DLGCONVERT_OPTIONBUTTON4", # HID:34665
- "HID:WIZARDS_HID_DLGCONVERT_LISTBOX1", # HID:34666
- "HID:WIZARDS_HID_DLGCONVERT_OBFILE", # HID:34667
- "HID:WIZARDS_HID_DLGCONVERT_OBDIR", # HID:34668
- "HID:WIZARDS_HID_DLGCONVERT_COMBOBOX1", # HID:34669
- "HID:WIZARDS_HID_DLGCONVERT_TBSOURCE", # HID:34670
- "HID:WIZARDS_HID_DLGCONVERT_CHECKRECURSIVE", # HID:34671
- "HID:WIZARDS_HID_DLGCONVERT_TBTARGET", # HID:34672
- "HID:WIZARDS_HID_DLGCONVERT_CBCANCEL", # HID:34673
- "HID:WIZARDS_HID_DLGCONVERT_CBHELP", # HID:34674
- "HID:WIZARDS_HID_DLGCONVERT_CBBACK", # HID:34675
- "HID:WIZARDS_HID_DLGCONVERT_CBGOON", # HID:34676
- "HID:WIZARDS_HID_DLGCONVERT_CBSOURCEOPEN", # HID:34677
- "HID:WIZARDS_HID_DLGCONVERT_CBTARGETOPEN", # HID:34678
- "HID:WIZARDS_HID_DLGCONVERT_CHKPROTECT", # HID:34679
- "HID:WIZARDS_HID_DLGCONVERT_CHKTEXTDOCUMENTS", # HID:34680
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGPASSWORD_CMDGOON", # HID:34690
- "HID:WIZARDS_HID_DLGPASSWORD_CMDCANCEL", # HID:34691
- "HID:WIZARDS_HID_DLGPASSWORD_CMDHELP", # HID:34692
- "HID:WIZARDS_HID_DLGPASSWORD_TXTPASSWORD", # HID:34693
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_DIALOG", # HID:34700
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_1_PREVIEW", # HID:34701
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_1_OPYEAR", # HID:34702
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_1_OPMONTH", # HID:34703
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_1_EDYEAR", # HID:34704
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_1_EDMONTH", # HID:34705
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_1_SPINYEAR", # HID:34706
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_1_SPINMONTH", # HID:34707
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_1_CMBSTATE", # HID:34708
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_LBOWNDATA", # HID:34709
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_CMDINSERT", # HID:34710
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_CMDDELETE", # HID:34711
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_EDEVENT", # HID:34712
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_CHKEVENT", # HID:34713
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_EDEVENTDAY", # HID:34714
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_SPINEVENTDAY", # HID:34715
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_EDEVENTMONTH", # HID:34716
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_SPINEVENTMONTH", # HID:34717
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_EDEVENTYEAR", # HID:34718
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_2_SPINEVENTYEAR", # HID:34719
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_0_CMDOWNDATA", # HID:34720
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_0_CMDCANCEL", # HID:34721
- "HID:WIZARDS_HID_DLGHOLIDAYCAL_0_CMDOK" # HID:34722
- ]
- array2 = ["HID:WIZARDS_HID_LTRWIZ_OPTBUSINESSLETTER", # HID:40769
- "HID:WIZARDS_HID_LTRWIZ_OPTPRIVOFFICIALLETTER", # HID:40770
- "HID:WIZARDS_HID_LTRWIZ_OPTPRIVATELETTER", # HID:40771
- "HID:WIZARDS_HID_LTRWIZ_LSTBUSINESSSTYLE", # HID:40772
- "HID:WIZARDS_HID_LTRWIZ_CHKBUSINESSPAPER", # HID:40773
- "HID:WIZARDS_HID_LTRWIZ_LSTPRIVOFFICIALSTYLE", # HID:40774
- "HID:WIZARDS_HID_LTRWIZ_LSTPRIVATESTYLE", # HID:40775
- "HID:WIZARDS_HID_LTRWIZ_CHKPAPERCOMPANYLOGO", # HID:40776
- "HID:WIZARDS_HID_LTRWIZ_NUMLOGOHEIGHT", # HID:40777
- "HID:WIZARDS_HID_LTRWIZ_NUMLOGOX", # HID:40778
- "HID:WIZARDS_HID_LTRWIZ_NUMLOGOWIDTH", # HID:40779
- "HID:WIZARDS_HID_LTRWIZ_NUMLOGOY", # HID:40780
- "HID:WIZARDS_HID_LTRWIZ_CHKPAPERCOMPANYADDRESS", # HID:40781
- "HID:WIZARDS_HID_LTRWIZ_NUMADDRESSHEIGHT", # HID:40782
- "HID:WIZARDS_HID_LTRWIZ_NUMADDRESSX", # HID:40783
- "HID:WIZARDS_HID_LTRWIZ_NUMADDRESSWIDTH", # HID:40784
- "HID:WIZARDS_HID_LTRWIZ_NUMADDRESSY", # HID:40785
- "HID:WIZARDS_HID_LTRWIZ_CHKCOMPANYRECEIVER", # HID:40786
- "HID:WIZARDS_HID_LTRWIZ_CHKPAPERFOOTER", # HID:40787
- "HID:WIZARDS_HID_LTRWIZ_NUMFOOTERHEIGHT", # HID:40788
- "HID:WIZARDS_HID_LTRWIZ_LSTLETTERNORM", # HID:40789
- "HID:WIZARDS_HID_LTRWIZ_CHKUSELOGO", # HID:40790
- "HID:WIZARDS_HID_LTRWIZ_CHKUSEADDRESSRECEIVER", # HID:40791
- "HID:WIZARDS_HID_LTRWIZ_CHKUSESIGNS", # HID:40792
- "HID:WIZARDS_HID_LTRWIZ_CHKUSESUBJECT", # HID:40793
- "HID:WIZARDS_HID_LTRWIZ_CHKUSESALUTATION", # HID:40794
- "HID:WIZARDS_HID_LTRWIZ_LSTSALUTATION", # HID:40795
- "HID:WIZARDS_HID_LTRWIZ_CHKUSEBENDMARKS", # HID:40796
- "HID:WIZARDS_HID_LTRWIZ_CHKUSEGREETING", # HID:40797
- "HID:WIZARDS_HID_LTRWIZ_LSTGREETING", # HID:40798
- "HID:WIZARDS_HID_LTRWIZ_CHKUSEFOOTER", # HID:40799
- "HID:WIZARDS_HID_LTRWIZ_OPTSENDERPLACEHOLDER", # HID:40800
- "HID:WIZARDS_HID_LTRWIZ_OPTSENDERDEFINE", # HID:40801
- "HID:WIZARDS_HID_LTRWIZ_TXTSENDERNAME", # HID:40802
- "HID:WIZARDS_HID_LTRWIZ_TXTSENDERSTREET", # HID:40803
- "HID:WIZARDS_HID_LTRWIZ_TXTSENDERPOSTCODE", # HID:40804
- "HID:WIZARDS_HID_LTRWIZ_TXTSENDERSTATE_TEXT", # HID:40805
- "HID:WIZARDS_HID_LTRWIZ_TXTSENDERCITY", # HID:40806
- "HID:WIZARDS_HID_LTRWIZ_OPTRECEIVERPLACEHOLDER", # HID:40807
- "HID:WIZARDS_HID_LTRWIZ_OPTRECEIVERDATABASE", # HID:40808
- "HID:WIZARDS_HID_LTRWIZ_TXTFOOTER", # HID:40809
- "HID:WIZARDS_HID_LTRWIZ_CHKFOOTERNEXTPAGES", # HID:40810
- "HID:WIZARDS_HID_LTRWIZ_CHKFOOTERPAGENUMBERS", # HID:40811
- "HID:WIZARDS_HID_LTRWIZ_TXTTEMPLATENAME", # HID:40812
- "HID:WIZARDS_HID_LTRWIZ_OPTCREATELETTER", # HID:40813
- "HID:WIZARDS_HID_LTRWIZ_OPTMAKECHANGES", # HID:40814
- "HID:WIZARDS_HID_LTRWIZ_TXTPATH", # HID:40815
- "HID:WIZARDS_HID_LTRWIZ_CMDPATH", # HID:40816
- "",
- "",
- "",
- "HID:WIZARDS_HID_LTRWIZARD", # HID:40820
- "HID:WIZARDS_HID_LTRWIZARD_HELP", # HID:40821
- "HID:WIZARDS_HID_LTRWIZARD_BACK", # HID:40822
- "HID:WIZARDS_HID_LTRWIZARD_NEXT", # HID:40823
- "HID:WIZARDS_HID_LTRWIZARD_CREATE", # HID:40824
- "HID:WIZARDS_HID_LTRWIZARD_CANCEL", # HID:40825
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_QUERYWIZARD_LSTTABLES", # HID:40850
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFIELDS", # HID:40851
- "HID:WIZARDS_HID_QUERYWIZARD_CMDMOVESELECTED", # HID:40852
- "HID:WIZARDS_HID_QUERYWIZARD_CMDMOVEALL", # HID:40853
- "HID:WIZARDS_HID_QUERYWIZARD_CMDREMOVESELECTED", # HID:40854
- "HID:WIZARDS_HID_QUERYWIZARD_CMDREMOVEALL", # HID:40855
- "HID:WIZARDS_HID_QUERYWIZARD_LSTSELFIELDS", # HID:40856
- "HID:WIZARDS_HID_QUERYWIZARD_CMDMOVEUP", # HID:40857
- "HID:WIZARDS_HID_QUERYWIZARD_CMDMOVEDOWN", # HID:40858
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_QUERYWIZARD_SORT1", # HID:40865
- "HID:WIZARDS_HID_QUERYWIZARD_OPTASCEND1", # HID:40866
- "HID:WIZARDS_HID_QUERYWIZARD_OPTDESCEND1", # HID:40867
- "HID:WIZARDS_HID_QUERYWIZARD_SORT2", # HID:40868
- "HID:WIZARDS_HID_QUERYWIZARD_OPTASCEND2", # HID:40869
- "HID:WIZARDS_HID_QUERYWIZARD_OPTDESCEND2", # HID:40870
- "HID:WIZARDS_HID_QUERYWIZARD_SORT3", # HID:40871
- "HID:WIZARDS_HID_QUERYWIZARD_OPTASCEND3", # HID:40872
- "HID:WIZARDS_HID_QUERYWIZARD_OPTDESCEND3", # HID:40873
- "HID:WIZARDS_HID_QUERYWIZARD_SORT4", # HID:40874
- "HID:WIZARDS_HID_QUERYWIZARD_OPTASCEND4", # HID:40875
- "HID:WIZARDS_HID_QUERYWIZARD_OPTDESCEND4", # HID:40876
- "",
- "HID:WIZARDS_HID_QUERYWIZARD_OPTMATCHALL", # HID:40878
- "HID:WIZARDS_HID_QUERYWIZARD_OPTMATCHANY", # HID:40879
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFIELDNAME_1", # HID:40880
- "HID:WIZARDS_HID_QUERYWIZARD_LSTOPERATOR_1", # HID:40881
- "HID:WIZARDS_HID_QUERYWIZARD_TXTVALUE_1", # HID:40882
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFIELDNAME_2", # HID:40883
- "HID:WIZARDS_HID_QUERYWIZARD_LSTOPERATOR_2", # HID:40884
- "HID:WIZARDS_HID_QUERYWIZARD_TXTVALUE_2", # HID:40885
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFIELDNAME_3", # HID:40886
- "HID:WIZARDS_HID_QUERYWIZARD_LSTOPERATOR_3", # HID:40887
- "HID:WIZARDS_HID_QUERYWIZARD_TXTVALUE_3", # HID:40888
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_QUERYWIZARD_OPTAGGREGATEDETAILQUERY", # HID:40895
- "HID:WIZARDS_HID_QUERYWIZARD_OPTAGGREGATESUMMARYQUERY", # HID:40896
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFUNCTION_1", # HID:40897
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFIELDS_1", # HID:40898
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFUNCTION_2", # HID:40899
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFIELDS_2", # HID:40900
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFUNCTION_3", # HID:40901
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFIELDS_3", # HID:40902
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFUNCTION_4", # HID:40903
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFIELDS_4", # HID:40904
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFUNCTION_5", # HID:40905
- "HID:WIZARDS_HID_QUERYWIZARD_LSTAGGREGATEFIELDS_5", # HID:40906
- "HID:WIZARDS_HID_QUERYWIZARD_BTNAGGREGATEPLUS", # HID:40907
- "HID:WIZARDS_HID_QUERYWIZARD_BTNAGGREGATEMINUS", # HID:40908
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFILTERFIELDS", # HID:40915
- "HID:WIZARDS_HID_QUERYWIZARD_CMDFILTERMOVESELECTED", # HID:40916
- "HID:WIZARDS_HID_QUERYWIZARD_CMDFILTERREMOVESELECTED", # HID:40917
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFILTERSELFIELDS", # HID:40918
- "HID:WIZARDS_HID_QUERYWIZARD_CMDFILTERMOVEUP", # HID:40919
- "HID:WIZARDS_HID_QUERYWIZARD_CMDFILTERMOVEDOWN", # HID:40920
- "",
- "",
- "HID:WIZARDS_HID_QUERYWIZARD_OPTGROUPMATCHALL", # HID:40923
- "HID:WIZARDS_HID_QUERYWIZARD_OPTGROUPMATCHANY", # HID:40924
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFILTERFIELDNAME_1", # HID:40925
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFILTEROPERATOR_1", # HID:40926
- "HID:WIZARDS_HID_QUERYWIZARD_TXTFILTERVALUE_1", # HID:40927
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFILTERFIELDNAME_2", # HID:40928
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFILTEROPERATOR_2", # HID:40929
- "HID:WIZARDS_HID_QUERYWIZARD_TXTFILTERVALUE_2", # HID:40930
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFILTERFIELDNAME_3", # HID:40931
- "HID:WIZARDS_HID_QUERYWIZARD_LSTFILTEROPERATOR_3", # HID:40932
- "HID:WIZARDS_HID_QUERYWIZARD_TXTFILTERVALUE_3", # HID:40933
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_QUERYWIZARD_TXTTITLE_1", # HID:40940
- "HID:WIZARDS_HID_QUERYWIZARD_TXTTITLE_2", # HID:40941
- "HID:WIZARDS_HID_QUERYWIZARD_TXTTITLE_3", # HID:40942
- "HID:WIZARDS_HID_QUERYWIZARD_TXTTITLE_4", # HID:40943
- "HID:WIZARDS_HID_QUERYWIZARD_TXTTITLE_5", # HID:40944
- "HID:WIZARDS_HID_QUERYWIZARD_TXTTITLE_6", # HID:40945
- "HID:WIZARDS_HID_QUERYWIZARD_TXTTITLE_7", # HID:40946
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_QUERYWIZARD_TXTQUERYTITLE", # HID:40955
- "HID:WIZARDS_HID_QUERYWIZARD_OPTDISPLAYQUERY", # HID:40956
- "HID:WIZARDS_HID_QUERYWIZARD_OPTMODIFYQUERY", # HID:40957
- "HID:WIZARDS_HID_QUERYWIZARD_TXTSUMMARY", # HID:40958
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_QUERYWIZARD", # HID:40970
- "",
- "HID:WIZARDS_HID_QUERYWIZARD_BACK", # HID:40972
- "HID:WIZARDS_HID_QUERYWIZARD_NEXT", # HID:40973
- "HID:WIZARDS_HID_QUERYWIZARD_CREATE", # HID:40974
- "HID:WIZARDS_HID_QUERYWIZARD_CANCEL", # HID:40975
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_IS", # HID:41000
- "", "HID:WIZARDS_HID_IS_BTN_NONE", # HID:41002
- "HID:WIZARDS_HID_IS_BTN_OK", # HID:41003
- "HID:WIZARDS_HID_IS_BTN_CANCEL", # HID:41004
- "HID:WIZARDS_HID_IS_BTN_IMG1", # HID:41005
- "HID:WIZARDS_HID_IS_BTN_IMG2", # HID:41006
- "HID:WIZARDS_HID_IS_BTN_IMG3", # HID:41007
- "HID:WIZARDS_HID_IS_BTN_IMG4", # HID:41008
- "HID:WIZARDS_HID_IS_BTN_IMG5", # HID:41009
- "HID:WIZARDS_HID_IS_BTN_IMG6", # HID:41010
- "HID:WIZARDS_HID_IS_BTN_IMG7", # HID:41011
- "HID:WIZARDS_HID_IS_BTN_IMG8", # HID:41012
- "HID:WIZARDS_HID_IS_BTN_IMG9", # HID:41013
- "HID:WIZARDS_HID_IS_BTN_IMG10", # HID:41014
- "HID:WIZARDS_HID_IS_BTN_IMG11", # HID:41015
- "HID:WIZARDS_HID_IS_BTN_IMG12", # HID:41016
- "HID:WIZARDS_HID_IS_BTN_IMG13", # HID:41017
- "HID:WIZARDS_HID_IS_BTN_IMG14", # HID:41018
- "HID:WIZARDS_HID_IS_BTN_IMG15", # HID:41019
- "HID:WIZARDS_HID_IS_BTN_IMG16", # HID:41020
- "HID:WIZARDS_HID_IS_BTN_IMG17", # HID:41021
- "HID:WIZARDS_HID_IS_BTN_IMG18", # HID:41022
- "HID:WIZARDS_HID_IS_BTN_IMG19", # HID:41023
- "HID:WIZARDS_HID_IS_BTN_IMG20", # HID:41024
- "HID:WIZARDS_HID_IS_BTN_IMG21", # HID:41025
- "HID:WIZARDS_HID_IS_BTN_IMG22", # HID:41026
- "HID:WIZARDS_HID_IS_BTN_IMG23", # HID:41027
- "HID:WIZARDS_HID_IS_BTN_IMG24", # HID:41028
- "HID:WIZARDS_HID_IS_BTN_IMG25", # HID:41029
- "HID:WIZARDS_HID_IS_BTN_IMG26", # HID:41030
- "HID:WIZARDS_HID_IS_BTN_IMG27", # HID:41031
- "HID:WIZARDS_HID_IS_BTN_IMG28", # HID:41032
- "HID:WIZARDS_HID_IS_BTN_IMG29", # HID:41033
- "HID:WIZARDS_HID_IS_BTN_IMG30", # HID:41034
- "HID:WIZARDS_HID_IS_BTN_IMG31", # HID:41035
- "HID:WIZARDS_HID_IS_BTN_IMG32", # HID:41036
- "",
- "",
- "",
- "HID:WIZARDS_HID_FTP", # HID:41040
- "HID:WIZARDS_HID_FTP_SERVER", # HID:41041
- "HID:WIZARDS_HID_FTP_USERNAME", # HID:41042
- "HID:WIZARDS_HID_FTP_PASS", # HID:41043
- "HID:WIZARDS_HID_FTP_TEST", # HID:41044
- "HID:WIZARDS_HID_FTP_TXT_PATH", # HID:41045
- "HID:WIZARDS_HID_FTP_BTN_PATH", # HID:41046
- "HID:WIZARDS_HID_FTP_OK", # HID:41047
- "HID:WIZARDS_HID_FTP_CANCEL", # HID:41048
- "",
- "",
- "HID:WIZARDS_HID_AGWIZ", # HID:41051
- "HID:WIZARDS_HID_AGWIZ_HELP", # HID:41052
- "HID:WIZARDS_HID_AGWIZ_NEXT", # HID:41053
- "HID:WIZARDS_HID_AGWIZ_PREV", # HID:41054
- "HID:WIZARDS_HID_AGWIZ_CREATE", # HID:41055
- "HID:WIZARDS_HID_AGWIZ_CANCEL", # HID:41056
- "HID:WIZARDS_HID_AGWIZ_1_LIST_PAGEDESIGN", # HID:41057
- "HID:WIZARDS_HID_AGWIZ_1_CHK_MINUTES", # HID:41058
- "HID:WIZARDS_HID_AGWIZ_2_TXT_TIME", # HID:41059
- "HID:WIZARDS_HID_AGWIZ_2_TXT_DATE", # HID:41060
- "HID:WIZARDS_HID_AGWIZ_2_TXT_TITLE", # HID:41061
- "HID:WIZARDS_HID_AGWIZ_2_TXT_LOCATION", # HID:41062
- "HID:WIZARDS_HID_AGWIZ_3_CHK_MEETING_TYPE", # HID:41063
- "HID:WIZARDS_HID_AGWIZ_3_CHK_READ", # HID:41064
- "HID:WIZARDS_HID_AGWIZ_3_CHK_BRING", # HID:41065
- "HID:WIZARDS_HID_AGWIZ_3_CHK_NOTES", # HID:41066
- "HID:WIZARDS_HID_AGWIZ_4_CHK_CALLED_BY", # HID:41067
- "HID:WIZARDS_HID_AGWIZ_4_CHK_FACILITATOR", # HID:41068
- "HID:WIZARDS_HID_AGWIZ_4_CHK_NOTETAKER", # HID:41069
- "HID:WIZARDS_HID_AGWIZ_4_CHK_TIMEKEEPER", # HID:41070
- "HID:WIZARDS_HID_AGWIZ_4_CHK_ATTENDEES", # HID:41071
- "HID:WIZARDS_HID_AGWIZ_4_CHK_OBSERVERS", # HID:41072
- "HID:WIZARDS_HID_AGWIZ_4_CHK_RESOURCEPERSONS", # HID:41073
- "HID:WIZARDS_HID_AGWIZ_6_TXT_TEMPLATENAME", # HID:41074
- "HID:WIZARDS_HID_AGWIZ_6_TXT_TEMPLATEPATH", # HID:41075
- "HID:WIZARDS_HID_AGWIZ_6_BTN_TEMPLATEPATH", # HID:41076
- "HID:WIZARDS_HID_AGWIZ_6_OPT_CREATEAGENDA", # HID:41077
- "HID:WIZARDS_HID_AGWIZ_6_OPT_MAKECHANGES", # HID:41078
- "HID:WIZARDS_HID_AGWIZ_5_BTN_INSERT", # HID:41079
- "HID:WIZARDS_HID_AGWIZ_5_BTN_REMOVE", # HID:41080
- "HID:WIZARDS_HID_AGWIZ_5_BTN_UP", # HID:41081
- "HID:WIZARDS_HID_AGWIZ_5_BTN_DOWN", # HID:41082
- "HID:WIZARDS_HID_AGWIZ_5_SCROLL_BAR", # HID:41083
- "HID:WIZARDS_HID_AGWIZ_5_TXT_TOPIC_1", # HID:41084
- "HID:WIZARDS_HID_AGWIZ_5_TXT_RESPONSIBLE_1", # HID:41085
- "HID:WIZARDS_HID_AGWIZ_5_TXT_MINUTES_1", # HID:41086
- "HID:WIZARDS_HID_AGWIZ_5_TXT_TOPIC_2", # HID:41087
- "HID:WIZARDS_HID_AGWIZ_5_TXT_RESPONSIBLE_2", # HID:41088
- "HID:WIZARDS_HID_AGWIZ_5_TXT_MINUTES_2", # HID:41089
- "HID:WIZARDS_HID_AGWIZ_5_TXT_TOPIC_3", # HID:41090
- "HID:WIZARDS_HID_AGWIZ_5_TXT_RESPONSIBLE_3", # HID:41091
- "HID:WIZARDS_HID_AGWIZ_5_TXT_MINUTES_3", # HID:41092
- "HID:WIZARDS_HID_AGWIZ_5_TXT_TOPIC_4", # HID:41093
- "HID:WIZARDS_HID_AGWIZ_5_TXT_RESPONSIBLE_4", # HID:41094
- "HID:WIZARDS_HID_AGWIZ_5_TXT_MINUTES_4", # HID:41095
- "HID:WIZARDS_HID_AGWIZ_5_TXT_TOPIC_5", # HID:41096
- "HID:WIZARDS_HID_AGWIZ_5_TXT_RESPONSIBLE_5", # HID:41097
- "HID:WIZARDS_HID_AGWIZ_5_TXT_MINUTES_5", # HID:41098
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_FAXWIZ_OPTBUSINESSFAX", # HID:41120
- "HID:WIZARDS_HID_FAXWIZ_LSTBUSINESSSTYLE", # HID:41121
- "HID:WIZARDS_HID_FAXWIZ_OPTPRIVATEFAX", # HID:41122
- "HID:WIZARDS_HID_LSTPRIVATESTYLE", # HID:41123
- "HID:WIZARDS_HID_IMAGECONTROL3", # HID:41124
- "HID:WIZARDS_HID_CHKUSELOGO", # HID:41125
- "HID:WIZARDS_HID_CHKUSEDATE", # HID:41126
- "HID:WIZARDS_HID_CHKUSECOMMUNICATIONTYPE", # HID:41127
- "HID:WIZARDS_HID_LSTCOMMUNICATIONTYPE", # HID:41128
- "HID:WIZARDS_HID_CHKUSESUBJECT", # HID:41129
- "HID:WIZARDS_HID_CHKUSESALUTATION", # HID:41130
- "HID:WIZARDS_HID_LSTSALUTATION", # HID:41131
- "HID:WIZARDS_HID_CHKUSEGREETING", # HID:41132
- "HID:WIZARDS_HID_LSTGREETING", # HID:41133
- "HID:WIZARDS_HID_CHKUSEFOOTER", # HID:41134
- "HID:WIZARDS_HID_OPTSENDERPLACEHOLDER", # HID:41135
- "HID:WIZARDS_HID_OPTSENDERDEFINE", # HID:41136
- "HID:WIZARDS_HID_TXTSENDERNAME", # HID:41137
- "HID:WIZARDS_HID_TXTSENDERSTREET", # HID:41138
- "HID:WIZARDS_HID_TXTSENDERPOSTCODE", # HID:41139
- "HID:WIZARDS_HID_TXTSENDERSTATE", # HID:41140
- "HID:WIZARDS_HID_TXTSENDERCITY", # HID:41141
- "HID:WIZARDS_HID_TXTSENDERFAX", # HID:41142
- "HID:WIZARDS_HID_OPTRECEIVERPLACEHOLDER", # HID:41143
- "HID:WIZARDS_HID_OPTRECEIVERDATABASE", # HID:41144
- "HID:WIZARDS_HID_TXTFOOTER", # HID:41145
- "HID:WIZARDS_HID_CHKFOOTERNEXTPAGES", # HID:41146
- "HID:WIZARDS_HID_CHKFOOTERPAGENUMBERS", # HID:41147
- "HID:WIZARDS_HID_TXTTEMPLATENAME", # HID:41148
- "HID:WIZARDS_HID_FILETEMPLATEPATH", # HID:41149
- "HID:WIZARDS_HID_OPTCREATEFAX", # HID:41150
- "HID:WIZARDS_HID_OPTMAKECHANGES", # HID:41151
- "HID:WIZARDS_HID_IMAGECONTROL2", # HID:41152
- "HID:WIZARDS_HID_FAXWIZ_TXTPATH", # HID:41153
- "HID:WIZARDS_HID_FAXWIZ_CMDPATH", # HID:41154
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_FAXWIZARD", # HID:41180
- "HID:WIZARDS_HID_FAXWIZARD_HELP", # HID:41181
- "HID:WIZARDS_HID_FAXWIZARD_BACK", # HID:41182
- "HID:WIZARDS_HID_FAXWIZARD_NEXT", # HID:41183
- "HID:WIZARDS_HID_FAXWIZARD_CREATE", # HID:41184
- "HID:WIZARDS_HID_FAXWIZARD_CANCEL", # HID:41185
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGTABLE_DIALOG", # HID:41200
- "",
- "HID:WIZARDS_HID_DLGTABLE_CMDPREV", # HID:41202
- "HID:WIZARDS_HID_DLGTABLE_CMDNEXT", # HID:41203
- "HID:WIZARDS_HID_DLGTABLE_CMDFINISH", # HID:41204
- "HID:WIZARDS_HID_DLGTABLE_CMDCANCEL", # HID:41205
- "HID:WIZARDS_HID_DLGTABLE_OPTBUSINESS", # HID:41206
- "HID:WIZARDS_HID_DLGTABLE_OPTPRIVATE", # HID:41207
- "HID:WIZARDS_HID_DLGTABLE_LBTABLES", # HID:41208
- "HID:WIZARDS_HID_DLGTABLE_FIELDSAVAILABLE", # HID:41209
- "HID:WIZARDS_HID_DLGTABLE_CMDMOVESELECTED", # HID:41210
- "HID:WIZARDS_HID_DLGTABLE_CMDMOVEALL", # HID:41211
- "HID:WIZARDS_HID_DLGTABLE_CMDREMOVESELECTED", # HID:41212
- "HID:WIZARDS_HID_DLGTABLE_CMDREMOVEALL", # HID:41213
- "HID:WIZARDS_HID_DLGTABLE_FIELDSSELECTED", # HID:41214
- "HID:WIZARDS_HID_DLGTABLE_CMDMOVEUP", # HID:41215
- "HID:WIZARDS_HID_DLGTABLE_CMDMOVEDOWN", # HID:41216
- "",
- "",
- "",
- "HID:WIZARDS_HID_DLGTABLE_LB_SELFIELDNAMES", # HID:41220
- "HID:WIZARDS_HID_DLGTABLE_CMDMOVEFIELDUP", # HID:41221
- "HID:WIZARDS_HID_DLGTABLE_CMDMOVEFIELDDOWN", # HID:41222
- "HID:WIZARDS_HID_DLGTABLE_CMDMINUS", # HID:41223
- "HID:WIZARDS_HID_DLGTABLE_CMDPLUS", # HID:41224
- "HID:WIZARDS_HID_DLGTABLE_COLNAME", # HID:41225
- "HID:WIZARDS_HID_DLGTABLE_COLMODIFIER", # HID:41226
- "HID:WIZARDS_HID_DLGTABLE_CHK_USEPRIMEKEY", # HID:41227
- "HID:WIZARDS_HID_DLGTABLE_OPT_PK_AUTOMATIC", # HID:41228
- "HID:WIZARDS_HID_DLGTABLE_CK_PK_AUTOVALUE_AUTOMATIC", # HID:41229
- "HID:WIZARDS_HID_DLGTABLE_OPT_PK_SINGLE", # HID:41230
- "HID:WIZARDS_HID_DLGTABLE_LB_PK_FIELDNAME", # HID:41231
- "HID:WIZARDS_HID_DLGTABLE_CK_PK_AUTOVALUE", # HID:41232
- "HID:WIZARDS_HID_DLGTABLE_OPT_PK_SEVERAL", # HID:41233
- "HID:WIZARDS_HID_DLGTABLE_FIELDS_PK_AVAILABLE", # HID:41234
- "HID:WIZARDS_HID_DLGTABLE_CMDMOVE_PK_SELECTED", # HID:41235
- "HID:WIZARDS_HID_DLGTABLE_CMDREMOVE_PK_SELECTED", # HID:41236
- "HID:WIZARDS_HID_DLGTABLE_FIELDS_PK_SELECTED", # HID:41237
- "HID:WIZARDS_HID_DLGTABLE_CMDMOVEUP_PK_SELECTED", # HID:41238
- "HID:WIZARDS_HID_DLGTABLE_CMDMOVEDOWN_PK_SELECTED", # HID:41239
- "HID:WIZARDS_HID_DLGTABLE_TXT_NAME", # HID:41240
- "HID:WIZARDS_HID_DLGTABLE_OPT_MODIFYTABLE", # HID:41241
- "HID:WIZARDS_HID_DLGTABLE_OPT_WORKWITHTABLE", # HID:41242
- "HID:WIZARDS_HID_DLGTABLE_OPT_STARTFORMWIZARD", # HID:41243
- "HID:WIZARDS_HID_DLGTABLE_LST_CATALOG", # HID:41244
- "HID:WIZARDS_HID_DLGTABLE_LST_SCHEMA" # HID:41245
- ]
-
- @classmethod
- def getHelpIdString(self, nHelpId):
- if nHelpId >= 34200 and nHelpId <= 34722:
- return HelpIds.array1[nHelpId - 34200]
- elif nHelpId >= 40769 and nHelpId <= 41245:
- return HelpIds.array2[nHelpId - 40769]
- else:
- return None
diff --git a/wizards/com/sun/star/wizards/common/Helper.py b/wizards/com/sun/star/wizards/common/Helper.py
deleted file mode 100644
index a31a6376fe8d..000000000000
--- a/wizards/com/sun/star/wizards/common/Helper.py
+++ /dev/null
@@ -1,159 +0,0 @@
-import uno
-import traceback
-from datetime import date as DateTime
-from com.sun.star.uno import RuntimeException
-from NumberFormatter import NumberFormatter
-
-class Helper(object):
-
- @classmethod
- def setUnoPropertyValue(self, xPSet, PropertyName, PropertyValue):
- try:
- if PropertyValue is not None:
- setattr(xPSet, PropertyName, PropertyValue)
-
- except AttributeError:
- raise AttributeError, "No Such Property: '%s'" % PropertyName
- except Exception:
- traceback.print_exc()
-
- @classmethod
- def getUnoObjectbyName(self, xName, ElementName):
- try:
- if xName.hasByName(ElementName):
- return xName.getByName(ElementName)
- else:
- raise RuntimeException()
-
- except Exception, exception:
- traceback.print_exc()
- return None
-
- @classmethod
- def getPropertyValue(self, CurPropertyValue, PropertyName):
- for i in CurPropertyValue:
- if i is not None:
- if i.Name == PropertyName:
- return i.Value
-
- raise RuntimeException()
-
- @classmethod
- def getUnoPropertyValue(self, xPSet, PropertyName):
- try:
- if xPSet is not None:
- oObject = xPSet.getPropertyValue(PropertyName)
- return oObject
- return None
-
- except Exception, exception:
- traceback.print_exc()
- return None
-
- @classmethod
- def getUnoArrayPropertyValue(self, xPSet, PropertyName):
- try:
- if xPSet is not None:
- oObject = xPSet.getPropertyValue(PropertyName)
- if isinstance(oObject,list):
- return getArrayValue(oObject)
-
- except Exception, exception:
- traceback.print_exc()
-
- return None
-
- @classmethod
- def getUnoStructValue(self, xPSet, PropertyName):
- try:
- if xPSet is not None:
- if xPSet.getPropertySetInfo().hasPropertyByName(PropertyName):
- oObject = xPSet.getPropertyValue(PropertyName)
- return oObject
-
- return None
- except Exception, exception:
- traceback.print_exc()
- return None
-
- @classmethod
- def setUnoPropertyValues(self, xMultiPSetLst, PropertyNames,
- PropertyValues):
- try:
- if xMultiPSetLst is not None:
- uno.invoke(xMultiPSetLst, "setPropertyValues",
- (PropertyNames, PropertyValues))
- else:
- for index, workwith in enumerate(PropertyNames):
- self.setUnoPropertyValue(
- xMultiPSetLst, PropertyNames[index], workwith)
-
- except Exception:
- traceback.print_exc()
-
- '''
- checks if the value of an object that represents an array is null.
- check beforehand if the Object is really an array with
- "AnyConverter.IsArray(oObject)
- @param oValue the paramter that has to represent an object
- @return a null reference if the array is empty
- '''
-
- @classmethod
- def getArrayValue(self, oValue):
- try:
- #VetoableChangeSupport Object
- oPropList = list(oValue)
- nlen = len(oPropList)
- if nlen == 0:
- return None
- else:
- return oPropList
-
- except Exception, exception:
- traceback.print_exc()
- return None
-
- def getComponentContext(_xMSF):
- #Get the path to the extension and
- #try to add the path to the class loader
- aHelper = PropertySetHelper(_xMSF);
- aDefaultContext = aHelper.getPropertyValueAsObject("DefaultContext")
- return aDefaultContext;
-
- def getMacroExpander(_xMSF):
- xComponentContext = self.getComponentContext(_xMSF);
- aSingleton = xComponentContext.getValueByName(
- "/singletons/com.sun.star.util.theMacroExpander")
- return aSingleton;
-
- class DateUtils(object):
-
- def __init__(self, xmsf, document):
- defaults = xmsf.createInstance("com.sun.star.text.Defaults")
- l = Helper.getUnoStructValue(defaults, "CharLocale")
- self.formatSupplier = document
- formatSettings = self.formatSupplier.getNumberFormatSettings()
- date = Helper.getUnoPropertyValue(formatSettings, "NullDate")
- self.calendar = DateTime(date.Year, date.Month, date.Day)
- self.formatter = NumberFormatter.createNumberFormatter(xmsf,
- self.formatSupplier)
-
- '''
- @param format a constant of the enumeration NumberFormatIndex
- @return
- '''
-
- def getFormat(self, format):
- return NumberFormatter.getNumberFormatterKey(
- self.formatSupplier, format)
-
- '''
- @param date a VCL date in form of 20041231
- @return a document relative date
- '''
-
- def format(self, formatIndex, date):
- difference = date - self.calendar
- return self.formatter.convertNumberToString(formatIndex,
- difference.days)
diff --git a/wizards/com/sun/star/wizards/common/NoValidPathException.py b/wizards/com/sun/star/wizards/common/NoValidPathException.py
deleted file mode 100644
index 53db155e2e6d..000000000000
--- a/wizards/com/sun/star/wizards/common/NoValidPathException.py
+++ /dev/null
@@ -1,10 +0,0 @@
-class NoValidPathException(Exception):
-
- def __init__(self, xMSF, _sText):
- super(NoValidPathException,self).__init__(_sText)
- # TODO: NEVER open a dialog in an exception
- from SystemDialog import SystemDialog
- if xMSF:
- SystemDialog.showErrorBox(xMSF,
- "dbwizres", "dbw", 521) #OfficePathnotavailable
-
diff --git a/wizards/com/sun/star/wizards/common/NumberFormatter.py b/wizards/com/sun/star/wizards/common/NumberFormatter.py
deleted file mode 100644
index a3deb173022f..000000000000
--- a/wizards/com/sun/star/wizards/common/NumberFormatter.py
+++ /dev/null
@@ -1,231 +0,0 @@
-import traceback
-from com.sun.star.lang import Locale
-from com.sun.star.util.NumberFormat import DATE, LOGICAL, DATETIME, TEXT, NUMBER
-
-class NumberFormatter(object):
-
- def __init__(self, _xNumberFormatsSupplier, _aLocale, _xMSF=None):
- self.iDateFormatKey = -1
- self.iDateTimeFormatKey = -1
- self.iNumberFormatKey = -1
- self.iTextFormatKey = -1
- self.iTimeFormatKey = -1
- self.iLogicalFormatKey = -1
- self.bNullDateCorrectionIsDefined = False
- self.aLocale = _aLocale
- if _xMSF is not None:
- self.xNumberFormatter = _xMSF.createInstance(
- "com.sun.star.util.NumberFormatter")
- self.xNumberFormats = _xNumberFormatsSupplier.NumberFormats
- self.xNumberFormatSettings = \
- _xNumberFormatsSupplier.NumberFormatSettings
- self.xNumberFormatter.attachNumberFormatsSupplier(
- _xNumberFormatsSupplier)
-
- '''
- @param _xMSF
- @param _xNumberFormatsSupplier
- @return
- @throws Exception
- @deprecated
- '''
-
- @classmethod
- def createNumberFormatter(self, _xMSF, _xNumberFormatsSupplier):
- oNumberFormatter = _xMSF.createInstance(
- "com.sun.star.util.NumberFormatter")
- oNumberFormatter.attachNumberFormatsSupplier(_xNumberFormatsSupplier)
- return oNumberFormatter
-
- '''
- gives a key to pass to a NumberFormat object. <br/>
- example: <br/>
- <pre>
- XNumberFormatsSupplier nsf =
- (XNumberFormatsSupplier)UnoRuntime.queryInterface(...,document)
- int key = Desktop.getNumberFormatterKey(
- nsf, ...star.i18n.NumberFormatIndex.DATE...)
- XNumberFormatter nf = Desktop.createNumberFormatter(xmsf, nsf);
- nf.convertNumberToString( key, 1972 );
- </pre>
- @param numberFormatsSupplier
- @param type - a constant out of i18n.NumberFormatIndex enumeration.
- @return a key to use with a util.NumberFormat instance.
- '''
-
- @classmethod
- def getNumberFormatterKey(self, numberFormatsSupplier, Type):
- return numberFormatsSupplier.NumberFormats.getFormatIndex(
- Type, Locale())
-
- def convertNumberToString(self, _nkey, _dblValue, _xNumberFormatter=None):
- if _xNumberFormatter is None:
- return self.xNumberFormatter.convertNumberToString(
- _nkey, _dblValue)
- else:
- return _xNumberFormatter.convertNumberToString(_nkey, _dblValue)
-
- def convertStringToNumber(self, _nkey, _sString):
- return self.xNumberFormatter.convertStringToNumber(_nkey, _sString)
-
- '''
- @param dateCorrection The lDateCorrection to set.
- '''
-
- def setNullDateCorrection(self, dateCorrection):
- self.lDateCorrection = dateCorrection
-
- def defineNumberFormat(self, _FormatString):
- try:
- NewFormatKey = self.xNumberFormats.queryKey(
- _FormatString, self.aLocale, True)
- if NewFormatKey is -1:
- NewFormatKey = self.xNumberFormats.addNew(
- _FormatString, self.aLocale)
-
- return NewFormatKey
- except Exception, e:
- traceback.print_exc()
- return -1
-
- '''
- returns a numberformat for a FormatString.
- @param _FormatString
- @param _aLocale
- @return
- '''
-
- def defineNumberFormat(self, _FormatString, _aLocale):
- try:
- NewFormatKey = self.xNumberFormats.queryKey(
- _FormatString, _aLocale, True)
- if NewFormatKey == -1:
- NewFormatKey = self.xNumberFormats.addNew(
- _FormatString, _aLocale)
-
- return NewFormatKey
- except Exception, e:
- traceback.print_exc()
- return -1
-
- def setNumberFormat(self, _xFormatObject, _FormatKey, _oNumberFormatter):
- try:
- xNumberFormat = _oNumberFormatter.xNumberFormats.getByKey(
- _FormatKey)
- FormatString = str(Helper.getUnoPropertyValue(
- xNumberFormat, "FormatString"))
- oLocale = Helper.getUnoPropertyValue(xNumberFormat, "Locale")
- NewFormatKey = defineNumberFormat(FormatString, oLocale)
- _xFormatObject.setPropertyValue(
- "FormatsSupplier",
- _oNumberFormatter.xNumberFormatter.getNumberFormatsSupplier())
- if _xFormatObject.getPropertySetInfo().hasPropertyByName(
- "NumberFormat"):
- _xFormatObject.setPropertyValue("NumberFormat", NewFormatKey)
- elif _xFormatObject.getPropertySetInfo().hasPropertyByName(
- "FormatKey"):
- _xFormatObject.setPropertyValue("FormatKey", NewFormatKey)
- else:
- # TODO: throws a exception in a try catch environment, very helpful?
- raise Exception
-
- except Exception, exception:
- traceback.print_exc()
-
- def getNullDateCorrection(self):
- if not self.bNullDateCorrectionIsDefined:
- dNullDate = Helper.getUnoStructValue(
- self.xNumberFormatSettings, "NullDate")
- lNullDate = Helper.convertUnoDatetoInteger(dNullDate)
- oCal = java.util.Calendar.getInstance()
- oCal.set(1900, 1, 1)
- dTime = oCal.getTime()
- lTime = dTime.getTime()
- lDBNullDate = lTime / (3600 * 24000)
- self.lDateCorrection = lDBNullDate - lNullDate
- return self.lDateCorrection
- else:
- return self.lDateCorrection
-
- def setBooleanReportDisplayNumberFormat(self):
- FormatString = "[=1]" + str(9745) + ";[=0]" + str(58480) + ";0"
- self.iLogicalFormatKey = self.xNumberFormats.queryKey(
- FormatString, self.aLocale, True)
- try:
- if self.iLogicalFormatKey == -1:
- self.iLogicalFormatKey = self.xNumberFormats.addNew(
- FormatString, self.aLocale)
-
- except Exception, e:
- #MalformedNumberFormat
- traceback.print_exc()
- self.iLogicalFormatKey = self.xNumberFormats.getStandardFormat(
- NumberFormat.LOGICAL, self.aLocale)
-
- return self.iLogicalFormatKey
-
- '''
- @return Returns the iDateFormatKey.
- '''
-
- def getDateFormatKey(self):
- if self.iDateFormatKey == -1:
- self.iDateFormatKey = self.xNumberFormats.getStandardFormat(
- NumberFormat.DATE, self.aLocale)
-
- return self.iDateFormatKey
-
- '''
- @return Returns the iDateTimeFormatKey.
- '''
-
- def getDateTimeFormatKey(self):
- if self.iDateTimeFormatKey == -1:
- self.iDateTimeFormatKey = self.xNumberFormats.getStandardFormat(
- NumberFormat.DATETIME, self.aLocale)
-
- return self.iDateTimeFormatKey
-
- '''
- @return Returns the iLogicalFormatKey.
- '''
-
- def getLogicalFormatKey(self):
- if self.iLogicalFormatKey == -1:
- self.iLogicalFormatKey = self.xNumberFormats.getStandardFormat(
- NumberFormat.LOGICAL, self.aLocale)
-
- return self.iLogicalFormatKey
-
- '''
- @return Returns the iNumberFormatKey.
- '''
-
- def getNumberFormatKey(self):
- if self.iNumberFormatKey == -1:
- self.iNumberFormatKey = self.xNumberFormats.getStandardFormat(
- NumberFormat.NUMBER, self.aLocale)
-
- return self.iNumberFormatKey
-
- '''
- @return Returns the iTextFormatKey.
- '''
-
- def getTextFormatKey(self):
- if self.iTextFormatKey == -1:
- self.iTextFormatKey = self.xNumberFormats.getStandardFormat(
- NumberFormat.TEXT, self.aLocale)
-
- return self.iTextFormatKey
-
- '''
- @return Returns the iTimeFormatKey.
- '''
-
- def getTimeFormatKey(self):
- if self.iTimeFormatKey == -1:
- self.iTimeFormatKey = self.xNumberFormats.getStandardFormat(
- NumberFormat.TIME, self.aLocale)
-
- return self.iTimeFormatKey
diff --git a/wizards/com/sun/star/wizards/common/Properties.py b/wizards/com/sun/star/wizards/common/Properties.py
deleted file mode 100644
index 4a906ed27d79..000000000000
--- a/wizards/com/sun/star/wizards/common/Properties.py
+++ /dev/null
@@ -1,43 +0,0 @@
-from com.sun.star.beans import PropertyValue
-
-'''
-Simplifies handling Arrays of PropertyValue.
-To make a use of this class, instantiate it, and call
-the put(propName,propValue) method.
-caution: propName should always be a String.
-When finished, call the getProperties() method to get an array of the set properties.
-@author rp
-'''
-
-class Properties(dict):
-
- @classmethod
- def getPropertyValue(self, props, propName):
- for i in props:
- if propName == i.Name:
- return i.Value
-
- raise AttributeError ("Property '" + propName + "' not found.")
-
- @classmethod
- def hasPropertyValue(self, props, propName):
- for i in props:
- if propName == i.Name:
- return True
- return False
-
- @classmethod
- def getProperties(self, _map):
- pv = []
- for k,v in _map.items():
- pv.append(self.createProperty(k, v))
- return pv
-
- @classmethod
- def createProperty(self, name, value, handle=None):
- pv = PropertyValue()
- pv.Name = name
- pv.Value = value
- if handle is not None:
- pv.Handle = handle
- return pv
diff --git a/wizards/com/sun/star/wizards/common/PropertyNames.py b/wizards/com/sun/star/wizards/common/PropertyNames.py
deleted file mode 100644
index c1dde18522f3..000000000000
--- a/wizards/com/sun/star/wizards/common/PropertyNames.py
+++ /dev/null
@@ -1,15 +0,0 @@
-class PropertyNames:
- PROPERTY_ENABLED = "Enabled"
- PROPERTY_HEIGHT = "Height"
- PROPERTY_HELPURL = "HelpURL"
- PROPERTY_POSITION_X = "PositionX"
- PROPERTY_POSITION_Y = "PositionY"
- PROPERTY_LABEL = "Label"
- PROPERTY_MULTILINE = "MultiLine"
- PROPERTY_NAME = "Name"
- PROPERTY_STEP = "Step"
- PROPERTY_WIDTH = "Width"
- PROPERTY_TABINDEX = "TabIndex"
- PROPERTY_STATE = "State"
- PROPERTY_IMAGEURL = "ImageURL"
-
diff --git a/wizards/com/sun/star/wizards/common/PropertySetHelper.py b/wizards/com/sun/star/wizards/common/PropertySetHelper.py
deleted file mode 100644
index 2fce42abce53..000000000000
--- a/wizards/com/sun/star/wizards/common/PropertySetHelper.py
+++ /dev/null
@@ -1,250 +0,0 @@
-from DebugHelper import *
-
-class PropertySetHelper(object):
-
- @classmethod
- def __init__(self, _aObj):
- if not _aObj:
- return
-
- self.m_xPropertySet = _aObj
-
- def getHashMap(self):
- if self.m_aHashMap == None:
- self.m_aHashMap = HashMap < String, Object >.Object()
-
- return self.m_aHashMap
-
- '''
- set a property, don't throw any exceptions,
- they will only write down as a hint in the helper debug output
- @param _sName name of the property to set
- @param _aValue property value as object
- '''
-
- def setPropertyValueDontThrow(self, _sName, _aValue):
- try:
- setPropertyValue(_sName, _aValue)
- except Exception, e:
- DebugHelper.writeInfo(
- "Don't throw the exception with property name(" \
- + _sName + " ) : " + e.getMessage())
-
- '''
- set a property,
- @param _sName name of the property to set
- @param _aValue property value as object
- @throws java.lang.Exception
- '''
-
- def setPropertyValue(self, _sName, _aValue):
- if self.m_xPropertySet != None:
- try:
- self.m_xPropertySet.setPropertyValue(_sName, _aValue)
- except com.sun.star.beans.UnknownPropertyException, e:
- DebugHelper.writeInfo(e.getMessage())
- DebugHelper.exception(e)
- except com.sun.star.beans.PropertyVetoException, e:
- DebugHelper.writeInfo(e.getMessage())
- DebugHelper.exception(e)
- except ValueError, e:
- DebugHelper.writeInfo(e.getMessage())
- DebugHelper.exception(e)
- except com.sun.star.lang.WrappedTargetException, e:
- DebugHelper.writeInfo(e.getMessage())
- DebugHelper.exception(e)
-
- else:
- getHashMap().put(_sName, _aValue)
-
- '''
- get a property and convert it to a int value
- @param _sName the string name of the property
- @param _nDefault if an error occur, return this value
- @return the int value of the property
- '''
-
- def getPropertyValueAsInteger(self, _sName, _nDefault):
- aObject = None
- nValue = _nDefault
- if self.m_xPropertySet != None:
- try:
- aObject = self.m_xPropertySet.getPropertyValue(_sName)
- except com.sun.star.beans.UnknownPropertyException, e:
- DebugHelper.writeInfo(e.getMessage())
- except com.sun.star.lang.WrappedTargetException, e:
- DebugHelper.writeInfo(e.getMessage())
-
- if aObject != None:
- try:
- nValue = NumericalHelper.toInt(aObject)
- except ValueError, e:
- DebugHelper.writeInfo(
- "can't convert a object to integer.")
-
- return nValue
-
- '''
- get a property and convert it to a short value
- @param _sName the string name of the property
- @param _nDefault if an error occur, return this value
- @return the int value of the property
- '''
-
- def getPropertyValueAsShort(self, _sName, _nDefault):
- aObject = None
- nValue = _nDefault
- if self.m_xPropertySet != None:
- try:
- aObject = self.m_xPropertySet.getPropertyValue(_sName)
- except com.sun.star.beans.UnknownPropertyException, e:
- DebugHelper.writeInfo(e.getMessage())
- except com.sun.star.lang.WrappedTargetException, e:
- DebugHelper.writeInfo(e.getMessage())
-
- if aObject != None:
- try:
- nValue = NumericalHelper.toShort(aObject)
- except ValueError, e:
- DebugHelper.writeInfo("can't convert a object to short.")
-
- return nValue
-
- '''
- get a property and convert it to a double value
- @param _sName the string name of the property
- @param _nDefault if an error occur, return this value
- @return the int value of the property
- '''
-
- def getPropertyValueAsDouble(self, _sName, _nDefault):
- aObject = None
- nValue = _nDefault
- if self.m_xPropertySet != None:
- try:
- aObject = self.m_xPropertySet.getPropertyValue(_sName)
- except com.sun.star.beans.UnknownPropertyException, e:
- DebugHelper.writeInfo(e.getMessage())
- except com.sun.star.lang.WrappedTargetException, e:
- DebugHelper.writeInfo(e.getMessage())
-
- if aObject == None:
- if getHashMap().containsKey(_sName):
- aObject = getHashMap().get(_sName)
-
- if aObject != None:
- try:
- nValue = NumericalHelper.toDouble(aObject)
- except ValueError, e:
- DebugHelper.writeInfo("can't convert a object to integer.")
-
- return nValue
-
- '''
- get a property and convert it to a boolean value
- @param _sName the string name of the property
- @param _bDefault if an error occur, return this value
- @return the boolean value of the property
- '''
-
- def getPropertyValueAsBoolean(self, _sName, _bDefault):
- aObject = None
- bValue = _bDefault
- if self.m_xPropertySet != None:
- try:
- aObject = self.m_xPropertySet.getPropertyValue(_sName)
- except com.sun.star.beans.UnknownPropertyException, e:
- DebugHelper.writeInfo(e.getMessage())
- DebugHelper.writeInfo(
- "UnknownPropertyException caught: Name:=" + _sName)
- except com.sun.star.lang.WrappedTargetException, e:
- DebugHelper.writeInfo(e.getMessage())
-
- if aObject != None:
- try:
- bValue = NumericalHelper.toBoolean(aObject)
- except ValueError, e:
- DebugHelper.writeInfo("can't convert a object to boolean.")
-
- return bValue
-
- '''
- get a property and convert it to a string value
- @param _sName the string name of the property
- @param _sDefault if an error occur, return this value
- @return the string value of the property
- '''
-
- def getPropertyValueAsString(self, _sName, _sDefault):
- aObject = None
- sValue = _sDefault
- if self.m_xPropertySet != None:
- try:
- aObject = self.m_xPropertySet.getPropertyValue(_sName)
- except com.sun.star.beans.UnknownPropertyException, e:
- DebugHelper.writeInfo(e.getMessage())
- except com.sun.star.lang.WrappedTargetException, e:
- DebugHelper.writeInfo(e.getMessage())
-
- if aObject != None:
- try:
- sValue = AnyConverter.toString(aObject)
- except ValueError, e:
- DebugHelper.writeInfo("can't convert a object to string.")
-
- return sValue
-
- '''
- get a property and don't convert it
- @param _sName the string name of the property
- @return the object value of the property without any conversion
- '''
-
- def getPropertyValueAsObject(self, _sName):
- aObject = None
- if self.m_xPropertySet != None:
- try:
- aObject = self.m_xPropertySet.getPropertyValue(_sName)
- except com.sun.star.beans.UnknownPropertyException, e:
- DebugHelper.writeInfo(e.getMessage())
- except com.sun.star.lang.WrappedTargetException, e:
- DebugHelper.writeInfo(e.getMessage())
-
- return aObject
-
- '''
- Debug helper, to show all properties
- which are available in the given object.
- @param _xObj the object of which the properties should shown
- '''
-
- @classmethod
- def showProperties(self, _xObj):
- aHelper = PropertySetHelper.PropertySetHelper_unknown(_xObj)
- aHelper.showProperties()
-
- '''
- Debug helper, to show all properties which are available
- in the current object.
- '''
-
- def showProperties(self):
- sName = ""
- if self.m_xPropertySet != None:
- XServiceInfo xServiceInfo = (XServiceInfo)
- UnoRuntime.queryInterface(XServiceInfo.class, self.m_xPropertySet)
- if xServiceInfo != None:
- sName = xServiceInfo.getImplementationName()
-
- xInfo = self.m_xPropertySet.getPropertySetInfo()
- aAllProperties = xInfo.getProperties()
- DebugHelper.writeInfo(
- "Show all properties of Implementation of :'" + sName + "'")
- i = 0
- while i < aAllProperties.length:
- DebugHelper.writeInfo(" - " + aAllProperties[i].Name)
- i += 1
- else:
- DebugHelper.writeInfo(
- "The given object don't support XPropertySet interface.")
-
diff --git a/wizards/com/sun/star/wizards/common/Resource.py b/wizards/com/sun/star/wizards/common/Resource.py
deleted file mode 100644
index ce2c9e1a4a3b..000000000000
--- a/wizards/com/sun/star/wizards/common/Resource.py
+++ /dev/null
@@ -1,69 +0,0 @@
-from com.sun.star.awt.VclWindowPeerAttribute import OK
-from Configuration import Configuration
-from SystemDialog import SystemDialog
-import traceback
-
-class Resource(object):
- '''
- Creates a new instance of Resource
- @param _xMSF
- @param _Unit
- @param _Module
- '''
-
- @classmethod
- def __init__(self, _xMSF, _Module):
- self.xMSF = _xMSF
- self.Module = _Module
- try:
- xResource = self.xMSF.createInstanceWithArguments(
- "org.libreoffice.resource.ResourceIndexAccess", (self.Module,))
- if xResource is None:
- raise Exception ("could not initialize ResourceIndexAccess")
-
- self.xStringIndexAccess = xResource.getByName("String")
- self.xStringListIndexAccess = xResource.getByName("StringList")
- if self.xStringListIndexAccess is None:
- raise Exception ("could not initialize xStringListIndexAccess")
-
- if self.xStringIndexAccess is None:
- raise Exception ("could not initialize xStringIndexAccess")
-
- except Exception, exception:
- traceback.print_exc()
- self.showCommonResourceError(self.xMSF)
-
- def getResText(self, nID):
- try:
- return self.xStringIndexAccess.getByIndex(nID)
- except Exception, exception:
- traceback.print_exc()
- raise ValueError("Resource with ID not " + str(nID) + " not found")
-
- def getStringList(self, nID):
- try:
- return self.xStringListIndexAccess.getByIndex(nID)
- except Exception, exception:
- traceback.print_exc()
- raise ValueError("Resource with ID not " + str(nID) + " not found")
-
- def getResArray(self, nID, iCount):
- try:
- ResArray = range(iCount)
- i = 0
- while i < iCount:
- ResArray[i] = getResText(nID + i)
- i += 1
- return ResArray
- except Exception, exception:
- traceback.print_exc()
- raise ValueError("Resource with ID not" + str(nID) + " not found")
-
- @classmethod
- def showCommonResourceError(self, xMSF):
- ProductName = Configuration.getProductName(xMSF)
- sError = "The files required could not be found.\n" + \
- "Please start the %PRODUCTNAME Setup and choose 'Repair'."
- sError = sError.replace("%PRODUCTNAME", ProductName)
- SystemDialog.showMessageBox(xMSF, "ErrorBox", OK, sError)
-
diff --git a/wizards/com/sun/star/wizards/common/SystemDialog.py b/wizards/com/sun/star/wizards/common/SystemDialog.py
deleted file mode 100644
index a04c0272c96b..000000000000
--- a/wizards/com/sun/star/wizards/common/SystemDialog.py
+++ /dev/null
@@ -1,231 +0,0 @@
-import uno
-import traceback
-from Configuration import Configuration
-
-from Desktop import Desktop
-from Helper import Helper
-
-from com.sun.star.ui.dialogs.TemplateDescription import FILESAVE_AUTOEXTENSION, FILEOPEN_SIMPLE
-from com.sun.star.ui.dialogs.ExtendedFilePickerElementIds import CHECKBOX_AUTOEXTENSION
-from com.sun.star.awt import WindowDescriptor
-from com.sun.star.awt.WindowClass import MODALTOP
-from com.sun.star.lang import IllegalArgumentException
-from com.sun.star.awt.VclWindowPeerAttribute import OK
-
-class SystemDialog(object):
-
- '''
- @param xMSF
- @param ServiceName
- @param type according to com.sun.star.ui.dialogs.TemplateDescription
- '''
-
- def __init__(self, xMSF, ServiceName, Type):
- try:
- self.xMSF = xMSF
- self.systemDialog = xMSF.createInstance(ServiceName)
- self.xStringSubstitution = self.createStringSubstitution(xMSF)
-
- except Exception, exception:
- traceback.print_exc()
-
- @classmethod
- def createStoreDialog(self, xmsf):
- return SystemDialog(
- xmsf, "com.sun.star.ui.dialogs.FilePicker",FILESAVE_AUTOEXTENSION)
-
- @classmethod
- def createOpenDialog(self, xmsf):
- return SystemDialog(
- xmsf, "com.sun.star.ui.dialogs.FilePicker", FILEOPEN_SIMPLE)
-
- @classmethod
- def createFolderDialog(self, xmsf):
- return SystemDialog(
- xmsf, "com.sun.star.ui.dialogs.FolderPicker", 0)
-
- @classmethod
- def createOfficeFolderDialog(self, xmsf):
- return SystemDialog(
- xmsf, "com.sun.star.ui.dialogs.OfficeFolderPicker", 0)
-
- def subst(self, path):
- try:
- s = self.xStringSubstitution.substituteVariables(path, False)
- return s
- except Exception, ex:
- traceback.print_exc()
- return path
-
- '''
- @param displayDir
- @param defaultName
- given url to a local path.
- @return
- '''
-
- def callStoreDialog(self, displayDir, defaultName, sDocuType=None):
- if sDocuType is not None:
- self.addFilterToDialog(defaultName[-3:], sDocuType, True)
-
- self.sStorePath = None
- try:
- self.systemDialog.setValue(CHECKBOX_AUTOEXTENSION, 0, True)
- self.systemDialog.setDefaultName(defaultName)
- self.systemDialog.setDisplayDirectory(self.subst(displayDir))
- if self.execute(self.systemDialog):
- sPathList = self.systemDialog.getFiles()
- self.sStorePath = sPathList[0]
-
- except Exception, exception:
- traceback.print_exc()
-
- return self.sStorePath
-
- def callFolderDialog(self, title, description, displayDir):
- try:
- self.systemDialog.setDisplayDirectoryxPropertyValue(
- subst(displayDir))
- except IllegalArgumentException, iae:
- traceback.print_exc()
- raise AttributeError(iae.getMessage());
-
- self.systemDialog.setTitle(title)
- self.systemDialog.setDescription(description)
- if self.execute(self.systemDialog):
- return self.systemDialog.getDirectory()
- else:
- return None
-
- def execute(self, execDialog):
- return execDialog.execute() == 1
-
- def callOpenDialog(self, multiSelect, displayDirectory):
- try:
- self.systemDialog.setMultiSelectionMode(multiSelect)
- self.systemDialog.setDisplayDirectory(self.subst(displayDirectory))
- if self.execute(self.systemDialog):
- return self.systemDialog.getFiles()
-
- except Exception, exception:
- traceback.print_exc()
-
- return None
-
- def addFilterToDialog(self, sExtension, filterName, setToDefault):
- try:
- #get the localized filtername
- uiName = self.getFilterUIName(filterName)
- pattern = "*." + sExtension
- #add the filter
- self.addFilter(uiName, pattern, setToDefault)
- except Exception, exception:
- traceback.print_exc()
-
- def addFilter(self, uiName, pattern, setToDefault):
- try:
- self.systemDialog.appendFilter(uiName, pattern)
- if setToDefault:
- self.systemDialog.setCurrentFilter(uiName)
-
- except Exception, ex:
- traceback.print_exc()
-
- '''
- converts the name returned from getFilterUIName_(...) so the
- product name is correct.
- @param filterName
- @return
- '''
-
- def getFilterUIName(self, filterName):
- prodName = Configuration.getProductName(self.xMSF)
- s = [[self.getFilterUIName_(filterName)]]
- s[0][0] = s[0][0].replace("%productname%", prodName)
- return s[0][0]
-
- '''
- note the result should go through conversion of the product name.
- @param filterName
- @return the UI localized name of the given filter name.
- '''
-
- def getFilterUIName_(self, filterName):
- try:
- oFactory = self.xMSF.createInstance(
- "com.sun.star.document.FilterFactory")
- oObject = Helper.getUnoObjectbyName(oFactory, filterName)
- xPropertyValue = list(oObject)
- for i in xPropertyValue:
- if i is not None and i.Name == "UIName":
- return str(i.Value)
-
- raise NullPointerException(
- "UIName property not found for Filter " + filterName);
- except Exception, exception:
- traceback.print_exc()
- return None
-
- @classmethod
- def showErrorBox(self, xMSF, ResName, ResPrefix,
- ResID, AddTag=None, AddString=None):
- ProductName = Configuration.getProductName(xMSF)
- oResource = Resource(xMSF, ResPrefix)
- sErrorMessage = oResource.getResText(ResID)
- sErrorMessage = sErrorMessage.replace( ProductName, "%PRODUCTNAME")
- sErrorMessage = sErrorMessage.replace(str(13), "<BR>")
- if AddTag and AddString:
- sErrorMessage = sErrorMessage.replace( AddString, AddTag)
- return self.showMessageBox(xMSF, "ErrorBox", OK, sErrorMessage)
-
- '''
- example:
- (xMSF, "ErrorBox", com.sun.star.awt.VclWindowPeerAttribute.OK, "message")
-
- @param windowServiceName one of the following strings:
- "ErrorBox", "WarningBox", "MessBox", "InfoBox", "QueryBox".
- There are other values possible, look
- under src/toolkit/source/awt/vcltoolkit.cxx
- @param windowAttribute see com.sun.star.awt.VclWindowPeerAttribute
- @return 0 = cancel, 1 = ok, 2 = yes, 3 = no(I'm not sure here)
- other values check for yourself ;-)
- '''
- @classmethod
- def showMessageBox(self, xMSF, windowServiceName, windowAttribute,
- MessageText, peer=None):
-
- if MessageText is None:
- return 0
-
- iMessage = 0
- try:
- # If the peer is null we try to get one from the desktop...
- if peer is None:
- xFrame = Desktop.getActiveFrame(xMSF)
- peer = xFrame.getComponentWindow()
-
- xToolkit = xMSF.createInstance("com.sun.star.awt.Toolkit")
- oDescriptor = WindowDescriptor()
- oDescriptor.WindowServiceName = windowServiceName
- oDescriptor.Parent = peer
- oDescriptor.Type = MODALTOP
- oDescriptor.WindowAttributes = windowAttribute
- xMsgPeer = xToolkit.createWindow(oDescriptor)
- xMsgPeer.MessageText = MessageText
- iMessage = xMsgPeer.execute()
- xMsgPeer.dispose()
- except Exception:
- traceback.print_exc()
-
- return iMessage
-
- @classmethod
- def createStringSubstitution(self, xMSF):
- xPathSubst = None
- try:
- xPathSubst = xMSF.createInstance(
- "com.sun.star.util.PathSubstitution")
- return xPathSubst
- except Exception, e:
- traceback.print_exc()
- return None
diff --git a/wizards/com/sun/star/wizards/common/__init__.py b/wizards/com/sun/star/wizards/common/__init__.py
deleted file mode 100644
index 1e42b88e42ec..000000000000
--- a/wizards/com/sun/star/wizards/common/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-"""Common"""
diff --git a/wizards/com/sun/star/wizards/common/prova.py b/wizards/com/sun/star/wizards/common/prova.py
deleted file mode 100644
index 1219ba9aff7b..000000000000
--- a/wizards/com/sun/star/wizards/common/prova.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from PropertyNames import PropertyNames
-
-class prova:
-
- def Imprimir(self):
- print PropertyNames.PROPERTY_STEP
-