View Full Version : Qs about the objid attribute


DanielCoffey
06-27-2009, 12:18 PM
I was looking at a .lrs and wondered if the objid attributes actually need to be numbered sequentially or whether they were just a string that had to be unique?

They crop up in every Page and TextBlock tag, among others. If I want to insert another TextBlock, I assume I can just assign it a unique objid rather than having to renumber all the ones that come after it.

Can there be gaps in the sequence? (10, 11, 50, 51 etc.)

The reason I was concerned was because of the page_tree_id attribute of the SetDefault tab nested inside the BookStyle tab at the end of a .lrs. Is this just another unique object id string or does it have to parse to the number of objid attributes used?

Cheers.

DanielCoffey
06-29-2009, 07:12 AM
OK, I have had a play around and have managed to answer my own questions...

The objid attribute is just a unique string. It does not have to be numeric or in sequence, just unique.