summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/ui/ControlScroller.py
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/ui/ControlScroller.py')
-rw-r--r--wizards/com/sun/star/wizards/ui/ControlScroller.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.py b/wizards/com/sun/star/wizards/ui/ControlScroller.py
index 0a55b55daf25..9601400d3237 100644
--- a/wizards/com/sun/star/wizards/ui/ControlScroller.py
+++ b/wizards/com/sun/star/wizards/ui/ControlScroller.py
@@ -80,38 +80,6 @@ class ControlScroller(object):
Helper.setUnoPropertyValue(
ControlScroller.xScrollBar, "Orientation", HORIZONTAL)
- '''
- @author bc93774
- @param _ntotfieldcount: The number of fields that are
- to be administered by the ControlScroller
- '''
-
- def initialize(self, _ntotfieldcount):
- try:
- self.ntotfieldcount = _ntotfieldcount
- self.setCurFieldCount()
- ControlScroller.nscrollvalue = 0
- Helper.setUnoPropertyValue(
- ControlScroller.xScrollBar.Model, "ScrollValue",
- ControlScroller.nscrollvalue)
- if self.ntotfieldcount > ControlScroller.nblockincrement:
- Helper.setUnoPropertyValues(
- ControlScroller.xScrollBar.Model, (PropertyNames.PROPERTY_ENABLED,
- "BlockIncrement", "LineIncrement",
- "ScrollValue", "ScrollValueMax"),
- (True, ControlScroller.nblockincrement, self.nlineincrement,
- ControlScroller.nscrollvalue,
- self.ntotfieldcount - ControlScroller.nblockincrement))
- else:
- Helper.setUnoPropertyValues(
- ControlScroller.xScrollBar.Model,
- (PropertyNames.PROPERTY_ENABLED, "ScrollValue"),
- (False, ControlScroller.nscrollvalue))
-
- self.fillupControls(True)
- except Exception:
- traceback.print_exc()
-
@classmethod
def fillupControls(self, binitialize):
for i in xrange(ControlScroller.nblockincrement):