Results 1 to 3 of 3
  1. #1
    veli is offline Member
    Join Date
    Dec 2012
    Posts
    2
    Rep Power
    0

    Question 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..

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,834
    Rep Power
    8

    Default 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!

  3. #3
    veli is offline Member
    Join Date
    Dec 2012
    Posts
    2
    Rep Power
    0

    Default 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

  1. Replies: 5
    Last Post: 01-05-2014, 09:12 PM
  2. Replies: 1
    Last Post: 11-26-2012, 10:54 AM
  3. Replies: 0
    Last Post: 08-18-2010, 10:31 AM
  4. Replies: 1
    Last Post: 05-06-2010, 09:48 AM
  5. Measuring hits for words in a document.
    By bodrulalam in forum Lucene
    Replies: 0
    Last Post: 02-20-2010, 05:22 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •