Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Other formats > LRF

Notices

Reply
 
Thread Tools Search this Thread
Old 06-27-2009, 12:18 PM   #1
DanielCoffey
Connoisseur
DanielCoffey began at the beginning.
 
DanielCoffey's Avatar
 
Posts: 66
Karma: 26
Join Date: Jun 2009
Location: Edinburgh, UK
Device: Sony PRS-505
Qs about the objid attribute

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 is offline   Reply With Quote
Old 06-29-2009, 07:12 AM   #2
DanielCoffey
Connoisseur
DanielCoffey began at the beginning.
 
DanielCoffey's Avatar
 
Posts: 66
Karma: 26
Join Date: Jun 2009
Location: Edinburgh, UK
Device: Sony PRS-505
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.
DanielCoffey is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creator CSS margin attribute misbehaves EaglePt Kindle Formats 4 10-03-2010 06:44 AM
< ol > "start attribute issue eclecticguy ePub 5 06-08-2010 01:41 PM
Error parsing attribute name? seagull Calibre 1 01-01-2010 11:30 AM
Attribute error? jusmee Calibre 2 12-15-2009 08:22 PM
Using the width attribute crutledge Workshop 8 07-06-2009 05:10 AM


All times are GMT -4. The time now is 02:06 PM.


MobileRead.com is a privately owned, operated and funded community.