Hi,
I am using iTextSharp to parse a PDF document and extract the content as text.
The PDF document I am parsing contains data in tabular format.
I am using PdfTextExtractor.GetTextFromPage() to extract text from a PDF
page containing tablular data. The extracted text is having line seperator
"\n". So I split by "\n" and considering every line as a row. In every line I
split by whitespace and consider each value as a cell value. This has been
working great for me.
Now, the issue is, if any cell in the tablular data (in PDF page) is empty,
there is no way to identify from the extracted text for which column of tabular
data in PDF, the data is missing.
Please let me know if there is any solution for this issue. Also please let me
know whether it is possible to convert a PDF to Excel using ITextSharp.
Thanks in advance.
Thanks,
Bhanu Kota.
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php