Table of Authorities -- Where is TabLeader info stored?

F

Fletcher James

According to the documentation for the TableOfAuthorities Object, the TOA
object has a TabLeader property. For example, you can say:

activedocument.TablesOfAuthorities(1).TabLeader=wdTabLeaderHeavy

However, although this works, it does not seem to modify the flags in the
TOA Field in the way that other Object Model properties do. In addition,
while the Help documentation for the other properties (e.g.
PageNumberSeparator) states which flag is associated with the property, the
TabLeader property has no such information.

I've checked the Registry (thinking that it might be there, like the TOA
Categories), but didn't find anything.

So, where the dickens is this information stored? Is it contained only in
the Document, as an Object Model property?

--
Fletcher James
President
Levit & James, Inc.

(703)771-1549
MailTo:[email protected]
http://www.levitjames.com
 
H

Harold

You are correct that the field code for the table does not contain a switch
or flag indicating which TabLeader is used. The value though is document
specific so it is stored in the document's binary.

It's interesting that you can change the tableader in the dialog or via code
but there is no switch for the field.

What the significance of where the property is stored?

Regards,
 
F

Fletcher James

I'm writing some software which needs to modify the field code for the TOA,
and want to make sure that I'm not doing anything which might disturb
already-existing flags. Therefore, I need to know exactly how all of the
info is stored in the flags. The rest of the info seems to be
comprehensively documented in the Help files. Thanks!

--
Fletcher James
President
Levit & James, Inc.

(703)771-1549
MailTo:[email protected]
http://www.levitjames.com
 
P

Peter Hewett

Hi Fletcher James

Check out the TablesOfAuthorities collection object and the TabLeader property:
ActiveDocument.TablesOfAuthorities(1).TabLeader

HTH + Cheers - Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top