org.jpedal.external.GlyphTracker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenViewerFX Show documentation
Show all versions of OpenViewerFX Show documentation
Open Source (LGPL) JavaFX PDF Viewer for NetBeans plugin
/*
* ===========================================
* Java Pdf Extraction Decoding Access Library
* ===========================================
*
* Project Info: http://www.idrsolutions.com
* Help section for developers at http://www.idrsolutions.com/support/
*
* (C) Copyright 1997-2017 IDRsolutions and Contributors.
*
* This file is part of JPedal/JPDF2HTML5
*
@LICENSE@
*
* ---------------
* GlyphTracker.java
* ---------------
*/
package org.jpedal.external;
/**
* allow user to recieve raw glyph data as generated
*/
public interface GlyphTracker {
/**
* pass user the low-level details
*
* @param trm - the Trm matrix (x,y is Trm[2][0], Trm[2][1]), other values are width (usually Trm[0][0] unless
* rotated when could be Trm[0][1]) and height (usually Trm[1][1] or sometimes Trm[1][0]) Trm is defined in PDF
* specification
* @param rawInt - value found in TJ command (usually encoded)
* @param displayValue - unicode display value from rawInt
* @param extractionValue - unicode display value from rawInt
*/
void addGlyph(float[][] trm, int rawInt, String displayValue, String extractionValue);
}