Setting return height in text?

How do you modify the hard returns between text in Illustrator?  For example, I want to adjust the amount of space a hard returns creates between two paragraphs.  Thanks!

copaesthetic,
Look for Leading in the Character palette/panel; you may need to click the right arrow ands Show Options. The other options are also worth knowing.

Similar Messages

  • Can't get "true" height of text box (text object) in Photoshop CS4-CS6 on Mac

    I'm seeing this behavior in CS4, CS5 and CS6 on the Mac using AppleScript. When I get the height of a text object layer as such:
         tell app "Adobe Photoshop CS4"
              tell current document
                   set textObjectHeight to height of text object of art layer 1
              end tell
         end tell
    The value returned doesn't match the height of the text object. In my mind the text object is the box that's displayed when I click on text in a text layer with the text tool active. The value for the width appears to match, just as I'd expect.
    I'm trying to get the height and width of the text box (text object) so that I can draw a box "underneath" it on another layer so that one can tell where the text box is. Kind of an FPO-type assistant. I'm currently using the position values and the height and width to create a colored box. I realized that the height isn't exactly right.
    Any help would be great appreciated. I've not explored the use of Javascript thus far, but am open to that as a solution.
    Thanks,
    Stephan

    I tried your code and it works just fine here… I used CS5 to try it… Here is a screen shot… I just put a solid fill layer at the bottom so you can see the guides…
    Script editor's event log gives me…
    tell application "Adobe Photoshop CS5"
      activate
      get position of text object of art layer 1 of current document
                        {150.0, 100.0}
      get width of text object of art layer 1 of current document
                        800.0
      get height of text object of art layer 1 of current document
                        449.999969482422
      make at end of current document with properties {name:"fill"} new art layer
                        art layer 2 of document "Untitled-1"
              select current document region {{150.0, 100.0}, {950.0, 100.0}, {950.0, 549.999969482422}, {150.0, 549.999969482422}} without antialiasing
      current application
      fill selection of current document with contents {class:RGB color, red:255, green:0, blue:0} blend mode normal opacity 100 without preserving transparency
      current application
      deselect current document
      current application
    end tell

  • Can I use the value returned from a Text Function in another Formula?

    I'm writing a report in Hyperion System 9 BI + Financial Reporting Studio version 9.2. I have 2 grids in my report.
    Grid1 Column A is set up as a text function using the function type - <<GetCell("Grid2", 1, a, 1)>>. I would like to use the values returned from this text function in Column A (Grid 1) in a formula in Column B (Grid 1).
    Is it possible to use the values returned in Column A of the text function in another formula? My report does not seem to recognize Column A as numerical values, even though the values to be returned are numerical.
    If so, how do I recognize the values in Column A Grid 1 as numerical values and not text?
    Thanks for any help you can offer!

    Hi Edson,
    Yes you need to use the CALC_ERROR macro function to be able to test whether the last macro function returned an error. CALC_ERROR will return an 'X' if there an error occured during the execution of the last macro function.
    You can use a macro similar to the following:
    IF
      CALC_ERROR( )
      = 'X'
          DO SOMETHING HERE
    ENDIF
    Let me explain how this works internally. The SAP system maintains a global variable g_flg_calc_error during the execution of macros in the planning book. The g_flg_calc_error variable will contain the value of f_calc_error that was set by the last macro function which executed. The ABAP coding of a planning book is something like this:
    data: g_flg_calc_error type /SAPAPO/FLAG.
    * SAP will pass g_flg_calc_error variable to all macro
    * functions. When SAP calls a macro function, it does
    * something like this.
    call function '/SAPAPO/MACRO_FUNCTION_HERE'
            exporting
              plob_values      = i_s_adv_plob_values
              sdp_book         = g_c_advf_sdp_book
              sdp_view         = g_c_advf_sdp_view
            tables
              cols_index       = i_t_cols
              value_tab        = l_t_value_tab
            changing
              f_calc_error     = g_flg_calc_error
    As you can see, the g_flg_calc_error variable
    is passed in the "changing" part of the call. The macro  function being called can then use the f_calc_error
    variable to change the value of the global
    g_flg_calc_error variable. In fact, the macro function being called can also check (by looking at the f_calc_error variable) if the last macro function reported an error.  The CALC_ERROR macro function just checks the value of f_calc_error parameter (w/c in fact is the value of the g_flg_calc_error variable) and returns "true/X" if the f_calc_error was set to true by the last macro function.
    Hope this helps in clearing things out

  • Soft Returns in Tagged Text

    Our Pindar AgilityCMS content managment system flows text to an InDesign page using a special PlugIn.
    Some characters are stored natively (store an "a", get an "a" on the page), while other special characters are stored using Tagged Text or Unicode. A return can be either <0x000D> or \u000D. This is especially useful because we can output through one of four "channels".... InDesign, Quark, HTML or as entered in the content manager. The return can now be \p in Quark or <BR> in HTML.  A non-breaking space, for example, can be \u00A0 in the InDesign channel, &nbsp; in HTML or <\!s> in Quark. When we insert the "special character" in the Data Editor of our content system, it might be displayed as [sp], but it will resolve correctly regardless of which channel we publish to.
    The problem is that unlike Quark, Adobe does not provide for a "soft return" or forced line break. Sure, you can type one from the keyboard with shift+return, and purists will argue that you'd never want to store a soft (discretionary) return in any type of tagged text or a content management system. However, all our text is set flush left, ragged right, and we frequently want to force line breaks for readability, and do so consistently.
    Instead of:
    On Sale Now Buy One, Get
    One Free
    we always want
    On Sale Now
    Buy One, Get One Free
    Again, this is a problem whether you store your data in simple tagged text files, or if you bring it in via a complex PlugIn, as we do.
    There are many, many threads on this site and elsewhere that discuss this shortcoming. Does Adobe plan to support Soft Returns in Tagged Text with some kind of special tag?

    Your question is predicated on some false assumptions, and I'm afraid Peter, Peter, and Stix didn't quite pick that up in their replies. (This gives me pause since normally they're all very detail-oriented).
    As I told you when you posted in the thread from 2009, "InDesign Tagged Text supports forced line breaks just fine."
    You write:
    Does Adobe plan to support Soft Returns in Tagged Text with some kind of special tag?
    Adobe's import mechanism does indeed support soft returns. There's no need to speculate on Adobe's plans, which is the direction the other replies went to.
    With that in mind, let's move to your actual question:
    Our Pindar AgilityCMS content managment system flows text to an InDesign page using a special PlugIn. 
    Some characters are stored natively (store an "a", get an "a" on the page), while other special characters are stored using Tagged Text or Unicode. A return can be either <0x000D> or \u000D. This is especially useful because we can output through one of four "channels".... InDesign, Quark, HTML or as entered in the content manager. The return can now be \p in Quark or <BR> in HTML.  A non-breaking space, for example, can be \u00A0 in the InDesign channel, &nbsp; in HTML or <\!s> in Quark. When we insert the "special character" in the Data Editor of our content system, it might be displayed as [sp], but it will resolve correctly regardless of which channel we publish to.
    I think you need to address this question to your support channel for Pindar AgilityCMS. Indeed, in IDTT <000A> represents a shift-return. Here's a screenshot of a test textframe:
    and when exported to InDesign Tagged Text, it produces:
    <ASCII-MAC>
    <Version:7><FeatureSet:InDesign-Roman><ColorTable:=<Black:COLOR:CMYK:Process:0,0,0,1>>
    <DefineParaStyle:NormalParagraphStyle=<Nextstyle:NormalParagraphStyle>>
    <ParaStyle:NormalParagraphStyle>Paragraph one
    <ParaStyle:NormalParagraphStyle>Paragraph two<0x000A>P2/Line two
    I presume you have tried <0x000A> as discussed in the prior thread.
    I suppose it's remotely possible this is a Mac/PC issue, because the two operating systems do you different line break characters.
    Anyhow, once again, your criticism of InDesign and Adobe is false and unfair. And if you have a problem with a 3rd party plugin, those are really the people you need to talk to.
    Still, it might be wise to get it working with plain File > Place. Try testing my above IDTT file. Or exporting your own from a sample textframe like the one I used.

  • How to set the height of a textarea dynamically

    Hi,
    I have been trying to set the ui.textarea's height dynamically and I am not able to do it. This is what I am doing.
    <ui:textArea binding="#{assignment$EditResult.textArea2}" id="textArea2" style="height: 90%" text="#{currentRow.value['comments']}"/>
    The height is being ignored and it is set to the default size. How can I set the height of this component to fit to the size of its cell, which is dynamic?
    Thanks for your help.

    Thank you for your help! It worked for something like this:
    getTextArea2().setStyle("color : red");
    but this does not work still.
    getTextArea2().setStyle("height: 90%");
    I think it still does not know the size of the cell at this point yet. But this is a good tip, thanks anyway!
    ~Kazzie

  • How to limit the number of search results returned by oracle text

    Hello All,
    I am running an oracle text search which returned the following error to my java program.
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    #### ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    java.sql.SQLException: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    When i looked up the net, one suggestion that was given is to narrow the wildcard query, which i cannot in my search page. Hence I am left with the only alternative of limiting the number of results returned by oracle text search query.
    Please let me know how to limit the number of search results returned by oracle text so that this error can be avoided.
    Thanks in advance
    krk

    Hi,
    If not set explicitly, the default value for WILDCARD_MAXTERMS is 5000. This is set as a wordlist preference. This means that if your wildcard query matches more than 5000 terms the message is returned. Exceeding that would give the user a lot to sift through.
    My suggestion: trap the error and return a meaningful message to the user indicating that the search needs to be refined. Although it is possible to increase the number of terms before hitting maxterms (increase wildcard_maxterms preference value for your wordlist), 5000 records is generally too much for a user to deal with anyway. The search is not a good one since it is not restricting rows adequately. If it happens frequently, get the query log and see the terms that are being searched that generate this message. It may be necessary to add one or more words to a stoplist if they are too generic.
    Example: The word mortgage might be a great search term for a local business directory. It might be a terrible search term for a national directory of mortgage lenders though (since 99% of them have the term in their name). In the case of the national directory, that term would be a candidate for inclusion in the stoplist.
    Also remember that full terms do not need a wildcard. Search for "car %" is not necessary and will give you the error you mentioned. A search for "car" will yield the results you need even if it is only part of a bigger sentence because everything is based on the token. You may already know all of this, but without an example query I figured I'd mention it to be sure.
    As for limiting the results - the best way to do that is to allow the user to limit the results through their query. This will ensure accurate and more meaningful results for them.
    -Ron

  • Setting fixed height in Crystal Reports sections

    Hi,
    I want to set the height of detail section in crystal report. I want to set the details section such that it must at the most accommodate 10 records in the section.
    If I have only 2 records in the section, it should show 8 empty lines.
    If I have more than 25 records in the section, the remaining 15 records will be placed on the next page.
    After that, the footer will be printed at the end of it.
    Is this possible?
    Thanks.

    Try this:
    1. You can also create a SQL expression field or use a subreport  to read how many records that it returns.
    2. Have 10 detail section; and
    3. In each section, put in all fields; and
    4. Have a running total in each section; and
    5. For each field in the section, you suppress based on the running total; and
    6. Do not suppress blank section; and
    7. Set new page if the running total is more than > 10

  • How to set specific height in JLabel but vary in width ...

    Hi,
    I want to set the height of JLabel to fix height but vary the width according to the content of the label...
    How does I do that ??
    JLabel lbl = new JLabel("Hello this is aman");
    lbl.setPreferredSize(100,30);
    If the the text is changed, the width will be truncated at 100 pixels... how do I change
    that to height 30, but width change according to text ?
    thank

    Hi..
    may be this works for you ---
    since u want to adjust the width with the text size.. means that you will be taking an input from the user and then set it on the label.. so before setting the text on the label & width of label .. get the length of the text and set this length as the width parameter to method setPrefferedSize()..
    ex:
    // get the text from textbox
    String userinp = textbox.getext();
    JLabel lbl = new JLabel();
    lbl.setPreferredSize(userinp.length,30);
    lbl.setText(userinp);

  • Setting AFrame height to the height of a graphic inside aframe plus padding

    Hello fellows,
    I am trying to set a permanent bottom padding between an anchored frame and a graphic object (embedded Visio) that is inside the anchored frame.
    However, instead of getting that padding below the graphic, the aframe becomes really small, and only 20% of the graphic is exposed.
    The code goes like this:
    SET vFrame = vCurrentDoc.FirstGraphicInDoc;
    Loop While(vFrame)
    IF vFrame.ObjectName = 'AFrame'
    SET vFrame.AnchorType = AnchorBelow;
    SET vFrame.GraphicIsSelected = 1;
    SET vGraphic = vFrame.FirstGraphicInFrame // Select the 1st graphic in the frame
    SET vFrame.Width = vFrame.TextLoc.InTextObj.Width;
    SET vFrame.Height= vGraphic.Height + 5mm; //Here is the padding of 5mm
    Set vGraphic.LocY = 0mm;
    Set vGraphic.LocX = (vFrame.Width - vGraphic.Width) / 2;
    ENDIF
    Please, advise!
    Thank you!

    This works for me:
    // Set a variable for the active document.
    Set oDoc = ActiveDoc;
    // Set a variable for the selected anchored frame.
    Set oAFrame = oDoc.FirstSelectedGraphicInDoc;
    // Update the anchored frame's position.
    Set oAFrame.AnchorType = AnchorBelow;
    // Set the width of the anchored frame to match the containing text column.
    Set oAFrame.Width = oAFrame.TextLoc.InTextObj.Width;
    // Get the first graphic in the anchored frame.
    Set oGraphic = oAFrame.FirstGraphicInFrame;
    // Make the anchored frame's height 5 mm taller than the graphic.
    Set oAFrame.Height = oGraphic.Height + 5mm;
    // Move the graphic to the top of the anchored frame.
    Set oGraphic.LocY = 0;
    // Center the graphic horizontally in the anchored frame.
    Set oGraphic.LocX = (oAFrame.Width - oGraphic.Width) / 2;
    After you get it tested, then put it in a function:
    Set oDoc = ActiveDoc;
    Set oAFrame = FirstSelectedGraphicInDoc;
    Set iResult = AdjustAFrameAndGraphic{oAFrame};
    Function AdjustAFrameAndGraphic oAFrame
    Local oGraphic(0);
    // Update the anchored frame's position.
    Set oAFrame.AnchorType = AnchorBelow;
    // Set the width of the anchored frame to match the containing text column.
    Set oAFrame.Width = oAFrame.TextLoc.InTextObj.Width;
    // Get the first graphic in the anchored frame.
    Set oGraphic = oAFrame.FirstGraphicInFrame;
    If oGraphic
      // Make the anchored frame's height 5 mm taller than the graphic.
      Set oAFrame.Height = oGraphic.Height + 5mm;
      // Move the graphic to the top of the anchored frame.
      Set oGraphic.LocY = 0;
      // Center the graphic horizontally in the anchored frame.
      Set oGraphic.LocX = (oAFrame.Width - oGraphic.Width) / 2;
    EndIf
    EndFunc // -------------------------------------------------------------------
    -Rick

  • Set maximum size in Text Form Field Options for a field in bi publisher RTF

    Hi All,
    How to set maximum size in Text Form Field Options for a field in bi publisher RTF.
    I have a RTF whch is having a field in that i need to add some validation condition but after adding certain condition in Add help text tab ,it is not accepting after certain length, how i can increase the length to unlimited,please help me on this
    Thnaks

    Form fields have some restrictions if your are using version lower than 11g.
    They can accommodate only 393 chars. You can add the text in both status bar and help key, which can in total consume 393 chars.
    If your code logic is more than that, it can be split into multiple form fields as Avinash suggested or you can use sub template logic and handle coding over there. Again in sub template code can be within/outside form fields.
    So there is no option for user to increase the size of form field.

  • How Can I Set a Default Placeholder Text Language?

    How can I set a default placeholder text language instead of having to set the language every time I use placeholder text?

    Steve Werner wrote:
    I think the default placeholder text language is the language of your version of InDesign.
    The placeholder text is based on the current language setting. So if the language under the cursor is Hebrew, you'll get Hebrew.

  • I purchased a text tone from Itunes.  It shows up in my library, but not as a text tone.  Is there a way for me to set it as a text tone for all texts?  Or I am stuck with factory settings?

    I purchased a text tone from Itunes.  It shows up in my library, but not as a text tone.  Is there a way for me to set it as a text tone for all texts?  Or I am stuck with factory settings?

    So it is conseidered a customized text tones even if it was purchased through iTunes?  Confusing.  Since I bought it through itunes as a text tone I assumed it would work.  OOOPS
    Thanks so much

  • How do I set up a group text

    How do I set up a group text from my contacts with my droid maxx?Kathleen

    Hey zzmama294,
    Thanks for the question. I understand that wish to learn more about group messaging. The following resources may provide assist you:
    iOS: Understanding group messaging
    http://support.apple.com/kb/HT5760
    Send a message to a group - Message - iPhone Basics
    http://support.apple.com/kb/TI82
    Thanks,
    Matt M.

  • Soft return in tagged text file

    Hi, anyone has example of using a End of line (soft return)  in tagged text file?
    i tried using <0x000A> but it does not work. Advice needed.
    Tkz

    So it does. It also drops it if you export in GB 18030. I would file a bug report:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Only workaround I can think of would be to enter some other unique character (maybe |?) and find/replace it in ID after bringing in the tagged text.
    Ken
    Hold on, I tried exporting tagged text and then bringing it back in. It's not dropping the forced line break. It's exporting it as a single Line Feed (hex 0a). And it interprets that as a forced line break when importing back in. My text editor ignores Line Feeds. I had to look at it in a hex editor to see the 0a.
    I don't know if that helps any. However you're producing the tagged text, you would need to be able to make it enter a line feed without the carriage return.
    Ken

  • How do I make mail readable, text barely readable on screen when set to 12 point text.

    Is there a way to increase the size of the displayed mail, as you are creating it?
    I have mine set to 12 point text, but it is still difficult to read. The e-mail when received is fine, it's the creating that's "tiny"
    Thanks
    Mike

    I use "screen zoom" (control + scroll up/down) often when creating these responses.  Or for anything else where I do not want to change the number of open winodws.
    You can also write the message in 16 pt font and "select all" to make it 12-point before sending.

Maybe you are looking for