[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: "'framers@xxxxxxxxx'" <framers@xxxxxxxxx>
Subject: Object Id's
From: "Mitchell, Sue" <Sue.Mitchell@xxxxxxxxxx>
Date: Fri, 1 Jun 2001 10:11:05 -0400
Sender: owner-framers@xxxxxxxxx
I am building a tool that will go through all the files in a given book and test for various inconsistencies or errors that our production server will not allow. I want to generate a report with links to the specific errors - very similar to what happens when you add a List of References but much more detailed and specific for our needs. I can do this no problem but there is one part that I need to hard code in and was wondering if anyone could shed some light on the problem. If you look at a LOR and the text of the marker you see code similar to the following: openObjectId Chapter.fm:3 1242822 It is very easy to get the filename and the object ID that I want to link to but it is the 3 that I am wondering about. It seems to indicate the type of object that you are linking to, for instance a cross reference is 3, a text inset is 6 and a graphic is 4. Somewhere someplace there must be information on how to get the number associated with a given object but I have not had much luck locating it in the FDK. I am hard coding the value that I need in but it would be better to be able to get the value programmatically. Any ideas? Thank you in advance. Sue Mitchell -------- Writing Support Specialist - Documentation Engineering Services Cognos Incorporated, Riverside (613)738-1338 x5461 sue.mitchell@cognos.com ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **