• 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
Stripping formatting ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stripping formatting ...


  • Subject: Stripping formatting ...
  • From: J Nozzi <email@hidden>
  • Date: Tue, 23 Dec 2003 15:55:22 -0500

Hello, all:

As always, please be gentle ...

I'm attempting to strip ALL formatting of any kind EXCEPT bold, underline, and italic. The documentation seems to be leading me in circles. Even the old standby reference books aren't offering much clarity. They all show how to modify each individual one, but I'm looking for a very efficient way of zapping everything but those attributes.

Say somebody pastes some rich text into a NSTextView with every format imaginable ... is this ALL handled with attributed strings or (as what I've read would seem to suggest) is some handled by NSFont / NSFontManager?

Again, I want to remove ever conceivable formatting except b, u, i. Help? Merry Christmas to me??? ;-)

- J
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Stripping formatting ...
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Path of imagefile that was dragged to NSImageView
  • Next by Date: Re: Path of imagefile that was dragged to NSImageView
  • Previous by thread: Re: Path of imagefile that was dragged to NSImageView
  • Next by thread: Re: Stripping formatting ...
  • Index(es):
    • Date
    • Thread