L+ command description


Description: This commands allows to add documents in the current book (with the possibility of deleting the previous ones) and/or to define the book's master document.


Syntax: [ L+ =  MasterIndex  ;  InsertIndex  ;  DocumentN    ]


MasterIndex
Integer
  Master document's index in the current book (0-based). Pass in -1 if want to leave it unchanged (that is to say, master document will remain the same, even if its index has changed after adding documents).
     
InsertIndex
Integer
  Specifies the insertion index of the documents to add in the book. Pass in -1 to delete all previous documents in the current book, and thus to replace them with the new ones.
     
DocumentN
String
  Absolute path of documents to add, the parameter order determines the order in the book
     


Note:


Example: 1) [L+= 2] Change master document's index : the third document becomes the master 2) [L+= -1 ; 1 ; "C:\MyDoc1.indd" ; "C:\MyDoc2.indd" ] Insert two documents at the second position in the current book. Master document remains unchanged. 3) [L+= 1 ; 1 ; "C:\MyDoc1.indd" ; "C:\MyDoc2.indd" ] Insert two documents at the second position in the current book. The master document becomes the second one, that is to say "C:\MyDoc1.indd".


See also:


The • sign indicates a mandatory parameter

 

 

©1993-2008 Trias.
All rights reserved.