possible Auto-text reflow?

screenshots below.

Is it possible to force a label automatically continue on the next line should automatically extend beyond his bounrries X?

in this example, all following the R (orism) should move to the next line below. inside the UPPER box boundries.

the top label is set as:

//CONTAINER:  (this is the UPPER box with thin green margins)

c.margins = Vector.([5,5,5,5]);
c.flow = ContainerFlow.VERTICAL;
c.sizeUnit = SizeUnit.PERCENT;
c.size = 35;
c.padding = 2;
c.debugColor = 0x00FF0A;

// create a text format for the text in the label
WordFormat.size=50;
WordFormat.align = TextFormatAlign.JUSTIFY;

// adjust settings for the actual content of label                              

WordText.autoSize = TextFieldAutoSize.CENTER;

// put the word, and label in the container
c.addChild(WordText);

Thanks for the research!

Hey dtater,

try to do the following:

//CONTAINER:  (this is the UPPER box with thin green margins)

c.margins = Vector.([5,5,5,5]);c.flow = ContainerFlow.VERTICAL;c.sizeUnit = SizeUnit.PERCENT;c.size = 35;c.padding = 2;c.debugColor = 0x00FF0A;

// create a text format for the text in the label            WordFormat.size=50;                                                                WordFormat.align = TextFormatAlign.JUSTIFY;

// adjust settings for the actual content of //label                              

//get rid of this//WordText.autoSize = TextFieldAutoSize.CENTER;

WordText.wordWrap = true;

//assuming you know the width of the container//set the height and width separatelyWordText.width = c.width;WordText.height = WordText.textHeight + 5;// put the word, and label in the containerc.addChild(WordText);

hope that things cleared up. Good luck!

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Smartphones how can I turn off Auto-Text for SMS, MMS, emails, and Instnt Msgng?

    Hello world

    Anyone know how I can disable will on e-mails, sms, mms & Instant Messaging online programs? Usually, I type in shorthand (words without vowels, acronyms, etc.) for faster messages... especially with the touchscreen technology / click safe poor of this phone.

    However, whenever I'm trying to stenography, the Auto-text suggestion & there is no other choice but to select some Word returns. Its really get irritating. :~/

    -laureus

    You have three things going on on the 9500 in portrait mode... Automatic insertion of predictive text and SureType.

    For AutoText, you just delete all entries. I don't know how to enable and disable.

    Predictive text - go to Options > language > input Options > predictive and uncheck. Similarly, there you can disable spell variants.

  • Adding pages and blocks of text to emulate the behavior of "Smart Text Reflow"

    I create a large number of tables in a document.  If I'm Smart Text reflow on, my script is malfunctioning.  I have the start of treatment:

    1. Add a new table

    2. If the last block of text of page overflowing and then add a new page

    With smartTextReflow off, I want to assure that the executives of new blocks of text which corresponding to the main text of the page master.  It must be able to manage to get the settings from the page of left/right text block.

    I have solved my problem.  I was overthinking things!

    Given that I have selected blocks of text on master pages as the main text blocks, when you create a new page, a block of text is automatically created. So the problem is then simply connect the block preceding text for the text block that was created when the page is added.

    TableAutomation.prototype.AddPage = function() {
         var previousTextFrame = app.activeDocument.pages[-2].textFrames[0];
         var np = app.activeDocument.pages.add();
         var textFrame = np.textFrames[0];
         previousTextFrame.nextTextFrame = textFrame;
    };
    

    The cost of the above code was about 5 hours of banging my head against the wall

  • How can I add Auto text based on the value in the numeric field?

    Need help... I'm trying to add the auto text to a text based on a value in a numeric field. I want my text fields (summary box) to say 'Success' if (box score) value is equal to 10 and say "is not good" If the value is less than 10. My digital field is calculated by selecting drop-down lists.

    Thanks in advance for your help.

    Ed Watson

    Here is a link to the document that I created...

    https://files.Acrobat.com/?TrackingID=KGLIT#folder/c3106c32-2e69-4a5f-8ef2-94d25623dbfb

    Try this:

    If (NumericField1.rawValue< 10)="">

    TextField1.rawValue = "does not."

    }

    else {}

    TextField1.rawValue = "passed."

    }

  • Smart Text Reflow stops working in the middle of my Documnet

    I broke one of the primary text on my master pages by typing a space inside character (which took quite awhile to see), but now I have overset text on the primary text with smart reflow power block. Why? And when I try to add a new page manually it does not contain any kind of textframe (primary or normal) that I expect to come from the main text on the master page frame. These two could be independent.

    Also, when juggling the Smart Text Reflow preferences turing on and off 'Delete empty Pages' document has just started gradually adding empty pages one after the other 70 or more before I noticed and off Smart Text Reflow and delete the pages manually.

    Any thoughts would be much appreciated.

    Signed, A.O.A.D. (always on a date deadline)

    So, I just corrected it to reinvest the end on the main text block. (Shift-click) Seems easy now. I guess that seen with text overset text reflow smart power threw me a bit. Everything is fine now.

  • work with Smart Text Reflow

    Did someone managed to trigger/Wait for smart text reflow scripted, in a useful way?

    Here's some of my code:

       //find docType headers and apply keep
          app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
          app.findTextPreferences.findWhat = "<docType:TaggedRTF>";
          app.changeTextPreferences.startParagraph = StartParagraph.NEXT_ODD_PAGE;
          myStory.changeText();
          //fix tables
          if (myStory.tables.length) {
           /// proceess tables, code too long, not important
    
            }
          }
          // wait for smartReflow
          // how? it seems to be triggered only on idle?
    
          //now check if story overflows    
          if (myStory.overflows) {
            alert('This story has overset text. Please fix before running WordRunner');
          } else {
            // no overflow, proceed with breaking stories
    
    

    I can always alert. Smart reflow begins only after the script has stopped running.

    so... waiting for a redesign or smart text?

    I tried to use $.sleep... does not work

    I tried to see that a backgroundTask is not triggered... If not.

    I'm lost and much annoyed.

    My only option, for now, is to ask the user to click a button after the text was reorganized. And it sucks!

    Please please please someone help!

    Well... This works. It's a cludge ugly, but at least it works. I write a code snippet, because ' we saw a lot of discussions on the same subject and maby someone else will find it useful.

     // save old recompose and set new one
          var myOldSmartText = app.activeDocument.textPreferences.smartTextReflow;
          app.activeDocument.textPreferences.smartTextReflow = true;
          app.activeDocument.textPreferences.addPages = AddPageOptions.END_OF_STORY;
          app.activeDocument.textPreferences.deleteEmptyPages = true;
          //find docType headers and apply keep
          app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
          app.findTextPreferences.findWhat = "";
          app.changeTextPreferences.startParagraph = StartParagraph.NEXT_ODD_PAGE;
          myStory.changeText();
          //fix tables
          if (myStory.tables.length) {
    /* long code to process tables, not interesting
    **
    **/
    
          }
         //process style rules
    
    /* long code to preformat text, add/remove space after headings, lists, blocks etc.
    **
    **/
          // save old preflight options, add new ones
          var oldPreflight = app.activeDocument.preflightOptions.properties;
          app.activeDocument.preflightOptions.preflightOff = false;
    
         // wait a maximum of 40 second for the preflight process. Before it runs, the (not so)Smart  Text Reflow should kick into action.
          app.activeDocument.activeProcess.waitForProcess(40);
          //stop preflight for a bit more performance?
          app.activeDocument.preflightOptions.preflightOff = true;
          //now check if story overflows? (maby you have a very large cell in a table? some wierd keep options? bad things happen
    

    Can I mark my own answer is right?

  • How to disable auto text selection?

    various applications (anything with a text box almost) automatic selection of text when you click on it.  My guess is that it's the browser or application that I've had terrible behavior that drives me to the top of the wall, always double-click to change what is there (as the address bar), which is what I always do.

    Hello

    ·         Applications which are are you referring to?

    Text select auto depends on application settings. WordPad for example has an option, 'Auto-selected words'. Disable this and I believe that you can select letters instead of being forced to choose words.

  • Is it possible to text on the next page?

    I do a form of sheets of A4 format with repeating field and shape of text to the next page flow/objects. is this possible?  pls help.

    Hi Tangnamofool2,

    It is possible with the following things supported:

    (1) make sure that the subform/Page parent in which you have repeating field has the content value sank

    (2) make sure that the option "allow Page break in content" is checked

    If you have any question, you can send the form to me @ [email protected]

    Thank you

    Kumar

  • Auto text resize in fixed field

    Hi all

    I scoured these forums for awhile, but I can't find the answer to my question, I hope someone can help me!

    In LiveCycle Designer, I am preparing a static form. I opened a PDF that works as a background image, and now I want to add text fields. So far so good .

    Now, when I save the file, it allows people to change. Great! However... In some cases, the text typed into the form is larger than the field assigned to it. I know there is a setting that allows you to resize it according to what the user has typed text. (so, it is still within the limit of the text box area). I am working in LiveCycle Designer, obviously on PC. I already checked the options in the object field (understand that the 'limit lengt to the setting of the visible area would do the trick), but I can't find the solution here.

    If someone has indications for me where and how I can do this, I would be very grateful!

    On the palette of fonts tab, select "change the value properties...". "and no editing together and then enter 0 in the size of the font. This will indicate the area of the auto-size of the font for a field in the field box.

  • Words of group Auto/text.

    I tried searching for it and could not find if it has already been discussed. Maybe I'm using the wrong search terms.

    I have several paragraphs of text and you must group each word and put it on its own layer. They way I'm doing it is by selecting each word and using the shortcut "Ctrl + G". It is of course very time consuming when working with large amounts of text.

    Is there a way to get around this where I can auto words group or something to that effect.

    Thank you.

    There is no easier way to do that

    1. Convert your text to text outline
    2. Ungroup
    3. Switch to direct solid selection tool
    4. Select the first word, CMD, CMD 3
    5. Repeat until cooked, then OPT CMD 3 4 to the unhide, use the drop-layers > release to layers

    You can ignore the CMD 3 to hide, I recommend you to help with your selections

    I don't like that you need to convert the contours and loose its editability (just 1 error or copy change of spelling is a disaster). If your goal is to animate this (just a guess on my part), there are the features of animation in After Effects that animate by Word.

  • Possible scam text?

    Hi, I got a text that does not very legitimate. Please, can anyone confirm if this text is really Apple?

    No, it's a scam.

    Do not use the link or provide any information

  • BlackBerry Z10 keyboard Auto text

    When you type a message, I sometimes see an Insert Word (green) governing the space key that prevent me from using it.  I can't continue and eventually accept the suggestion of incorrect word and then to remove it so that I can continue.  Please tell us how to get around this problem. It is very annoying.

    Just to add, there is a personal dictionary where you can add words in option. I built this. You can also disable the automatic text feature. Some people did as well. I prefer to use the automatic text feature. Built in help section in the phone has information about how to use the function comes out and use the options.

    Click on the link below to know some basics about the use of spell and how to change its options.

    http://docs.BlackBerry.com/en/smartphone_users/deliverables/47561/mba1343746831735.jsp

  • Smartphones blackBerry how to cancel auto text?

    could not find it... I want to type the words without automatic text

    Thank you

    I just disabled on mine!

    Go to Options > typing and entry > typing, and then set the virtual keyboard style (same physical)... I hope that's what you're looking for!

  • Plan auto text Illustrator on PDF save?

    Is there a plugin or that will automatically present the text in Illustrator to save in PDF format?

    Thank you!

    If you want a pdf output file and automatically have the text converted vectorised text, you can make yourself a new Preset of the PDF,

    Reach

    Change >

    Adobe PDF Presets... >

    then make a new preset, choose an original format such that X - 1a: 2001

    then on the Advanced tab, choose custom for transparency. and you can select 'convert all text in text converted to outlines.

    define other parameters would usually feel like, then save you...

  • How to stop Auto text?

    Hello

    I use my PC for work with a flyer designed by a third party in Indesign (version creative cloud) and I'll have some questions, my inside text alignment. I am trying to vertically align the two areas of different text with two different sizes of text, so that the text is aligned at the top.

    Whenever I try to move a text box upwards or downwards so that the text is aligned vertically at the top, the text remains in its current position while the box around it moves up/down until the text has finally reached a point of invisible break and jumps a certain ways down where I wanted to move it. Usually I can just move items 1 pixel/pt/etc both to align just as it should, but it's automatically skip the text upwards or downwards without the freedom/control.

    There isn't any "snap to the network' or ' smart guide" Articles currently. Block of text in a box options are identical and pure. I don't know what else could be the cause of this reaction. Help?

    You say that there is no snap to guide, but there is: your text IS lined up on the starting grid. What you see is the kaleidoscope of text to this reference point, until it allows you to move the image that your text is to align to a previous/next to the basis of the text. If you go to View - grids & guides - Show Grid base you will see what I mean.

    Use the help option to find out more about baselinegrids.

Maybe you are looking for

  • Re: Problems with Satellite L755 LAN

    Until recently I bought a Toshiba laptop and after going through a lot of trouble finding the right drivers, I tried to connect to the internet via a modem (a switch in fact), but it says * currently connected to: unidentified network / internet acce

  • 2.1 upgrade for Cliq Moto?

    So I updated to 2.1, which is the final version or is there any software to test? Because its a little buggy. The question is not answered! I did it by accident.

  • Activation of data roaming connection issues fixes?

    Had the terrible problems of data connectivity. I take the train from Baltimore to DC daily and w / my OG Droid, never had any problems, although the location of one or two only seemed to have 1 x available. With my Bionic, but often I drop my connec

  • Xbox live connection? ... help! .

    Do I have to connect my xbox to xbox live son without running a cable? Will be my windows vista will load a signal him or do I have some extra hardwear? I have an att on ethernet modem. Please explain in terms a 10... No... 9 year old can understand

  • EASEUS Partition Manager - program

    during the changes to my C-D-E records, I've lost some data on E:! I can't get an overview of my photos and 1 of my files that was locked! I made changes to the size of the disk, but between the FREE space, now I realize that I miss my data! How can