![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: use a title page in a normal.dot and the word export Topic Summary: Created On: 29-Oct-2003 13:02 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
If I add a title page the word export will print out the requirements beofore the title page.
Does enyone know how I can add a title page in the normal.dot and the word export will start after!! the title page. Thank for tips. Lars |
|
![]() |
|
![]() |
|
Odd. When we did this years ago we used our own *.dot file, and the stuff in the *.dot DID come before anything exported from DOORS.
Wild guess: do not use Normal.dot; manually select your special *.dot when exporting from DOORS. - Louie |
|
![]() |
|
![]() |
|
hi,
it's possible to set bookmarks in "Word". Set a bookmark after your title page and tell your dxl-script to start there. I hope this will help you. Adam Edited: 30-Oct-2003 at 14:56 by Adam Kulas |
|
![]() |
|
![]() |
|
Adam,
I am trying to do the same thing as Lars. And I am using the DOORS built-in utility to export to WORD. So if I was to modify the dxl script that does that, what sort of statement would I need to put in the script? Cheers, Valerie |
|
![]() |
|
![]() |
|
We have successfully accomplished this by one of two ways:
1. When you created your Word.dot Template put the front matter: Title page, Signature page, TOC at the bottom of the Template. After the export cut and paste the Front matter to the top. 2. Create two Word.dot templates: one for the front matter and one for the body. Merge them after the export by a copy and paste. This method allows you to have a front matter template for more than one type of exports where the front matter may differ for example one for classified VS unclassified, a document going to a customer VS going to a team member…. Save these Word Templates in the program shared area and when exporting go to the Advanced Tab => deselect use normal.dot => browse to your custom word template. Hope this helps ~ Sharon |
|
![]() |
|
![]() |
|
Lars,
I finally worked out some dxl code that can be added to the native word.dxl script for exporting. You will need to define your own template, create a bookmark at the point you want the data inserted (in this case the bookmark is called "InsertDOORSDataHere") and run the amended dxl script. In the function "void wordDoExportVBA(DB forWin, int exportType)" insert the following lines before the statement "if (exportType == layoutTypeBook) wordExportAsBookVBA forWin else wordExportAsTableVBA forWin" if (!useNormalTemplate) { const string cMethodGoTo = "GoTo" const string bookmarkName = "InsertDOORSDataHere" const int wdGoToBookmark = -1 clear (objArgBlock) put(objArgBlock, "What", wdGoToBookmark) put(objArgBlock, "Name", bookmarkName) vbaCheckRes(oleMethod(objSel, cMethodGoTo, objArgBlock)) } Cheers, Valerie |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.