@PdfJsViewer

An annotation that can be applied on a Property or a Parameter of type org.apache.causeway.applib.value.Blob . Such property/parameter will be visualized withPDF.jsviewer.

API

PdfJsViewer.java
@interface PdfJsViewer {
  int initialPageNum() default 1;     (1)
  Scale initialScale() default Scale._1_00;     (2)
  int initialHeight() default 800;     (3)
}
1 initialPageNum

The page (number) to render, when this particular domain object('s property) is rendered the first time.

2 initialScale

The scale to render; defaults to 100%.

3 initialHeight

The (pixel) height of the panel; defaults to 800px.

Members

initialPageNum

The page (number) to render, when this particular domain object('s property) is rendered the first time.

initialScale

The scale to render; defaults to 100%.

initialHeight

The (pixel) height of the panel; defaults to 800px.