www.cloudformatter.com

cloudformatter format requests: 1,908,555    pages delivered: 5,114,353

Markers

Markers css2pdf @cloudformatter Xportability
First Starting: First Carryover:
Last Starting: Last Ending:

This section demonstrates the use of markers and how they can be pulled into the output to be used within the headers and footers of your document. First, what is a marker? A marker is a hidden element that can contain any structure you like that is "pulled" into the header or footer areas of a document. You "throw" markers in the content and depending on where pagination occurs, different values for positional aspects can be retrieved. Since this HTML formatting engine for the most part deals with one sequence of pages, we are covering only retriving markers about the current page although more are available and implemeneted.

The footer of these pages will contain the various possible marker positions that can be retrieved into the header or footer. Note that the LoremIpsum text varies on each page view so you can refresh the page and get possibly different answers. As for positions, you can retrieve markers using:

  • first-starting-within-page: the first marker whose parent <div> actually starts inside the page
  • first-including-carryover: the first marker whose parent <div> starts at the top or carry's over from the last page
  • last-starting-within-page: the last marker in the page whose parent <div> starts inside the page
  • last-ending-within-page: the last marker in the page whose parent <div> ends inside the page

The code for this in the HTML looks like this:

    <div>
        <marker marker-class-name="test">
            <b>Heading Number 1</b>
        </marker>
        <h2 fostyle="keep-with-next.within-page: always;">Heading Number 1</h2>
        <!-- content here -->
    </div>
            

And the code in the footer region looks like this:

    <footer style="display:none;">
        <table width="100%">
            <tr>
                <td> First Starting: <retrieve-marker retrieve-class-name="test"
                        retrieve-boundary="page"
                        retrieve-position="first-starting-within-page"/>
                </td>
                <td style="text-align:right;"> First Carryover: <retrieve-marker
                        retrieve-class-name="test" retrieve-boundary="page"
                        retrieve-position="first-including-carryover"/>
                </td>
            </tr>
            <tr>
                <td> Last Starting: <retrieve-marker retrieve-class-name="test"
                        retrieve-boundary="page"
                        retrieve-position="last-starting-within-page"/>
                </td>
                <td style="text-align:right;"> Last Ending: <retrieve-marker
                        retrieve-class-name="test" retrieve-boundary="page"
                        retrieve-position="last-ending-within-page"/>
                </td>
            </tr>
        </table>
    </footer>
            

The following headers and para's are inside <div> elements and markers are created with the header content. The footer shows the various markers pulled into the content of the footer.

Heading Number 1

Heading Number 1

Dolor accusam justo. Vero nonumy velit elitr eirmod consectetuer diam ut delenit sadipscing stet duo consetetur diam luptatum eirmod lorem illum possim. Gubergren duis sit amet takimata aliquam facilisi vel magna nonumy et aliquyam ut et dolores sea. Kasd eos et vel labore feugiat takimata hendrerit tempor et ut. Labore at velit magna gubergren accusam sadipscing dolor amet invidunt option sed augue hendrerit voluptua et. Et eirmod sadipscing nulla rebum ut tation justo. Diam justo diam dolore justo hendrerit laoreet stet sit rebum. Tation te sit at ipsum nulla et elitr elitr eos quis facer tempor vel. Amet et dolore lorem autem at. Ut tempor at esse ipsum sit kasd accumsan et iriure amet dolores. Sanctus stet ea amet ut et ipsum tempor facer lorem duis tempor esse ea vel clita.

Et diam diam consetetur hendrerit labore in takimata sadipscing eos velit nulla accusam nonumy in imperdiet ipsum. At justo et dolore placerat lorem at amet. Ut dolor diam illum diam velit amet sit nam no clita nostrud invidunt consectetuer. Placerat et sed at diam duo dolores eirmod et dolor sanctus. Gubergren duo invidunt et justo commodo tempor feugait est takimata sed ullamcorper voluptua. Labore magna eirmod invidunt aliquyam. Odio praesent takimata odio dolor amet dolores amet dolores rebum tempor dolor in.

Heading Number 2

Heading Number 2

Duis qui clita euismod ea lorem voluptua amet esse vero et adipiscing eos. Ut aliquam aliquyam. Ea clita sadipscing no labore id duo. Hendrerit in sed justo amet et et consequat laoreet erat duo at ea elitr. At eos lorem dolor molestie consetetur sed dolore nostrud sed voluptua. Nulla rebum molestie ut et eros dolores diam nisl nisl luptatum. Sit aliquyam suscipit rebum tempor sit ut takimata nulla dolores ut ea. Ipsum ut eirmod option eos dolor vel et quis kasd clita labore clita diam zzril dolor sit elitr tempor. Elitr amet ex lorem vel sit sit praesent dolor magna elitr sanctus dolor amet sit elitr. Sed facilisis sed justo diam sit eirmod et sed.

Vero gubergren takimata sadipscing ipsum consetetur sadipscing ipsum ipsum et dolores sed sit amet dolor ipsum ea no eleifend. Magna dolor dolores. Dolore zzril voluptua aliquyam dolore amet dolore tempor accusam tempor sadipscing elitr eos et aliquyam ut sea ipsum sadipscing. At nobis diam at sed nisl. Rebum sed stet sadipscing sit minim ipsum kasd aliquip et dolor ea praesent sit option sea rebum dolor. Vero esse sed tempor lorem et ipsum dolor labore aliquyam no dolore est ipsum dolor amet ut sea.

Heading Number 3

Heading Number 3

Aliquyam voluptua et augue velit kasd commodo voluptua aliquyam vel. Facilisis eos elitr at ea ipsum volutpat sea kasd ipsum. Stet magna elitr. Elitr duo accusam amet et amet liber no justo autem. Ea diam consetetur sit voluptua suscipit nostrud est et at. Qui ad sit odio et. At lorem dolor in liber sed duo amet vero aliquyam justo te accusam feugiat eos amet. Accusam sit ea euismod dolor hendrerit et gubergren sadipscing et aliquyam dolore takimata lorem sit vel eos duo. Magna eirmod nonummy kasd tation dolores dolore tincidunt at doming stet dolore eirmod eos vero. In ut laoreet consetetur consequat vero magna.

Nonumy dolor et dolore ea no volutpat enim feugait consetetur ut. Labore et diam et. Dolore eirmod aliquyam. Sed exerci ut invidunt clita aliquip. Sea ea iriure sanctus magna. Laoreet duis esse eum sed velit enim ipsum aliquyam congue diam justo. Nonummy dolor erat erat sadipscing. Dolores facilisi dolor exerci stet amet ipsum eros ad odio. Sed sed augue velit.

Heading Number 4

Heading Number 4

Autem in diam sit luptatum accumsan kasd gubergren rebum sit takimata et diam congue magna. No rebum et euismod tempor dolore. Justo gubergren dolor gubergren ea ea amet sanctus eirmod. Dolore delenit erat esse vel labore et. Praesent ut stet dolore et facilisis sea vel aliquyam justo illum vero sadipscing takimata sed sadipscing amet invidunt duo.

Amet dolores sit amet vero elitr et tempor. Et augue in hendrerit est sit labore elitr nonumy diam justo nisl ut voluptua in exerci et. Velit invidunt sit duis wisi dignissim sadipscing lobortis diam duo dolor duis illum vero consetetur luptatum ea invidunt. Lorem est sea. Sea ipsum consequat erat est no diam est at. Qui ut duo vel nonumy dolore sanctus dolor. Consectetuer dolores lorem justo est consetetur dolor lorem nulla. Laoreet dolores justo at te nulla sit justo sed nonumy. Sit sit qui rebum aliquyam ut diam diam euismod dolor.

Heading Number 5

Heading Number 5

Sed facilisis nonummy gubergren in. Ut hendrerit nonumy gubergren stet duo tempor vel. At rebum eirmod rebum duis laoreet labore vel est stet voluptua at dolore justo. Est rebum kasd feugait dolore dolore labore odio elitr amet et vel accumsan invidunt vero et gubergren no justo. Voluptua lorem euismod magna. Sea sed erat veniam dolores dolore dolore et voluptua lorem sanctus ullamcorper exerci nonumy kasd elitr.

Ipsum dolore erat sadipscing ea aliquyam elitr. Nulla dolores duo ut ipsum sea magna sadipscing et ipsum aliquyam sanctus no minim. Vulputate ipsum rebum lorem rebum labore at exerci nonummy ea takimata erat vulputate eirmod ea. Takimata erat justo tempor ea ipsum sanctus est lorem. Dolor dolor nibh clita est tempor no labore. Amet invidunt clita erat dolore nonumy nulla no facer dolor volutpat stet est sea lorem. Ipsum dolore et sea tempor in sed in at. Nonumy magna ut. Et dolor ea lorem esse dolore rebum. Tempor magna tation minim dolore consetetur dolor amet sit sed.

Heading Number 6

Heading Number 6

Ipsum erat et stet esse ea no eos lorem et amet autem. Stet vero takimata rebum. Qui aliquyam no te sit amet sit sadipscing consetetur et elitr stet. Eum dolor no. Tation no ut dolore invidunt dolores facer esse. Eleifend clita qui invidunt justo diam.

Iriure ipsum lorem diam vero iusto stet sadipscing exerci sadipscing. Elitr magna ipsum lorem ut eos. Consetetur stet vero dolore dolor consequat sanctus dolore dolor diam et elitr. Dolor zzril sed lorem at consetetur eos aliquyam placerat nonumy nonumy duis. Et nihil feugait clita. Amet augue labore sit labore dolor et diam. Labore dolore sed vero ipsum dolores consequat magna gubergren. Dolore vero diam at liber. Vero duo est eos sed nibh elitr dolore sadipscing eos at. Sanctus ut elitr stet ipsum et gubergren justo augue et ut et.

Heading Number 7

Heading Number 7

Tempor odio stet eos. Eirmod dolor vel consetetur eu in. Dolore iriure eirmod amet. Dolore nam et voluptua consetetur kasd accusam voluptua sea ea tempor takimata sea et at sed invidunt. Dignissim justo lorem ea lorem ut sed et gubergren at consetetur consequat lorem ea. Consequat vero et aliquyam dolores diam te elitr sit. Vero kasd lorem esse duis minim diam vel vero dolores voluptua no kasd et magna kasd iusto sit erat. Sadipscing sit odio sea eos vero invidunt minim. Clita at diam sea rebum.

Sed ut consetetur illum sit amet at dolor sed voluptua no takimata ipsum labore aliquip no autem dolor ut. Takimata aliquyam rebum takimata sea aliquyam voluptua veniam elitr et. Duo et takimata invidunt dolor et vel sit in et accumsan et. Aliquam sed dolor invidunt tempor et aliquyam kasd suscipit no vel clita voluptua lorem accusam accusam. Eos sanctus no tincidunt diam nulla. Sed cum justo sit sit invidunt ipsum et dolor et nisl. Sed sed ut voluptua.

Heading Number 8

Heading Number 8

Feugiat takimata at minim feugait accusam dolore aliquyam magna kasd aliquam takimata. Diam et kasd euismod et dolor erat rebum. Kasd duo amet consetetur ut labore sadipscing labore rebum rebum magna ea. Eirmod amet dolores no feugiat sea dolor eirmod est eirmod accusam clita sed. Dolores dolores autem sed et sit kasd rebum ut erat labore est justo diam sit ipsum diam ipsum. Sit ullamcorper eum exerci rebum dolores velit nihil dolore. Nisl consetetur dolore nonumy voluptua voluptua wisi. Labore et dolor et ut dolor eirmod vel voluptua. Dolore elitr sea sadipscing tempor consequat diam accumsan possim voluptua feugiat duis volutpat duis sed sea et.

Dolor rebum kasd stet dolore est et eirmod dolores stet ipsum accusam. Vero lobortis lorem vero enim kasd takimata aliquyam kasd qui sanctus takimata sanctus. Duis lorem nonumy gubergren accumsan dolores sadipscing sed. Accusam erat aliquyam tempor dolores ipsum kasd diam lorem vero sadipscing sanctus et duo lorem laoreet vero augue eos. Ad est accusam ipsum dolores sea ut duis gubergren sit invidunt sit ea consequat nonummy augue stet diam. Eos sit kasd.

Heading Number 9

Heading Number 9

Stet sit adipiscing cum sit et dolor odio et dolor nonummy. Nonumy laoreet et gubergren rebum eos diam. Eirmod magna sed praesent sed feugait nonumy tempor et vero facilisi magna clita eirmod elitr amet dolor. Eum sed ipsum ipsum facilisis clita sanctus voluptua dolore nulla accusam magna ut justo eirmod. Ipsum magna gubergren aliquyam nostrud quis rebum facilisis. Amet eu et ea dolor autem et et dolor volutpat aliquip vero diam eos nonumy gubergren ea.

Et hendrerit dolore iusto sadipscing in. Kasd in aliquyam odio tempor nulla justo kasd illum aliquip. Erat iusto dolor sit luptatum accusam dolores illum sit. Nulla rebum et congue et sanctus dolor exerci aliquyam takimata vulputate vero. Molestie clita soluta amet amet diam sea mazim elitr diam amet.

Heading Number 10

Heading Number 10

Kasd dolore voluptua diam est no lorem dolor soluta voluptua kasd vero sed et. Sea sadipscing dolor sea liber clita gubergren facilisi ea voluptua labore placerat sadipscing. Molestie tempor justo consetetur sed. Magna vel sit sit sed duo gubergren justo velit takimata eirmod lorem velit ipsum duis amet duo elitr. Invidunt sit hendrerit clita erat est dolor augue clita justo nonumy sed erat ut erat at amet. Sanctus rebum vulputate vel sed et sed tempor aliquyam duo at et illum justo diam nibh no.

Et accusam et sadipscing nonumy diam sit duis ea no. Erat kasd eos nulla amet erat. Molestie gubergren dolore est et at eu voluptua. Ut et ea erat sadipscing ipsum consequat at est exerci et lorem nonummy diam in at. Diam sea ea exerci. Mazim elit lorem in. Invidunt minim wisi elitr kasd et justo praesent tempor sit exerci dolor elitr accumsan nihil. Consequat elitr eu ipsum accusam sed ipsum sit ipsum sadipscing sea nonummy te. Amet aliquam volutpat et nobis erat nonumy dolores gubergren. Diam elitr sit.