Formatting text for italics and boldface

Hello All,
If I have the contents of some string being displaced in a label (just like the Hello World app) is it possible to format the string to italicize or bold some words in the string. For instance if the string originally was "Hello there person" is it possible to format it so that in the label field it shows up as "Hello(bolded)there person (italicized" ?
Thanks.

Xanthos wrote:
The only way to do this is to implement a custom drawing routine. Override the drawRect method.
The only way? What about NSTextView?

Similar Messages

  • Italics and boldface not preserved in cut-and-paste from InDesign CS3

    This is using Mac InDesign CS3 5.0.1 and Mac Dreamweaver CS3
    9.0.
    When cuting-and-pasting text from InDesign CS3 to Dreamweaver
    CS3, basic text formatting such as italics and boldface are not
    preserved for me. When I select Edit, Paste Special in Dreamweaver,
    the "Text with structure plus basic formatting (bold, italic)" is
    not selectable when the clipboard holds InDesign-origin text.
    If I paste the same InDesign text into Word, the formatting
    is preserved and if I then cut-and-paste from Word into
    Dreamweaver, boldface and italics are preserved. But I don't want
    to cut-and-paste everything twice!
    Do others experience this too?
    -Tim Miller Dyck
    Editor/Publisher
    Canadian Mennonite magazine

    Apparently it is an issue with Leopard (and Illustrator)
    Workarounds:
    1) Export from InDesign as eps or PDF, or
    2) Copy paste into Photoshop as a Smartobject, and then double click the layer to edit smart object (it will open in Illustrator)
    I know, it's a pain.
    Ian

  • How to create Standard text for terms and conditions of po print form

    Hi anybody,
      I want create Terms and condtions inside smartforms PO FORM , how do i create terms and conditons and how use font size? I don't want hard code inside smartforms , I will create seperate texts for terms and condition after i include inside smartform.
    How i will do ? anybody please tell me.
    Thanks
    S.Muthu.

    Hi Subramaniyan,
                             U an create an include text node in your smartform.And terms and conditions is the header level text,so i suppose you have to give the inputs as follows :
    Text Name         &**-EBELN&
    Text Object       EKKO
    Text ID              xxxx
    Language          &**-SPRAS&
    is the data at your end .To simplify more follow the following.
    1> go to your purchase order from me23n
    2> open any purchase order and click on the terms and conditions text.
    3> go to GOTO option of the text.and click on the HEADER.
    4> U will find the attributes of the text which you will have to pass to the Include text in your smartforms.
    The long texts arestored in STXH table.
    Reward Points if useful.
    Cheers,
    Deepthee Kasal

  • Where do I find the long text for Damage and Cause in Notifications (IW21)

    Hi ppl,
    Can anyone let me know where the long text for Damage and Cause is stored (can be seen in IW21)?
    Can I retrieve it through FM READ_TEXT? If yes, what are the values of the parameters to be passed?
    Thanks,
    David.

    Hi!
    It is easy to check whether some text is read by "READ_TEXT" or not.
    1) Create text in dialogue mode and save it.
    2) Place brake-point in READ_TEXT FM
    3) go to view this text in transaction again
    If the program is switched to debug mode, it means u can use this FM. Have u tried do this stuff?

  • Why i am unable to format text in italics?

    why i am unable to format text in italics?

    Type Command-T to open the Fonts pane. Regular, Italic, Bold, etc will be listed in the Typeface column.
    Walt 

  • What format used for exporting and read 1920 * 1080 HD windows media?

    hello,
    what format used for exporting and read 1920 * 1080  hd  in  windows media  ?
    i try many format and  windows media refused to read ...
    merci thanks
    Yves

    thanks, sorry, but  i want produce small clips for   many  caritatives organisms    their computer have only Windows media ....and no many used of internet...
    this morning, i try   format windows media , hdtv 25 i/s high quality ...i'll try read it on another computer ...on my computer, it's ok ....

  • Formatting text (bold, italics, etc) in webmail client does not work in Firefox; works in IE and Chrome

    I use the Smarsh webmail client for my company's email service.
    I have been using Firefox in the office for quite some time, and only recently has this issue come up.
    When composing emails using the Smarsh client, I cannot format text (using bold, italics, or underline) using the buttons built in to the client. When I highlight text and click a formatting button, the cursor just moves to the end of the line.
    Using keyboard shortcuts to edit the formatting works sometimes, but is sporadic (sometimes formatting PREVIOUSLY selected text but not the currently selected text).
    I have tried downgrading to Firefox 16, 17, and 18 (as this problem has only come up in the last couple of weeks, and Firefox 19 was release I believe on 2/13), but this did not solve the problem either.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Is there any way to paste formatted text into muse, and have it stay formatted?

    Greetings,
    I have a client who sends material to me with intricate formatting (italics and bold only) for posting on the website. Is there any way to avoid losing that formatting when I paste it into Muse? If not, I have several hours of work to format everything all over again, every time he sends an update? Any suggestions?
    Thanks,
    Lori

    Hello Muse Community,
    Ok, so I have figured out how to do this. For those of us who have a large amount of formatted text to paste on a website, but don't want to have to take the time to format every individual word or line, the solution is to embed the following html code:
    <iframe src="filename.html" width="600" height="300" scrolling="yes"></iframe>
    and replace "filename.html" with a the name of a plain html document created from some other software where you can paste formatted text. Muse will pick up the html document as an included file in a window with a scrollbar. It's actually pretty slick.
    Best wishes,
    Lori

  • How to get iPhone Safari to format text for its screen

    My wife loves her iPhone, but there's one thing that's very frustrating: Safari likes to format pages so that only a small portion fits on the screen, and you have to scroll left and right to read the text. If you use a "pinch" to shrink the window, the font size also shrinks so that the text becomes unreadable.
    I've tested this with a few very simple HTML pages that I've created, just text with a few andtags, and nothing with a width= or size= attribute. We still have the same problem. Safari doesn't seem to want to wrap the text at all; it either displays a page at a tiny font or in a readable font with most of the text off the screen.
    I've also tested these pages with assorted other browsers, including Safari and the other dozen browsers I've installed on this Macbook Pro. All of them automatically wrap the text to fit whatever size window I use, including some very tiny windows. Also, the browser on my G1 "google" phone handles the pages just fine, using my default font and reformatting automatically when I rotate the phone to landscape format so that the text fits within the window.
    The only browser I've seen this problem with is on the iPhone. found the Settings screen, looked through the Safari settings and didn't see anything relevant.
    Any ideas what's wrong here? Or is the iPhone's Safari just flakey for simple text?

    The pinching gesture is used to zoom in and out on a page. It's not resizing the window.
    OK; I obviously don't know the right jargon. That's why I posted on a general discussion "support" forum rather than looking for a more technical one; I was hoping that my incorrect n00b terminology could be tolerated enough for people to try to understand the problem and point at some clues.
    To try to explain it in different (and probably still not correct) terminology, Safari on the iPhone acts like it's formatting the text of even my simple HTML text pages for a large physical "page", and giving me a choice of how I want to view it. I can zoom out and see the whole piece of text, but the font is so tiny that it's unreadable (even with a magnifying glass . Or I can zoom in, in which case the screen becomes a small window that shows only a small portion of the text, and I have to pan left and right to read it, because the "page" width is now several times the screen width. Both choices make for slow, difficult reading.
    I don't see this behavior in any other of the couple dozen browsers on 4 or 5 machines. What they do is respond to a change in the "window" size by reformatting the text so it fits within the window's width, scrolling off the bottom if there's too much text. This is easy to read, because vertical scrolling works well on all of them, and there's no need to pan left and right while reading a line of text.
    This was pretty much how HTML and browsers were originally intended to work, with the browser doing line wrapping as needed to fit the available screen width. The screen as a window into a much larger page is seen much less often. When it is seen, it's mostly because the web designers included lots of "width=" attributes to force the page to be some minimum width, typically much wider that any smartphone's screen. But my test pages don't do this, and all other browsers successfully format them to be readable even in very narrow windows. Our iPhone's Safari doesn't seem to do this formatting; it formats the text for a width wider than the screen even when there's no formatting information in the HTML.
    The obvious question is: Can the iPhone's Safari be persuaded to use more common scheme of doing line-wrapping to make the text fit into the visible screen?
    The G1's browser has an especially impressive demo of how it could be done. If I rotate that gadget, it reformats between portrait and landscape mode on the fly, and the text is always line-wrapped to fit the current screen width. So a paragraph that takes, say, 7 lines in portrait mode will switch to 4 lines as I rotate it to landscape mode, with the same font size. The iPhone has the same sort of switching, of course, but it "reformats" the text by changing the zoom factor, which isn't nearly the same thing. And for some of my test pages, the text runs off the right margin in both portrait and landscape mode. I have no clue why it chooses a "page" width that's so much wider than the screen, sometimes 4 or 5 times the screen width, but that's what it does, and it's very hard to read.
    So is there a way to tell it to stop doing this, and use line wrapping like other browsers do to fit the text into the visible screen width?

  • Having custom text for 'Actual' and 'Target' in Funne chart

    Hi,
    We see 'Actual' and 'Target' label values in funnel chart when we hover the mouse on the chart.
    But i need to change the text to custom text for SINGLE graph. I dont want to chnage any xml or config files, I need this change in single report only.
    Appreciate all your posts which helps.
    Regards
    MuRam
    Edited by: MuRam on Dec 31, 2012 7:36 PM

    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Text for block and select option on the selection screen of Logical Databas

    Hi,
    I have copied a standard program (RFBELJ10) which is making use of LDB (BRF) and created a custom program. Now, the requirement is to add a selection screen option to the custom report and do some validation on the data extracted. I have added the select option and provided a text (lets say "Segment") to it using menu path Goto --> Text Elements --> Selection Texts and activated. But this text is not displayed on the screen when i execute the report. It is showing the string which i used while defining the select option.
    Also i need to provide a frame and title to it. but its not displayed.
    i have written the following code for that:
    SELECTION-SCREEN: BEGIN OF BLOCK seg WITH FRAME TITLE text-h01. " Segment
    SELECT-OPTIONS: s_segmnt FOR faglflexa-segment. " Segment
    SELECTION-SCREEN: END OF BLOCK seg.
    Could you please help me in getting the texts displayed for fram and the select option?
    Thanks,
    Phani

    Solved the problem. I have maintained the text in German. So, when I execute the report in english, it is not displaying the text. I have translated the texts to English and is working fine now.

  • Default format pattern for Date and Number

    Hi everybody,
    I'm finding it very hard: my java app runs on Tomcat 5.5, I'd like to format dates and numbers with a specific format. For example: with Locale it_it date format is "dd-mm-yyyy", my wish is to display "dd/mm/yyyy" without changing the Locale (it_it is correct). Is there an env variable to set?
    Thanks.

    gianoele wrote:
    How cai I set with a proprerty? Like -Ddate.format="dd/mm/yyyy" -Dnumber.format="###.00"?You could do that.
    Then fetch it from your app and feed it to SimpleDateFormat.

  • How can I change the text for 'Return' and 'Back' links

    Hi everybody,
    How can I change text of standard links 'Return' and 'Back' that appear at the report bottom when user drills down?
    I need to change it in Hebrew interface.
    Thanks in advance,
    Alex

    You have to Customize the viewmessages.xml file. The original file path for English Language is
    oraclebi\web\msgdb\l_en\messages\viewmessages.xml.
    and The entries for back and return are
    <WebMessage name="kmsgEVCLinkBack"><HTML>Back</HTML></WebMessage>
    <WebMessage name="kmsgEVCLinkReturn"><HTML>Return</HTML></WebMessage>
    For more details, about language cusotmization read oracle documentation, page no 197.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31766.pdf
    - Madan

  • OO: translation of explanatory texts for methods and parameters

    Hi multilanguage community,
    in class builder, we can give explanatory texts for methods, parameters, attributes and so on.
    When I GOTO TRANSLATION, only text elements are given for translation.
    How to translate the rest?
    TIA,
    Clemens

    Hi Jörn,
    sorry, we have SAP ECC 6.0 SE63 Menu path Tramslation -> ABAP Objects -> Short text. A popup comes up for selection:
    Object Type Selection
        A1 Application Texts
        KP Knowledge Provider
        OT OTR
        S1 Partial Delivery 1
        S2 Partial Delivery 2
        S3 ABAP Texts
        S4 Repository Texts
        S5 Other Interface Texts
        S6 Technical Short Texts
        S7 Local Object Types
        S8 HR Texts
    Where to go from here?
    Thanks.
    Clemens

  • How to print artwork/text for CDs and CD case

    I’m posting this in both iTunes and GarageBand, since I’m not sure which is more appropriate.
    I want to create sleeves, or jackets, or whatever they’re called for my CD cases. Does anyone know of a good program and materials that would work for this?
    I want it to be capable of doing the following:
    1) import artwork, and/or a photo, and print it on the front cover;
    2) be able to incorporate printed text on, or over, that;
    3) be able to include text for the inside of the cover (maybe a small photo or two, or artwork, on that inside cover (to list tunes and instruments played, for example);
    4) include compatibility to print on round paper that would adhere to the CD itself...along with some kind of little “thing” that would facilitate placing that, with some kind of adhesive I guess, onto the CD;
    5) and, be compatible with OSX 10.3.9 (Panther).
    Your advice, suggestions, deeply appreciated.

    To print the Jewel case for the CD in iTunes:
    1. Create and name the playlist you want for the CD
    2. File > Print
    3. Select the "CD Jewel Case Insert" button on the top of the window
    4. Select the style of CD Jewel Case insert you want from the pop-up list in the bottom of the window and read the description of the style and look at the picture of the style to understand what you'll get.
    To print onto the CD itself, you have three choices:
    1. The old fashioned round sticky label. There used to be many versions of this software available from many company's complete with software and labels for about $10-$20. These are great for making nice labels, but as mentioned in another post, can throw off the balance of the CD in the player and can in some instances make the CD unplayable. As a result, they're not as readily available nowadays. Try Office Depot or Office Max.
    2. Buy a burner that prints directly onto the CD. As mentioned, this can be expensive.
    3. Buy a printer which has the "print directly onto CD" option included. This is a little pricer than the average printer, but printers are pretty cheap nowadays so that's not all that bad.

Maybe you are looking for