1
0
-1

assuming a six page input PDF, what would OrdExpression variable N be for the follow:-

 <RunList ID="OISRunList" PartIDKeys="Run" class="Parameter" Status="Available">
      <RunList DocCopies="2" EndOfDocument="true" Pages="0 ~ 1" Run="1">
        <LayoutElementRef rRef="OISLayoutElement"/>
      </RunList>
      <RunList DocCopies="3" EndOfDocument="true" Pages="2 ~ 5" Run="2">
        <LayoutElementRef rRef="OISLayoutElement"/>
      </RunList>
    </RunList>

is it ((2 * 2) + (4 * 3)) = 16?

The ambiguity arises from "N" being described as the total of a document instance and I would have considered the above to be 2 document instances.

Can you also confirm in the above example that Ord=2 would select the second copy of the first page of document where Run=1 and to access the last sheet of the last copy would be Ord=15.

 

(this question relates to the question and answer titles SetCopies, DocCopies and PageCopies).

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      your answer is confusing..(smile)... if EndOfDocument="true" resets the value of N between Run="1" and Run="2", when a <Layout> Ord requests an Ord, it would not refer to a unique side since Run 1 and Run 2 would have the same Ords for 0, 1, 2 and 3 so which would you use. I was suggesting EndOfDocument="true" does NOT reset the Ord, and so each page has a unique Ord, even though that isn't really what the spec says.

      1. martin goodall

        I haven't seen a response to this....any one still in thread?

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Martin,

      your assumption is correct: EndOfDocument="true" creates a new document instance and therefore resets the value of N to the number of pages of the current document and the value of n to 0.

      Rainer

      1. martin goodall

        .....and the value of "s" to 0

      CommentAdd your comment...