Skip to main content
Participant
January 13, 2020
Question

Page number in range format in TOC using DDX

  • January 13, 2020
  • 1 reply
  • 324 views

I want to give page number in range format in TOC using DDX. Eg.

Expected Output

 

                                                                                                                                  PAGE

Report1 Name                                                                                                       1-3

Report2 Name                                                                                                           4

Report3 Name                                                                                                            5

Report4 Name                                                                                                       6-8

 

My code sample is

 

<TableOfContents maxBookmarkLevel="2" bookmarkTitle="Table of Contents" includeInTOC="false" createLiveLinks="true">

<TableOfContentsEntryPattern applicableLevel="1">

      <StyledText  margin-top="8pt">

              <p  margin-bottom="4pt" font="Times New Roman,12pt" margin-left="28pt" margin-right="18pt" xml:space="preserve"><_BookmarkTitle/> <leader leader-pattern="dotted" color="black" font-size="15pt"/><_BookmarkPageCitation/></p>

     </StyledText>

    </TableOfContentsEntryPattern>

</TableOfContents>

 

<_BookmarkPageCitation/> gives only the starting page no of current report.Please help me to give page no in range format like “1-3” i.e as per the above report TOC format.

This topic has been closed for replies.

1 reply

WolfShade
Legend
January 13, 2020

Nevermind.. 🙂