Class PdfDocumentReaderConfig
java.lang.Object
org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig
Common configuration builder for the
PagePdfDocumentReader
and the
ParagraphPdfDocumentReader
.- Author:
- Christian Tzolov
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
final int
final ExtractedTextFormatter
final int
final int
final boolean
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Start building a new configuration.static PdfDocumentReaderConfig
Returns the default config.
-
Field Details
-
ALL_PAGES
public static final int ALL_PAGES- See Also:
-
reversedParagraphPosition
public final boolean reversedParagraphPosition -
pagesPerDocument
public final int pagesPerDocument -
pageTopMargin
public final int pageTopMargin -
pageBottomMargin
public final int pageBottomMargin -
pageExtractedTextFormatter
-
-
Method Details
-
builder
Start building a new configuration.- Returns:
- The entry point for creating a new configuration.
-
defaultConfig
Returns the default config.- Returns:
- the default config
-