Prev |  | Next

## 3.11. Fast Web View

### Overview

The term “Fast Web View” means that a server can deliver a PDF document to a client one page at a time. The ability to do this, is a function of the server, but the PDF document itself has to support this ability. Objects that are needed to render the first PDF page have to be stored at the beginning of the file. And also the cross reference table of the objects must be placed at the beginning of a PDF document.

“Fast Web View” can be seen in the properties dialog with Adobe Reader®.

There is one test method for linearized documents:

    .isLinearizedForFastWebView()

In the current release PDFUnit does not cover all of the above-named aspects. If there is a problem when testing linearized documents, please send a mail to info[at]pdfunit.com.

### Example

    @Test
    public void isLinearizedForFastWebView() throws Exception {
      String filename = "documentUnderTest.pdf";

      AssertThat.document(filename)
                .isLinearizedForFastWebView()
      ;
    }

Prev | Up | Next
3.10. Excel Files for Validation Constraints | Home | 3.12. Fonts