diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-12-05 20:26:12 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-12-05 20:53:24 +0000 |
commit | 49df5176e5f72bc2943924b025afcc19d9b8ebec (patch) | |
tree | df75bdd6e1ac233b1ff529d1916f5e3b8334802a /wizards | |
parent | 1a7eee2446dfbe06ac39941473010fc8915ee6e6 (diff) |
fax wizard: more misc. bug fixing, and missing file makefile
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/Pyuno_commonwizards.mk | 74 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/fax/CallWizard.py | 1 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/ui/UIConsts.py | 98 |
3 files changed, 125 insertions, 48 deletions
diff --git a/wizards/Pyuno_commonwizards.mk b/wizards/Pyuno_commonwizards.mk new file mode 100644 index 000000000000..3c52e1d7e4f4 --- /dev/null +++ b/wizards/Pyuno_commonwizards.mk @@ -0,0 +1,74 @@ +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 David Tardon, Red Hat Inc. <dtardon@redhat.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Pyuno_Pyuno,wizards,$(SRCDIR)/wizards/com/sun/star/wizards)) + +$(eval $(call gb_Pyuno_add_files,wizards,\ + __init__.py \ + common/__init__.py \ + common/ConfigGroup.py \ + common/Configuration.py \ + common/FileAccess.py \ + common/Properties.py \ + common/Resource.py \ + common/ConfigNode.py \ + common/DebugHelper.py \ + common/Helper.py \ + common/NoValidPathException.py \ + common/PropertyNames.py \ + common/SystemDialog.py \ + common/ConfigSet.py \ + common/Desktop.py \ + common/HelpIds.py \ + common/NumberFormatter.py \ + common/PropertySetHelper.py \ + document/__init__.py \ + document/OfficeDocument.py \ + text/__init__.py \ + text/TextDocument.py \ + text/TextFieldHandler.py \ + text/TextSectionHandler.py \ + text/ViewHandler.py \ + ui/__init__.py \ + ui/ControlScroller.py \ + ui/ImageList.py \ + ui/PathSelection.py \ + ui/UIConsts.py \ + ui/UnoDialog.py \ + ui/XPathSelectionListener.py \ + ui/DocumentPreview.py \ + ui/PeerConfig.py \ + ui/UIConsts.py \ + ui/UnoDialog2.py \ + ui/WizardDialog.py \ + ui/event/__init__.py \ + ui/event/CommonListener.py \ + ui/event/DataAware.py \ + ui/event/ListModelBinder.py \ + ui/event/RadioDataAware.py \ + ui/event/UnoDataAware.py \ +)) + +# vim:set shiftwidth=4 softtabstop=4 expandtab: diff --git a/wizards/com/sun/star/wizards/fax/CallWizard.py b/wizards/com/sun/star/wizards/fax/CallWizard.py index 1114603bf621..0ea754bea96b 100644 --- a/wizards/com/sun/star/wizards/fax/CallWizard.py +++ b/wizards/com/sun/star/wizards/fax/CallWizard.py @@ -2,6 +2,7 @@ import uno import unohelper +import traceback from com.sun.star.task import XJobExecutor from wizards.fax.FaxWizardDialogImpl import FaxWizardDialogImpl diff --git a/wizards/com/sun/star/wizards/ui/UIConsts.py b/wizards/com/sun/star/wizards/ui/UIConsts.py index a975ff4904d5..2c7ee2aa588b 100644 --- a/wizards/com/sun/star/wizards/ui/UIConsts.py +++ b/wizards/com/sun/star/wizards/ui/UIConsts.py @@ -1,53 +1,55 @@ -RID_COMMON = 500 -RID_DB_COMMON = 1000 -RID_FORM = 2200 -RID_QUERY = 2300 -RID_REPORT = 2400 -RID_TABLE = 2500 -RID_IMG_REPORT = 1000 -RID_IMG_FORM = 1100 -RID_IMG_WEB = 1200 -INVISIBLESTEP = 99 -INFOIMAGEURL = "private:resource/dbu/image/19205" +class UIConsts(): -''' -The tabindex of the navigation buttons in a wizard must be assigned a very -high tabindex because on every step their taborder must appear at the end -''' -SOFIRSTWIZARDNAVITABINDEX = 30000 + RID_COMMON = 500 + RID_DB_COMMON = 1000 + RID_FORM = 2200 + RID_QUERY = 2300 + RID_REPORT = 2400 + RID_TABLE = 2500 + RID_IMG_REPORT = 1000 + RID_IMG_FORM = 1100 + RID_IMG_WEB = 1200 + INVISIBLESTEP = 99 + INFOIMAGEURL = "private:resource/dbu/image/19205" -#Steps of the QueryWizard + ''' + The tabindex of the navigation buttons in a wizard must be assigned a very + high tabindex because on every step their taborder must appear at the end + ''' + SOFIRSTWIZARDNAVITABINDEX = 30000 -SOFIELDSELECTIONPAGE = 1 -SOSORTINGPAGE = 2 -SOFILTERPAGE = 3 -SOAGGREGATEPAGE = 4 -SOGROUPSELECTIONPAGE = 5 -SOGROUPFILTERPAGE = 6 -SOTITLESPAGE = 7 -SOSUMMARYPAGE = 8 + # Steps of the QueryWizard -class CONTROLTYPE(): + SOFIELDSELECTIONPAGE = 1 + SOSORTINGPAGE = 2 + SOFILTERPAGE = 3 + SOAGGREGATEPAGE = 4 + SOGROUPSELECTIONPAGE = 5 + SOGROUPFILTERPAGE = 6 + SOTITLESPAGE = 7 + SOSUMMARYPAGE = 8 - BUTTON = 1 - IMAGECONTROL = 2 - LISTBOX = 3 - COMBOBOX = 4 - CHECKBOX = 5 - RADIOBUTTON = 6 - DATEFIELD = 7 - EDITCONTROL = 8 - FILECONTROL = 9 - FIXEDLINE = 10 - FIXEDTEXT = 11 - FORMATTEDFIELD = 12 - GROUPBOX = 13 - HYPERTEXT = 14 - NUMERICFIELD = 15 - PATTERNFIELD = 16 - PROGRESSBAR = 17 - ROADMAP = 18 - SCROLLBAR = 19 - TIMEFIELD = 20 - CURRENCYFIELD = 21 - UNKNOWN = -1 + class CONTROLTYPE(): + + BUTTON = 1 + IMAGECONTROL = 2 + LISTBOX = 3 + COMBOBOX = 4 + CHECKBOX = 5 + RADIOBUTTON = 6 + DATEFIELD = 7 + EDITCONTROL = 8 + FILECONTROL = 9 + FIXEDLINE = 10 + FIXEDTEXT = 11 + FORMATTEDFIELD = 12 + GROUPBOX = 13 + HYPERTEXT = 14 + NUMERICFIELD = 15 + PATTERNFIELD = 16 + PROGRESSBAR = 17 + ROADMAP = 18 + SCROLLBAR = 19 + TIMEFIELD = 20 + CURRENCYFIELD = 21 + UNKNOWN = -1 |