mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-19 02:37:56 +08:00
update IPageSegmenter with DlaOptions
This commit is contained in:
@@ -10,10 +10,18 @@
|
|||||||
public interface IPageSegmenter
|
public interface IPageSegmenter
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the text blocks.
|
/// Get the blocks using default options values.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="pageWords">The words to generate text blocks for.</param>
|
/// <param name="words">The page's words to generate text blocks for.</param>
|
||||||
/// <returns>A list of text blocks from this approach.</returns>
|
/// <returns>A list of text blocks from this approach.</returns>
|
||||||
IReadOnlyList<TextBlock> GetBlocks(IEnumerable<Word> pageWords);
|
IReadOnlyList<TextBlock> GetBlocks(IEnumerable<Word> words);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Get the text blocks using options.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="words">The page's words to generate text blocks for.</param>
|
||||||
|
/// <param name="options"></param>
|
||||||
|
/// <returns>A list of text blocks from this approach.</returns>
|
||||||
|
IReadOnlyList<TextBlock> GetBlocks(IEnumerable<Word> words, DlaOptions options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user