Class SantanderPdfPageFirst
- java.lang.Object
-
- org.apache.pdfbox.contentstream.PDFStreamEngine
-
- org.apache.pdfbox.text.PDFTextStripper
-
- org.apache.pdfbox.text.PDFTextStripperByArea
-
- de.frankmuenster.mahoe.pdfextractor.AbstractBankPDFPage
-
- de.frankmuenster.mahoe.pdfextractor.AbstractBankPDFPageFirst
-
- de.frankmuenster.mahoe.banks.santander.pdfextractor.SantanderPdfPageFirst
-
public class SantanderPdfPageFirst extends AbstractBankPDFPageFirst
TextAreas für die erste Seite.- Author:
- Frank Münster
-
-
Field Summary
-
Fields inherited from class de.frankmuenster.mahoe.pdfextractor.AbstractBankPDFPage
BESCHREIBUNG, BETRAG, BUCHUNGS_DATUM, CM_TO_PDF, FAELLIG_BETRAG, FAELLIG_BIC, FAELLIG_DATUM, FAELLIG_IBAN, FREMDW_BETRAG, FREMDWAEHRUNG, KARTEN_INHABER, KARTEN_KONTO, KAUF_DATUM, KURS, RECHNUNGS_DATUM, SALDO
-
-
Constructor Summary
Constructors Constructor Description SantanderPdfPageFirst(org.apache.pdfbox.pdmodel.PDPage page)
Standard constructor call super class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected float
computeFontHeight(org.apache.pdfbox.pdmodel.font.PDFont arg0)
protected java.util.Map<java.lang.String,java.awt.Rectangle>
defineFirstPageRegions()
Define first page regions.protected java.util.Map<java.lang.String,java.awt.Rectangle>
defineRegions()
Define regions.protected double
getXPos()
Gets the x pos.protected void
showGlyph(org.apache.pdfbox.util.Matrix arg0, org.apache.pdfbox.pdmodel.font.PDFont arg1, int arg2, java.lang.String arg3, org.apache.pdfbox.util.Vector arg4)
-
Methods inherited from class de.frankmuenster.mahoe.pdfextractor.AbstractBankPDFPage
getRectangleFrom, setRegion, writeString
-
Methods inherited from class org.apache.pdfbox.text.PDFTextStripperByArea
addRegion, extractRegions, getRegions, getTextForRegion, processTextPosition, removeRegion, setShouldSeparateByBeads, writePage
-
Methods inherited from class org.apache.pdfbox.text.PDFTextStripper
endArticle, endDocument, endPage, getAddMoreFormatting, getArticleEnd, getArticleStart, getAverageCharTolerance, getCharactersByArticle, getCurrentPageNo, getDropThreshold, getEndBookmark, getEndPage, getIndentThreshold, getLineSeparator, getListItemPatterns, getOutput, getPageEnd, getPageStart, getParagraphEnd, getParagraphStart, getSeparateByBeads, getSortByPosition, getSpacingTolerance, getStartBookmark, getStartPage, getSuppressDuplicateOverlappingText, getText, getWordSeparator, matchPattern, processPage, processPages, setAddMoreFormatting, setArticleEnd, setArticleStart, setAverageCharTolerance, setDropThreshold, setEndBookmark, setEndPage, setIndentThreshold, setLineSeparator, setListItemPatterns, setPageEnd, setPageStart, setParagraphEnd, setParagraphStart, setSortByPosition, setSpacingTolerance, setStartBookmark, setStartPage, setSuppressDuplicateOverlappingText, setWordSeparator, startArticle, startArticle, startDocument, startPage, writeCharacters, writeLineSeparator, writePageEnd, writePageStart, writeParagraphEnd, writeParagraphSeparator, writeParagraphStart, writeString, writeText, writeWordSeparator
-
Methods inherited from class org.apache.pdfbox.contentstream.PDFStreamEngine
addOperator, applyTextAdjustment, beginMarkedContentSequence, beginText, decreaseLevel, endMarkedContentSequence, endText, getAppearance, getCurrentPage, getGraphicsStackSize, getGraphicsState, getInitialMatrix, getLevel, getResources, getTextLineMatrix, getTextMatrix, increaseLevel, operatorException, processAnnotation, processChildStream, processOperator, processOperator, processSoftMask, processTilingPattern, processTilingPattern, processTransparencyGroup, processType3Stream, registerOperatorProcessor, restoreGraphicsStack, restoreGraphicsState, saveGraphicsStack, saveGraphicsState, setLineDashPattern, setTextLineMatrix, setTextMatrix, showAnnotation, showFontGlyph, showFontGlyph, showForm, showGlyph, showText, showTextString, showTextStrings, showTransparencyGroup, showType3Glyph, showType3Glyph, transformedPoint, transformWidth, unsupportedOperator
-
-
-
-
Constructor Detail
-
SantanderPdfPageFirst
public SantanderPdfPageFirst(org.apache.pdfbox.pdmodel.PDPage page) throws java.io.IOException
Standard constructor call super class.- Parameters:
page
- the first page of the account sheet to search the start of transactions- Throws:
java.io.IOException
- Signals that an I/O exception has occurred.
-
-
Method Detail
-
defineFirstPageRegions
protected java.util.Map<java.lang.String,java.awt.Rectangle> defineFirstPageRegions()
Define first page regions.- Specified by:
defineFirstPageRegions
in classAbstractBankPDFPageFirst
- Returns:
- the map
- See Also:
AbstractBankPDFPage.defineRegions()
-
defineRegions
protected java.util.Map<java.lang.String,java.awt.Rectangle> defineRegions()
Define regions.- Specified by:
defineRegions
in classAbstractBankPDFPage
- Returns:
- the map
- See Also:
AbstractBankPDFPage.defineRegions()
-
getXPos
protected double getXPos()
Gets the x pos.- Specified by:
getXPos
in classAbstractBankPDFPage
- Returns:
- the x pos
- See Also:
AbstractBankPDFPage.getXPos()
-
showGlyph
protected void showGlyph(org.apache.pdfbox.util.Matrix arg0, org.apache.pdfbox.pdmodel.font.PDFont arg1, int arg2, java.lang.String arg3, org.apache.pdfbox.util.Vector arg4) throws java.io.IOException
- Overrides:
showGlyph
in classorg.apache.pdfbox.contentstream.PDFStreamEngine
- Throws:
java.io.IOException
-
computeFontHeight
protected float computeFontHeight(org.apache.pdfbox.pdmodel.font.PDFont arg0) throws java.io.IOException
- Throws:
java.io.IOException
-
-