List of usage examples for com.itextpdf.text.pdf PdfName L2R
PdfName L2R
To view the source code for com.itextpdf.text.pdf PdfName L2R.
Click Source Link
From source file:org.sejda.impl.itext5.util.ViewerPreferencesUtils.java
License:Open Source License
/** * Mapping between Sejda and iText direction constants * /*from w w w . ja v a 2 s .co 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; }