Results 1 to 3 of 3
- 12-19-2012, 05:03 PM #1
Member
- Join Date
- Dec 2012
- Posts
- 2
- Rep Power
- 0
PLEASE HELP: Reading words one by one (with determining font types) from pdf document
I have a pdf document(that is created from MS Word document, not image document). This pdf has texts in different font styles (bold, normal, and italic). I need to read these words of a text(from pdf) one by one and determine the type of font of the read word. for example: let we have such sentence in pdf:
Veli is writing to you.
I need to write a program that prints out:
word1: Veli ; font type:bold
word2: is ; font type: normal
word3: writing ; font type: italic
word4: to ; font type: bold
word5: you ; font type: bold+italic
It is important for me.. I have need to finish my lesson project. This is the first part of my project
Thanks in advance..
- 12-19-2012, 05:05 PM #2
Re: PLEASE HELP: Reading words one by one (with determining font types) from pdf docu
What have you tried? Where are you stuck? Where is your SSCCE? Since it's so important for you, you might want to make it easier for us to help you by being more specific.
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 12-19-2012, 05:22 PM #3
Member
- Join Date
- Dec 2012
- Posts
- 2
- Rep Power
- 0
Re: PLEASE HELP: Reading words one by one (with determining font types) from pdf docu
I searched a lot about my problem in inernet. I found out a lot of information about writin to pdfs. A few of them are about reading from existing pdfs.. I found pdfBox library of Apache, which I think will be more helpful for me.. But I couldn't make inferences on it.. :(. I need to choose bold written words from pdf document. (Then I will write those words to a text document.))
Similar Threads
-
Change the font-size from a table in a word-document using poi and XWPF
By louisa2012 in forum Apache POIReplies: 1Last Post: 11-26-2012, 10:54 AM -
how to increase font size of text that user types in dialog box?
By pfeldman in forum AWT / SwingReplies: 3Last Post: 12-01-2011, 11:09 PM -
Set Font Color, Font Style & Font Family While Replacing Text
By sherazam in forum Java SoftwareReplies: 0Last Post: 08-18-2010, 10:31 AM -
determining the page size(height & width) of a ms-word document
By pradeep_das in forum Advanced JavaReplies: 1Last Post: 05-06-2010, 09:48 AM -
Measuring hits for words in a document.
By bodrulalam in forum LuceneReplies: 0Last Post: 02-20-2010, 05:22 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks