[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference abbott::teamlinks_windows

Title:TeamLinks for Windows
Notice:Kit and ECO locations: See replies to note 8.o note 8.
Moderator:ORION::chayna.zko.dec.com::tamara::eppesAN
Created:Mon Aug 28 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2238
Total number of notes:9650

2130.0. "TL filecab converts WP6 documents to WP5 " by STKHLM::HORNBLAD () Tue Apr 15 1997 10:51

Hi,

We have a problem with the Teamlinks File cab at a customers site. They are using 
WordPerfect V6  (*.wpd) files as templates for documents. These templates are
stored on the PC and opened with WP V6 modified and saved using a different 
name in the TL File Cab. Most of the time this works fine but sometimes when the
document is beeing saved a message pops up with information that the document is
converted to WordPerfect V5 before beeing saved. This document is then saved as
a V5 file and the information in the document is changed.

I'm trying to find out if there is something wrong in the setting that
    makes TL sometimes convert the *.wpd file to a WP v5 file before
    saving it to the TL filecab? 

I'm enclosing office.ini from the site.


/Maria

TSC Stockholm

[TeamLinks]

;CFCLOGOPTIONS=NEWLOG LOG

Templates=Telex PROFS SNADS X400F11 X400F12 X400F13 OpenVMS UMC

Version=V2.5

VersionID=V250000

TeamLinksPath=W:\TEAMLINK

NotificationApp=C:\TEAMLINK\TLNOTIFY.EXE

File Cabinets=A1IOSFC, LCLMAIL

Mail Resource=A1IOSFC

SetupHelpFile=W:\TEAMLINK\TLSETUP.HLP

HelpFile=W:\TEAMLINK\TEAMLINK.HLP

Offline=0

LclReserveIdentity=SUBV03::anderssont

ButtonSize=1

FindQueryFile=DC:\TEAMLINK\tlquery.tlq

FindQueryFileCacheFile=C:\TEAMLINK\TLQUERY.BAK

Available File Cabinets=SAMPLES, LCLMAIL

LocalTeamLinksPath=C:\TEAMLINK

xyzabc123=111111111

StagingDeleteLast=470



[FileCab]

SpreadsheetFormats=XLS5,XLS4,XLS3,XLS2,XLW5,XLW4,XLW3,XLW2,XLT5,XLT4,XLT3,XLM5,XLM4,XLM3,XLM2,XLB5,XLB4,WK4,WK3,WK1,WKS,FM3,FMT,ALL,WRK,LOTUS
1-2-3,S2020,DTIF,DIF,QUATTRO,SYLK,DBASE4,DBASE3,DBASE2

CompoundDocFormats=WINWORD6,WINWORD2,WINWORD1,RTF6,RTF2,RTF1,RTF,MR,WINWORDDOT6,WINWORDDOT2,WINWORDDOT1,MA,MI,WPCORP,WP6,WP5,WP4,WPD,WPT,WP,WO,AMIPRODOC,AMIPROSTYLE,AMIPROMACRO,LA,DDIF,DC,DCA,RFT,DCA/RFT

ChartFormats=HGCH3,XLC5,XLC4,XLC3,XLC2

PictureFormats=BITMAP,BMP,CDW,CGM,CURSOR,GIF,ICON,JPEG,PICT,PCX,MSP,TIFF,WMF,WPG

ExecutableFormats=BAT,COM,CMD,EXE,SYS,WIN PIF

DistListFormats=DISTRIB LIST

PresentationFormats=POWERPOINT4,POWERPOINT3,POWERPOINT2,POWERPOINT1,PPT4,PPT3,PPT2,PPT1,HGSH3,HGPL3,HGWPRS,HGSTY,HGWPL,FLMASTER,FLPRESENTOS2,FLPRESENTWIN,FLSYMBOL

DLL=W:\TEAMLINK\FILECAB.DLL

PreferredAttachType=0

FcResource=A1IOSFC

Drawer=GRANSKNINGSPROTOKOLL

Folder=F�RLAGA

Author=ta



[ServiceAgent]

Address=TMR$SERVICE

DOSPath=W:\TEAMLINK\



[TeamRoute]

InUseTimeOut=7200



[Signature]

Name=

Title=

Organization=

Project=

Company=

MailAddress=



[DisplayOnStartup]

Attachments=YES

Signatures=YES

Instructions=YES



[Convert_View]

ViewerZoomFactor=90



[Infoman]

ReadFirstFormats=WPSPLUS,TLSCRIPT,WPCORP,TEXT,

AutoConnect=1

IMTop=315

IMLeft=-1995

IMHeight=5748

CustomizedInVersion=V250000

EnableNotify=15

ShowCount=0

ShowFullAddr=0

ShowTitle=1

ShowAuthor=1

ShowDate=1

DisplayTime=0

ShowSize=0

IMWidth=12120

CreateNewDoc=WP6

EmptyWBExit=0

MenuEditor_Coords=1416,2250,6384,7788

ConfirmCopy=1

ConfirmMove=1

ConfirmDelete=1

ConfirmDelFold=1

ConfirmExit=1

ConfirmCrFolder=1

ConfirmBlankTitle=1

ConfirmDragDrop=1

ConfirmEmptyWB=1

ConfirmImpAttFormat=0

ConfirmReserve=1

ConfirmClearPWD=1

ConfirmLaunchApplication=0

ConfirmLaunchExecutable=1

AutoFormatDetection=1

TlSetup_Coords=510,2580,3090,8100

LastDosDir=T:\TS\R�\85NYTT

TlSetup_WindowState=0



[TeamLinks Mail]

CustomAddressOn=1

CustomAddress=@.;";"@email;=)

HelpFile=W:\TEAMLINK\TEAMLINK.HLP

PABlist_Columns=0,1,2,3,4,5|1,1,1,1,1,0|900,876,1008,888,780,480|-1|0|

PABlist_Coords=2772,2448,3132,7752

CreateMsgCCfield=Yes

ViewCombo_LastIndex=2

ReadMsg_Preferences=1221111111

ReadMsg_HideToField=1

ReadMsg_IncludedContentsPrefix=""

ReadMsg_ExpiryWarning=0

CreateMsg_StayOpen=No

CreateMsg_ClearAfterSend=No

CreateMsg_LineBreak=79

CreateMsg_WordWrap=Yes

CreateMsg_Commas=Yes

CreateMsg_DeleteDrafts=Yes

CreateMsg_SendBlanks=No

CreateMsg_SizeWindow=No

CreateMsg_WrapText=No

Distribution List Edit Count=0

ReadMsgFontName=Arial

ReadMsgFontSize=10

ReadMsgFontBold=No

ReadMsgFontItalic=No

CreateMsgFontName=Arial

CreateMsgFontSize=10

CreateMsgFontBold=No

CreateMsgFontItalic=No

ServerMaxAddr=100

CompleteAddress=@;(; at ;::;

CustomButtonOff=1

Message Address_Coords=1014,6,5172,9588

CreateMsg_CurrentStyle=



[LocalStaging]

DosPath=C:\TEAMLINK\STAGING\

StagingInfo=C:\TEAMLINK\STAGING\STAGING.DAT

FileSeqNumber=200



[Mail]

DistList=C:\TEAMLINK\DISTLIST

PAB=DC:\TEAMLINK\a1mailpb.dat

PABCacheFile=CC:\TEAMLINK\TLPAB.BAK



[Association]

TEAMFORM=W:\TEAMLINK\TEAMFORM.EXE

FORMSHELL=W:\TEAMLINK\FORMSHEL.EXE

WSHARE=W:\TEAMLINK\WSHARE.EXE

CONAUDIT=W:\TEAMLINK\CONAUDIT.EXE

COPYFILE=W:\TEAMLINK\COPYFILE.EXE

TMRTRAVL=W:\TEAMLINK\TMRTRAVL.EXE

WPCORP=C:\OFFICE\WPWIN\WPWIN.EXE

PS=M:\WPWIN\WPWIN.EXE



[StartupCfg1]

Desc=Arbeta online

Offline=0

AutoConnect=1

Transport=WINSOCK

TransportDescr=TCP/IP med Windows Sockets



[Startup Configurations]

CurrentConfig=StartupCfg1

NbrConfigs=5

DefaultAdded=1

WorkOfflineAdded=1

EMOfflineAdded=1

EMOnlineAdded=1

EMByPhoneAdded=1

ShowDlgAtStartup=0



[StartupCfg2]

Desc=Arbeta frist�ende

Offline=1

AutoConnect=0

Transport=WINSOCK

TransportDescr=TCP/IP med Windows Sockets



[StartupCfg3]

Desc=Utbyta meddelanden och arbeta frist�ende

Offline=1

AutoConnect=0

Transport=WINSOCK

TransportDescr=TCP/IP med Windows Sockets

InfomanScriptExtObjId=#LOCAL\[SAMPLES]Lokal demonstrationsl�da\3340000000000

InfomanScript=Flytta ny post, s�nda os�nda meddelanden, l�gga p�



[StartupCfg4]

Desc=Utbyta meddelanden och arbeta online

Offline=0

AutoConnect=1

Transport=WINSOCK

TransportDescr=TCP/IP med Windows Sockets

InfomanScriptExtObjId=#LOCAL\[SAMPLES]Lokal demonstrationsl�da\3270000000000

InfomanScript=Flytta ny post, s�nda os�nda meddelanden



[StartupCfg5]

Desc=Utbyta meddelanden via telefon

Offline=1

AutoConnect=0

Transport=TLREMOTE

TransportDescr=TeamLinks Remote

InfomanScriptExtObjId=#LOCAL\[SAMPLES]Lokal demonstrationsl�da\3340000000000

InfomanScript=Flytta ny post, s�nda os�nda meddelanden, l�gga p�



[A1IOSFC]

DLL=C:\WINDOWS\SYSTEM\CFCIOS.DLL

Description=ALL-IN-1 Office-arkiv

LoginFlags=0

ServiceNameLabel=&ALL-IN-1-konto

SERVER=SSS06

ServiceName=

Username=anderssonh

Profile Support=011101311333333101130331103331111111111111111

Profile Version=12581,4,0

Profile Maxlengths Keys=5

Profile Max Lengths 1=0,1,1,1,0,1,30,1,1,20,

Profile Max Lengths 2=32,68,30,30,64,1,0,1,312,30,

Profile Max Lengths 3=0,30,30,1,32,0,30,12,31,31,

Profile Max Lengths 4=0,0,0,0,0,0,0,0,0,0,

Profile Max Lengths 5=0,1,1,0,0,



[TeamRoute Template Designer]

HelpFile=W:\TEAMLINK\TMRDSIGN.HLP



[SAMPLES]

DLL=C:\WINDOWS\SYSTEM\CFCLOCAL.DLL

Description=TeamLinks Exempell�dor

Options=LOCAL SHARED

Path=W:\TEAMLINK\SAMPLES\



[LCLMAIL]

DLL=C:\WINDOWS\SYSTEM\CFCLOCAL.DLL

Description=TeamLinks lokal meddelandel�da

Options=LOCAL

Path=C:\TEAMLINK\LCLMAIL\



[Folder Aliases]

Local Drafts=#LOCAL\[LCLMAIL]Lokala meddelanden\2020000000000

Local Inbox=#LOCAL\[LCLMAIL]Lokala meddelanden\2030000000000

Local Unsent Messages=#LOCAL\[LCLMAIL]Lokala meddelanden\2050000000000

Local Read=#LOCAL\[LCLMAIL]Lokala meddelanden\2080000000000

Scripts=#LOCAL\[LCLMAIL]Lokala meddelanden\20C0000000000

Local Routed Packages=#LOCAL\[LCLMAIL]Lokala meddelanden\20D0000000000



[ButtonBars]

IM=IMFileRead IMFileOpen IMFilePrint - IMSrvCreateDrawer IMSrvAddDrawer
IMSrvCreateFolder - IMMailListNew TLCreateMsg IMMailSend TLPAB - IMFileCopy
IMFileMove IMFileFind - IMFileDelete IMSrvEmpWaste IMSrvCancelRsrv - IMFileExit

IMBLS=111

RM=RMReadAttach RMLaunchA RMPrint - RMNextO RMPrevO RMNextA RMWrap RMFullH
RMReply RMForward RMMove RMDelete

RMBLS=111

CM=CMFileReadA CMFileLaunchA CMPrint - CMFileAttach CMFileSend CMFileSave
CMOptsSpell CMOptsAttrs TLPAB TLDDS TLDistList

CMBLS=111



[SpellCheck]

Catalin=3$Katalanska        $icaf9410.dat$

Czech=1$Tjeckiska         $iczf9420.dat$

Danish=10$Danska            $idnf9352.dat$

Dutch=11$Nederl�ndska      $iduf9411.dat$

English=16$Engelska          $ienc9311.dat$

Language=Swedish

Finnish=14$Finska            $ifnf9311.dat$$$ifnx9300.dat$

French=5$Franska           $ifrf9410.dat$

German=6$Tyska             $igrf9411.dat$

Italian=9$Italienska        $iitf9440.dat$

Norwegian=13$Norska            $inof9420.dat$

Portuguese=12$Portugisiska      $ipof9440.dat$

Russian=2$Ryska             $iruf9420.dat$

Spanish=8$Spanska           $ispf9420.dat$

Swedish=7$Svenska           $iswf9420.dat$

Australian=16$Australiensisk engelska$iaum9211.dat$

Personal=C:\TEAMLINK\personal.rd

DialogPos=176,267



[FCLIST]

Field2=12

Field3=5

Field4=17

Field1=2

DateLen=38

AuthorLen=20

SizeLen=6

TitleLen=46

SortInbox=0

SortAllDocs=0

DisableIncFetch=0

SortDocuments=0

DocSortField=5

InboxSortField=5

SortOrder=0

SortOrderInbox=0



[DDS]

ColData=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15|1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1|1836,1620,588,1188,804,540,1224,1140,1140,1140,1140,576,1848,1260,12300,780|-1|0|

ScopeCombo=2

Window_Coords=480,702,6240,8196



[Printing]

Measurements=cm

TopMargin=1134

LeftMargin=1134

BottomMargin=1134

RightMargin=567

UseDisplayFont=0

FontName=Arial

FontSize=10

FontBold=0

FontItalic=0

ProcessEmbeddedPostScript=1

MonospaceFonts=0

RecipientLists=1

IntermediateRecipientLists=0

MaxRecipients=20

NonTextPrinting=LVT



[DistributionLists]

DL0=DC:\TEAMLINK\DISTLIST\

DL1=E#IOS

Draw1=HUVUDL�DA

Fold1=MAIL



[Message Notification]

Preferences=63



[Menus]

IM_Scrp=



[AutoRun]

IM=IMMailListNew



[Customizations]

tlcustom.ini=User customization



[SetMailUserNames]

IsActive=0


  
T.RTitleUserPersonal
Name
DateLines
2130.1TAMARA::CUMMINGSJerry Cummings, TeamLinksTue Apr 15 1997 11:337
I asked Bob St.Jean to take a look at this
one, but he's on a business trip for a few
days.

Anyone else have any ideas?

Jerry
2130.2Fixed in TL 2.7XANADU::flymht.zko.dec.com::TAMARA::STJEANBob St.JeanThu Apr 17 1997 13:06132
Maria,

I thought this problem looked familiar.  So I looked in our
Source Code Tracking notes file and found the note documenting
the fix.  Apparently it was discussed in note 523 in this 
conference and I fixed it in TL 2.7.  Is it the same problem?

From the Office.ini file I can see they do have an ALL-IN-1 FC 
configured in and it looks like they use TL 2.5.  This problem
happened with ALL-IN-1.

So they would have to upgrade to 2.7 for the fix.

I've included the SCT note below.  It has more detail then you
need.  Apparently it was fixed in such a way so that if WP was
using its FC built-in integration it would eliminate this problem.
Also ODMA was changed to prepare for this.

FYI -- If/when the customer upgrades to TL 2.7, then ODMA is the 
preferred way to do FC integration with WP 6.1.  And Corel has
release several updates to WP 6.1 to correct ODMA problems in WP.

Bob



1. Developer Name (Last, First): St.Jean, Bob

2. Electronic Mail Address: stjean@a1@xanadu

3. Planned for baselevel (eg. BL2): BL18, TL 2.7

4. Problem Abstract (one line):
   WPWin 6.1 integration sometimes does unwanted TL conversion.

5. Problem or New Functionality Description:
This problem was pointed out in topic 523 in Abbott::TeamLinks_Windows.
I asked for a QAR or IPMT, but I don't think one was ever entered.

It happens in In WordPerfect 6.1, using the built-in Filecab integration.  If 
you 
open a WP 6.1 file from the A1 file cabinet, change it and do a File Save As
and save it to a new file, then make some more changes and do a File Save.
At this point a progress bar will display indicating that a conversion is
happening.  The result is the WP 6.1 file was saved by TL back into the
file cabinet in WP 5.2 format.  Not nice!

6. Analysis:
This is caused by the complication of having all WP document types
tagged as WPCORP in the A1 file cabinet.  Also, WPCORP is pointed
to the WP 5.2 format converter.  This problem could be worked around
by pointing WPCORP to the 6.1 converter, but you still do a conversion
for nothing.

The problem is that when Filecab.dll creates the document, it just
saved the WP6 tag.  It didn't know that Cfcios.dll changed the tag to
WPCORP.  So when WP lists the tag, it returns WP6.

After a document context switch in Filecab.dll, as happens when
WP unreserves the original file that it opened or when WP goes
to save the new file the second time, the document's real format
tag is listed.  It comes in as WPCORP.

When WP calls DocumentSave, it specifies WP6 in the format
parameter (because that's what it thinks the file is).  Filecab.dll thinks
its WPCORP (because that's what it is) and it thinks it has to do
a file format conversion.  So it converts from WP6 to WPCORP.  But
what is WPCORP?  In the 'normal' case, TL mappes WPCORP to
WP 5.2.  So thus the unwanted and unpredicable conversion occurs.

WP 6.1 does fortunately list the CFC_Format attribute right after a
DocumentCreate call.  So that will help with the first save.  But, sadly, 
WP 6.1 calls DocumentSetAttribute to try to force the tag to be set to 
WP6.  It does this after every DocumentSave call.  So this messes
up any hope of fixing this without hacking the DocumentSave
function to not do the conversion.

7. Solution:
Work around it in Filecab.dll.

Fix Filecab.dll to re-list the CFC_Format attribute after a document
creation.  We'll have to expect the caller of DocumentCreate to
list the format, because it could change.  WP 6.1 already does this.
It will have to be documented in the Filecab.dll 2.7 Prog Ref.

Put a hack into DocumentSave to check if WPCORP is the destination
format.  If the source tag is WP6 (or from a list read in from Office.ini),
then skip around the conversion code and just do a regular save.  Do
not bother to update the tag.

Fix the TL ODMA code to list the CFC_Format attribute after a document
creation.  Save the format tag for use during a later save.


8. Module(s) Changed:
   Module: profile.h
   Module: docpub.c
   Module: doccfc.c
   Module: tlodmdoc.cpp


9. Module(s) Added:

10. Pre-dependents (optional):

11. Post-dependents (optional):

12. QAR #: 

13. Documentation Affected (N,H,R,D,U)? Documentation

14. Installation/Build Affected (N,B,I,U)? No

15. Translation Affected (Y or N)? No

16. Test Script:
Do the scenario above with WordPerfect 6.1 and TL.  Do not use the
ODMA interface, use the built-in Filecab.dll inteface in WP.  After
the save, check the file in Infoman to be sure it is not in 5.2 format.
The only way I know how to do that is with the viewer -- it displays
the file format desciption at the bottom of the window.  Do this test
with ALL-IN-1 as the FC.


17. Keywords (one per line):
   FILECAB
   TLODMA

18. Reviewed by:
   Carson Hovey