public abstract class ReportPaperFormat extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static float |
PIXELS_TO_UNITS_FACTOR
Conversion factor from pixels to PDF units.
|
protected float |
UNITS_TO_PIXELS
Conversion factor from PDF units to pixels
|
| Modifier | Constructor and Description |
|---|---|
protected |
ReportPaperFormat()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
float |
getHeight() |
protected abstract int |
getHeightInMillimeters() |
int |
getHeightInPixels() |
abstract String |
getHtmlName()
Name of the format used on HTML
@page size |
abstract String |
getTeXName()
Name of the format used on LaTeX
\documentclass |
float |
getWidth() |
protected abstract int |
getWidthInMillimeters() |
int |
getWidthInPixels() |
protected static final float PIXELS_TO_UNITS_FACTOR
protected final float UNITS_TO_PIXELS
protected abstract int getWidthInMillimeters()
protected abstract int getHeightInMillimeters()
public abstract String getTeXName()
\documentclasspublic abstract String getHtmlName()
@page sizepublic float getWidth()
public float getHeight()
public int getWidthInPixels()
public int getHeightInPixels()
Copyright © 2018. All rights reserved.