RadaeePDF.com :: Topic: Text Only view in Reader (1/2)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Text Only view in Reader

Text Only view in Reader 2 years 10 months ago #7675

  • Haktic
  • Haktic's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
How can we get the text only view in pdf reader, i.e only text from the pdf document will be shown without graphics and pictures.
Any help will be apreciated,
Thanks
The administrator has disabled public write access.

Text Only view in Reader 2 years 10 months ago #7678

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
just using TextView.
like this:
Page page = doc.GetPage(pageno);
page.ObjsStart();
String val = page.ObjsGetString(0,page.ObjsGetCharCount());
page.Close();
TextView.Text = val;
The administrator has disabled public write access.

Text Only view in Reader 2 years 10 months ago #7680

  • Haktic
  • Haktic's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
Thanks for your reply .., can you please tell a little more details like where to add this code ?
The administrator has disabled public write access.

Text Only view in Reader 2 years 10 months ago #7691

  • Haktic
  • Haktic's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
Hi! radaee
i have tried this but no luck i am looking for your responce ..,
Thanks
The administrator has disabled public write access.

Text Only view in Reader 2 years 10 months ago #7699

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 40
  • Karma: 18
Can you explain why it's not working with you?

The above code should return only the text content of a page in a string...
The administrator has disabled public write access.

Text Only view in Reader 2 years 5 months ago #8785

  • Cooper
  • Cooper's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 2
Is it possible to improve this function? For instance:

- continue to next page in text only view
- don't show text in small columns but use the width of the screen
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Powered by Kunena Forum