Word wrap splitting single word

When I have a line that doesn't fit a single word, instead of trying again on the next parcel where it might fit, TLF (or maybe text.engine)  splits the single word between multiple lines.  Is there any way to change this behavior?

One my colleagues who works on the Player reminded me that there *is* an option for controlling this behavior in the Player, so I was wrong about that, I'm sorry. The fitSomething parameter to TextBlock.createTextLine would get you what you want. I think it would get you the side effect that a long word might not fit anywhere, so you see the text in the container (and posssibly also other linked containers) stop short because of a long word you can't see (the one that didn't fit). If the long word is at the start of the container, you'd see the whole container empty. But this could be what you want.
So if you're overriding our code anyway, you could also try changing the way createTextLine is called.
- robin

Similar Messages

  • Wrap a single word in a text field

    Hello everyone!
    I currently have a problem with text data that is displayed in a Flex text field <mx:Text>.
    It's a narrow textfield (100px wide) in a animated ad banner that displays content from a database. There are some words that are too long for the available space, so flash wraps some letters to the next line. I have attached a screenshot that shows the actual problem.
    The text is shown in a Java web-application as well, and since that Java app is displayed as a normale webpage, there is a lot more space for the text. I cannot put hyphens into the text because it would look weird in the normal web view.
    Is there a way to make automatic hyphenation happening when Flash wraps a single word?
    It would be perfect to get language-specific correct hyphenation, but a hyphen at the wrong spot is still better than no hyphen at all.
    Thanks for your time and help!

    I think your simplest bet would be to use mx:label and use the op
    tion truncateToFit="true". Also adjust the width so that the text appears prope
    rly. Hope this helps..!!

  • Split Single IDOC into Multiple IDOC's Based on Segment Type

    Hi Experts,
    I have a scenario IDOC to FILE ,  Split Single IDOC into Multiple IDOC's based on Segment Type
    Outbound:
    ZIdocName
    Control Record
    Data Record
    Segment 1
    Segment 2
    Segment 3
    Status Record
    I should get output like below
    Inbound:
    ZIdocName
    Control Record
    Data Record
    Segment 1
    Status Record
    ZIdocName
    Control Record
    Data Record
    Segment 2
    Status Record
    ZIdocName
    Control Record
    Data Record
    Segment 3
    Status Record
    Please suggest me step by step process to achieve this task.
    Thanks.

    Thanks a lot Harish for reply.
    I have small doubt. According to your reply , If we have N number of segments in single IDOC with same fields in all segments then for splitting Single IDOC into Multiple IDOC's based on Segment Type we need to duplicate N number of target IDOC tree structure.
    Is that possible to Split single IDOC into Multiple IDOC's based on Segment Type using only one Target IDOC structure without duplicating the Target IDOC structure tree.

  • Split single line entry into mutliple table entries using BODS.

    Hi All,
    I have a question on how to resolve splitting a single entry input into mutliple line entries using BODS.
    Example we have Column 1, Column 2, Column 3 and the output will have 3 lines with Line 1 value from Column 1, Line 2 value from Column 2 and Line 3 value from Column 3?
    Is there a loop that can be utilized inside a Data Flow?
    What I had thought of is current using a CASE and a MERGE to resolve this.
    Are there a better solution to this?
    Thanks,
    Tim

    Hi Maurice,
    Thanks for the reply. It's more based on a condition so say if column 1 has a value, then you get row 1 created, if column 2 has a value then only row 2 gets created. Also, the source table contains multiple columns and not all will be pivoted into rows, just a certain particular columns.
    Anyway, i had resolved this at the moment via CASE to split single row input into individual Queries and MERGE them back creating multiple rows.
    Would like to know if anyone has a better 'performance wise' solution.

  • How to Split Single Outbound Idoc into Multiples

    Hi guys
    Hope you all are doing good.
    Can you please let me know , How to Split Single Outbound IDOC into multiples.
    I am looking for some sought of configuration in IDOC/from SHIPMENT Configuration level.  Because this needs to be implemented for Shipment IDOCS.  Please let me know if this can be done through configurations apart from implementing  User exit or copying the outbound shipment function module.
    Awaiting for your valuable replies.
    Best Regards
    Shiva

    Hello,
    1. Routes
    2. Packaging used
    3. Shipment Type
    Regards
    Waza

  • Split single row in multiple rows based on date range

    I need sql script that can split single row in multiple rows based on start date and end date column in table.
    Thank you

    I agree to your suggestion of having a dates table permanently in the database. Thats how we also do for most of our projects as well
    But in most projects the ownership  of table creation etc lies with the client as they will be the DBAs and will be design approval authorities. What I've seen is the fact that though
    many of them are in favour of having calendar table they dont generally prefer having a permanent table for numbers in the db. The best that they would agree is for creating a UDF which will have
    tally table functionality built into it based on a number range and can be used in cases where we need to multiply records as above.
    Wherever we have the freedom of doing design then I would also prefer creating it as a permanent table with required indexes as you suggested.
    >> many of them are in favour of having calendar table they dont generally prefer having a permanent table
    Those people do not understand about database and are not DBAs :-)
    It is our job to tell them what is right or wrong.
    ** This is a real story! I had a client several years back, who was the CEO of a software company.
    He use the query:
    select * from table_name
    In order to get the last ID!
    The table_name was actually a view that took data from several tables, and the main table that he wanted to get the ID included several string columns, with lot of data!
    he actually pulled all this data to the application, just to get the lat ID in a specific table!
    It is our job as Consultants or DBAs to fix's his misunderstanding :-)
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Split single transaction into multiple PDFs

    I have a single XML file that contains a form that overflows multiple times. I want each form to be treated as a separate transaction (i.e. I want each form to generate a separate pdf).
    From the FSISYS:
    < ExtractKeyField >
    SearchMask = 1,<Wrapper
    I want each of these Address Changes to result in a separate PDF.
    <Wrapper>
    <ProducerConfirmations beginTime="0001-01-01T00:00:00" endTime="0001-01-01T00:00:00" emailChange="true" nyFlag="NA">
    <AddressChange previousAddressId="ResidentAddr_Old" addressId="ResidentAddr" mode="email" responsys="e0740ace1f534391b464b03707874636" addressType="Residential" />
    <AddressChange previousAddressId="BusAddr1_Old" addressId="BusAddr1" mode="email" responsys="e0740ace1f534391b464b03707874636" addressType="BusinessAddress1" />
    <AddressChange previousAddressId="BusAddr2_Old" addressId="BusAddr2" mode="email" responsys="e0740ace1f534391b464b03707874636" addressType="BusinessAddress2" />
    <AddressChange previousAddressId="BusAddr3_Old" addressId="BusAddr3" mode="email" responsys="e0740ace1f534391b464b03707874636" addressType="BusinessAddress3" />
    <AddressChange previousAddressId="BusAddr4_Old" addressId="BusAddr4" mode="email" responsys="e0740ace1f534391b464b03707874636" addressType="BusinessAddress4" />
    </ProducerConfirmations>
    </Wraper>
    Any way I can force the PDF print driver to produce each page as a separate file?
    Muchas gracias,
    Dave

    You'd need to use class recipients and make this node the address field. There is not an other way to split at the transaction level.

  • Message Split - single receiver- New Message ID

    Hi,
    I am trying a message split to a single receiver. But I want to have multiple line items in sxmb_moni with different Message IDs. So that if there is a failure of the message, through the triggered alert, I would be able to submit that single message.
    P.S: I am trying to avoid BPM.
    reg

    Hi,
    If you are avoiding BPM..then it means Splitting fill take place in Adapter Engine( for correspnding adapters).
    So if message fails in AE that it is possible to restart/resubmit that failed message (splittted message).
    Thanks
    Farooq

  • How to Split Single Idoc into 2 files and put some delay

    Hi,
    I have a IDoc to file Scenario. Invoice Idoc to Flat file scenario
    this is a reuse Interface
    Current Scenario we have graphical mapping(used for lookup and dynamic filename, mostly all the field mappings are 1-1) and ABAP Mapping to convert Idoc to flat file, 1 Idoc will generate 1 file.
    In addition to the above case, there is 1 more requirement
    Correction Invoice case. where in I get single Idoc with Multiple Item categories (Original data and Correction data)
    In this case always I need to send two files(2 Idoc data), first Idoc is for Original Idoc and 2nd is Corrected Invoice, these 2 idocs should be sent with some delay.
    In Correction Invoice case, I should generate 2 idocs based on Item category (PSTVY) value.
    Suppose I have 4 E1EDP01 segments out of which PSTVY has value "AA" and "BB" repeated twice as shown below
    <PSTYV>AA</PSTYV>
    <PSTYV>AA</PSTYV>
    <PSTYV>BB</PSTYV>
    <PSTYV>BB</PSTYV>
    So I need to generate 2 Idoc 1 for AA and other for BB.
    If there is no correction Invoice, 1 idoc for 1 file will be generated.
    Am planning to use BPM to delay the idocs and identigy bpm based on Document type else no bpm...
    How do I split the mapping of single Idoc to 2 files based on Item category.
    Thanks,
    Varun

    You can use the multi-mapping to split the message payloads according to business requirement (AA and BB segments values)
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    And then send to different receivers by adding the conditions on the Receiver Determination (for example, "field = AA" go to Receiver1, and "field = BB" to to Receiver2).
    http://help.sap.com/saphelp_nwpi71/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/frameset.htm
    Or even Extended (enhanced) receiver determination, should the scenario be more complex:
    http://wiki.sdn.sap.com/wiki/display/XI/EnhancedReceiverDeterminationinSAP+XI

  • Migration ( Splitting Single Node to 2 Node Cross Platform)

    Hi,
    I have 11.5.10 Single Node Installation( Database and Middle Tier) on Red Hat AS 4.0....Both Database and Application Tier on same machine.......
    My Client is insisting me to move Application Tier to another machine having Windows 2003 32bit/64bit...
    How can I do it...
    Can I follow this document........304489.1 - Using Oracle Applications with a Split Configuration Database Tier on Oracle 9i Release 2....
    But above document says...splitting Database Tier to other machine...

    This is just wrong in so many ways...
    1) You will never be able to hot patch on the Windows tier.
    2) You will need to reboot the server frequently to clear memory leaks etc
    3) You will have to reboot after almost every security update for the OS
    4) As stated earlier, you are moving from the primary development platform to like a tier 3 platform
    5) Memory utilization on 32-bit Linux is light years ahead of memory utilization on 32-bit Windows
    Most of us could probably rattle off a dozen more reasons why this is not a good idea...
    You will support more users with a higher quality of service by standing up an application tier node on Linux than you will on Windows. You could also just add a 64-bit linux node and migrate the database to 64-bit there using the split configuration docs and leave you admin/web/forms/CP tier on Red Hat 32 bit.

  • Splitting  single row to multiple query result

    Hi All,
    I have a column is a table with data seperated by new like . I need to write a select query which can split this to multiple rows .. can any one help me out .
    please see the xample
    select data_comm from customer where rownum=1
    data_comm
    serial=0
    parallel=1
    comm=1
    a single row contain a field called data_comm which has got data stored seperated by new_line
    I need to write a query which can split data on data_comm and give as multiple rows.
    Thanks in advance

    I think something like this would do the trick.
    Part 1:
    select substr(data_comm, 1, instr(data_comm,chr(10),1)) from customer ;
    Part 2:
    select substr(data_comm,instr(data_comm,chr(10),1)+1,instr(data_comm,chr(10),2)) from customer ;
    Part 3:
    select substr(data_comm,instr(data_comm,chr(10),2)+1,instr(data_comm,chr(10),3)) from customer ;
    Maybe the chr(10) is not the used newline char, but you can figure that one out yourself

  • Splitting single video into multiple files - workflow improvements?

    I regularly need to split a single video into multiple separate files that are used by other programs.  I'm using Premiere Pro CS4 for a number of reasons including the ability to easily and accurately select a scene by individual frames, native audio and video effects/filters, and the ability to import and export various video types.  I'm open to using other tools, but I haven't yet found one that is even close to Premiere Pro when it comes to accurately selecting split points.
    I'm not a Premiere Pro expert.  I have been doing this for about four months and have read many resources (books, forum posts, help guides) to refine the workflow I'm currently using.  My question:  does anyone know any improvements that might save me time/keystrokes.
    Current workflow:
    I've bound F8 to File > Export > Media
    Import video file
    Open in source monitor
    Set In and Out points for scene in source monitor
    Ctrl-drag from source monitor to Project Panel (creates a subclip)
    Repeat 3 and 4 for all scenes/subclips
    Select all subclips from Project Panel and drag to timeline
    Set work area bar to first subclip in timeline by the following four keystrokes:  Home, Alt-[, PageDown, Alt-]
    Type F8 (File > Export > Media shortcut).  Type output file name, click OK and the first subclip is put in the AME queue
    For the remaining subclips, type: Alt-[, PageDown, Alt-], F8, output file name, OK and repeat until done
    Any thoughts/ideas on workflow improvements?
    Thank you!

    Thank you Hunt.
    For the sake of brevity, I didn't include all of the details about the various aspects of the projects.
    Early on I was doing what you suggested and yes, it is a little quicker.  I learned (painfully) a couple of months later that I sometimes have to go back and adjust the clips and this method (trim to timeline with no subclips) resulted in quite a bit of duplicate effort (to reobtain start/stop points).  I've since learned that managing the "scenes" as subclips in topical bins allows me to go back and make adjustments, long after I've totally forgotten about the project content, without a lot of unnecessary reworking.

  • How to get text wrapping in single cell?

    I know there's a text wrap setting where text will either go across horizontally, covering other cells, or stay in the same cell.
    But I'm not sure how to change the setting where text will wrap in the same cell, and the row will become wider to accommodate the extra text. Some cells seem to be doing that, others don't.

    Cash88 wrote:
    It's not text wrapping, I didn't know what to call it.
    When you add more text, rows either widen so that you can see all the text, or the row doesn't widen and it gets cut off at the end.
    If you have wrap set to 'on' for a cell, the cell will expand vertically to accommodate more text as it is entered. This will cause the row containing the cell to also increase in height. Neither the cell nor the row will increase its width.
    If wrap is set to 'off' for a cell, excess text will flow into an empty cell in the direction away from the edge to which the text is aligned in that cell. If any cell in that direction has content, the text display will be truncated at the boundary of that cell.
    To my knowledge, there's no setting that will make cell width increase automatically to accommodate more text.
    Regards,
    Barry

  • Customer exit Variable to split single date value into a range

    Hi All,
    we have a requirment where user will enter a date(01/21/2010) value in the variable input screen, it should be single value and mandatory, and the query output should have data for the Preceding 24 months for all 6 Key figures.  (e.g. user chooses 12/15/2009, result set is 12/01/2007 - to - 11/30/2009) summarized by month,
    Our query design is as given below -
    since we only have DATE value in the cube, we have added FISCAL YEAR/PERIOD in the cube and mapped DATE with time chars. Now the cube has the data stored in monthly buckets using FISCAL YEAR/PERIOD . Now we have used the variables  FISCAL YEAR/PERIOD  to restrict Key figures and have an offset on that to get the prior 24 periods.
    Since in our requirement user wants to enter Date variable asmandatory input, we create 1 customer exit variables as a mandatory & single value variable for Date Variable, and using that exit variable we thought of passing the period of user entered date to FISCAL YEAR/PERIOD  which we are using to restrict Key figures and get offset of 24 months.
    Can someone please help us in passing this period vaule from inout Variable Date to Fiscal year/period using CMOD, any other ideas are also welcome
    Thanks in advance

    Hi sateesh,
    we are using DATE_TO_PERIOD_CONVERT ,but in this case if user enter's a date (01/21/2010) then we are getting output only for that date and not for the entire prior 24 months period
    As per our requirment when user enter's date (01/21/2010) it should get the whole range that is entered date and 24 prior months and pass the range back to same input Variable so that in the output we get the data for entire prior 24 months
    Thanks

  • Split Single Server Installation into two servers...

    Hello everyone,
    We are using OCS 10.1.2.3, SO Linux RHEL 3. We have the infra and apps in a single box installation. All in one and we are using all Collaboration Suite services except Wireless.
    We are having a huge performance problem in there. After we start to use Content Services, our Infra Database is growing 10 Gb per month and the app tier is consuming all RAM memory from the server.
    So, we are trying to separate the Infra tier from the App tier, in two servers, but we can't find anything, any docs, any articles, any metalink notes, nothing at all!
    So, my question is:
    * Anyone has been through the same situation?
    * Is actually possible to separate the tiers after one year running both tiers on the same server?
    Thanks in advance,
    Paulo.

    We have moved our database to new hardware - so I know that portion is possible. We had the two databases for our ocs install in the same RAC environment. We had 3 sets of servers for our install 2 OCS App nodes, 2 IdM nodes, and 2-node RAC DB (holding 2 databases). We moved the IdM databases to a new RAC environment to allow IdM nodes to be up when we need to perform maintenance on OCS App/RAC nodes.
    Moving the database required only an update of TNS and OID information that pointed which hosts held the database.

Maybe you are looking for

  • Search in Mail yields multiple versions of the same email

    I wasn't able to find any other postings on this, but this has been bugging me for a while now . . . just not big enough of a deal to do anything about. Whenever I do a search in Mail, the results give me multiple versions of the same email, in diffe

  • IPod Froze

    Can somebody help me fix my ipod nano. It froze and I don't know how to fix it.

  • Becoming a member of the Privilege Group

    People, I am using the PL/SQL packages wwsec_api and wwsec_oid to create and maintain users and groups. The problem is that I need some users to members of the "Privilege Group". This is described on the OID html interface as "Grant members full DAS

  • Stuck on 'Media Pending' PP CC 2014 8.0

    After the first import of all my MXF files into Premiere Pro CC 2014, it's now stuck on 'Media Pending' since I reopened the project. Cleared cache etc to no avail, seems to be a common issue but I haven't came across a solid fix yet, anyone else hav

  • HT4623 i can not open app store on the new update

    I installed the new update today and now some of my apps will not open I can't even open the app store