List of usage examples for com.lowagie.text.pdf PdfName R2L
PdfName R2L
To view the source code for com.lowagie.text.pdf PdfName R2L.
Click Source Link
From source file:org.sejda.impl.itext.util.ViewerPreferencesUtils.java
License:Apache License
/** * Mapping between Sejda and iText direction constants * /*from w ww. jav a2 s .c o m*/ * @param direction * @return the iText direction constant */ public static PdfName getDirection(PdfDirection direction) { if (PdfDirection.RIGHT_TO_LEFT.equals(direction)) { return PdfName.R2L; } return PdfName.L2R; }