• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
text selection for pdfview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

text selection for pdfview


  • Subject: text selection for pdfview
  • From: "David Chan" <email@hidden>
  • Date: Thu, 21 Dec 2006 17:27:41 +0800

Hi everyone,

I am currently using pdfview and I am trying to emulate the function
in adobe acrobat where user can drag a rectangle over the text and
have all the text inside the rect selected.  I tried to use
selectionForRect function to get the pdfselection.

However, I notice that this function will only select the part of the
words that is inside the rect. If my rect only cover the part "sam"
from the word "sample", then only "sam" will be selected. This is
different from adobe's behavior where the whole word will be selected
as long as one of its character is inside the rect.

So.. my question is.. is there any workaround for this so that I could
easily select all the words that are inside or partially inside the
rect? Thank you very much for your kind attention.

Regards,
David
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: text selection for pdfview
      • From: John Calhoun <email@hidden>
    • Re: text selection for pdfview
      • From: Ronny Reichmann <email@hidden>
    • Re: text selection for pdfview
      • From: Ronny Reichmann <email@hidden>
  • Prev by Date: Re: Delegates -- WHAT is delegated? (was Re: Cocoa-dev Digest, Vol 3, Issue 1474)
  • Next by Date: Re: passing data to threads
  • Previous by thread: Modifying an object managed by NSArrayController
  • Next by thread: Re: text selection for pdfview
  • Index(es):
    • Date
    • Thread