home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
s_browserp.tcl
< prev
next >
Wrap
Text File
|
1997-11-24
|
1KB
|
42 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)s_browserp.tcl /main/titanic/3
# Author: voyager
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)s_browserp.tcl /main/titanic/3 24 Nov 1997 Copyright 1997 Cayenne Software Inc.
require browserpro.tcl
global BrowserProcs::systemTypes
set BrowserProcs::systemTypes "system document"
global initializeInfoDict initializeInfoDictSet_docwriter
if {! [info exists initializeInfoDict]} {
set initializeInfoDict [Dictionary new]
}
if {(! [info exists initializeInfoDictSet_docwriter]) ||
(! $initializeInfoDictSet_docwriter)} {
# it should be a Document, but the check is only
# on repository types when initializing the information
$initializeInfoDict set SystemVersion ConfigVersion
set initializeInfoDictSet_docwriter 1
}
proc BrowserProcs::printDocObjects {docbatchObjects} {
if {! [lempty $docbatchObjects]} {
set docV [[$wmttoolObj currentObj] browsUiObj]
if {! [$docV isA Document]} {
set docV [$docV getParent Document]
}
set confVId [[$docV getParent ConfigVersion] identity]
set sysVId [$docV identity]
set argsfile [args_file $docbatchObjects]
set args "print $confVId $sysVId [list $argsfile]"
$wmttoolObj startDocbatch mtool "$args" "" {0 0} 0
}
}