Unable to calculate text snippet height

Hello,
I am trying to dinamically adjust the size (height) of a container so a text snippet doesn't move to the next container. In other words I try to make sure that this exact snippet belongs to only one container. The way I try to achieve it is by listening to events which may influence the amount of text which fits the container. For example 'resize' event for the wrapping Sprite (or rather its parent) or 'INLINE_GRAPHIC_STATUS_CHANGED' event for the text flow because images can decrease the space for text. Whenever such events happen I check if the snippet belongs to more than one container and if not I increase the container's height (setting the composition height accordingly as well) and then I call 'compose()'. My expectation is that immediately after calling compose() I would be able to iterate over all TextFlowLines and retrieve the corresponding TextLines out of them. I also expect that all these will be valid and properly positioned/measured because I just called compose(). However some TextFlowLines are not completely populated with all these data. For example textLineExist=false, controller=null and validity='invalid'. This stops me from calculating the exact container's height I need to fit the snippet within this container.
Any information how to achieve this behavior would be greatly appreciated.
Thank you!

Hello again,
I found a solution to the problem mentioned above.
Instead of calling "compose()" I call "composeToPosition()" i.e. explicitely ask to compose to the very end of the text flow.
Now it works properly and I hope this is the right way to solve it.
Looks like "compose()" tries to be smart and composes text only partially to the point it is needed/visible/whatever.
I haven't examined Adobe's source code though. Hopefully this "solution" is not a workaround which won't work in the next night build.
Anyway if someone can shed some light on this exact behavior it would be great.
Cheers

Similar Messages

  • I am unable to receive texts on my new LG G2 when sent from some other iPhones

    I had an iPhone 4 and switched to LG G2 android.  I am unable to receive texts on my new LG G2 when sent from some other iPhones.  I've done everything Sprint and Apple have suggested - turned off imessaging, made sure the contact info on the other iPhones is plain mobile numbers, deactivated my iCloud account.  Nothing is working.  Anybody have any suggestions?

    See this support document http://support.apple.com/kb/TS5185. If you have done everything there, then look at the last line which says to get in touch with Apple Support. This is not Apple support, this is a user to user forum. Call Apple support based on your location with information from this support document. http://support.apple.com/kb/HE57

  • Unable to get Text to work on iMovie. Clicking on T gets me options, but when I click on any of them, nothing happens.

    On iMovie 11, an unable to use Text. I click on T and get options, but nothing happens when I click on any of the options.

    Thank you so much!  Such a simple solution after hours of frustration!

  • Why am I unable to change text color from black in LR5 book module?

    Why am I unable to change text color from black in LR5 Book Module?

    I'm assuming you clicked on the color patch besides the word <Character> to open the color picker window.
    At the right side of this window there is a vertical bar that has 2 horizontal black lines at the bottom.
    This is actually a slider. Pull it upwards with the color picker and color will appear in the window.

  • Text caption height in responsive project is not automatically resizing

    Hi all,
    I have a Captivate 8 responsive project in which a text caption is not behaving properly. When I get down to smartphone-sized screens the width of the text caption reduces with the width of the device. But, the height of the text caption does not increase accordingly to fit the content. The text just gets cut off at the bottom.
    I've tried the Auto height setting for the object size, but this scales the text down within the boundaries of the text caption. I would like to maintain the size of my text and have it grow down the screen the way plain text does in an HTML page.
    I also do not want to set my text caption height to 100% because I would like to stack objects beneath the text caption.
    Any help or advice is great appreciated.

    Hi cntdmds,
    There's a setting buried in Preferences > Defaults > Autosize Captions that changes all text captions in your file. This has enabled my responsive layouts to work better in Captivate.
    Re: creating something reliable: I'm in the midst of creating a large responsive e-learning course. It's been a really steep learning curve and a very frustrating one. I believe a reliable course can be created, but it's a hard journey. (My largest problem is my smart position markers don't stay at their assigned places, but I think I'm on track to solve it... perhaps.)
    Yet to see if this whole responsive Captivate adventure will be worthwhile. I hope Articulate adds a responsive capability to Storyline.
    Cheers.

  • Unable to type text in Text Frame

    After I draw a text box on my first page, I am unable to add text to it.
    There is nothing else on the that page, but the blinking cursor never shows up no matter how many times I click on the text frame.
    I checked for preflight errors, there is none.
    All these happen only on the first page. The other pages are fine.
    Im still new to Adobe In Design, so I need your help!

    Twice in one day... See http://forums.adobe.com/message/3790080#3790080 for starters, and having the file available will save lots of guessing if yo don't figure it out yourself. Check the master page, by the way, for a master text frame that might have text wrap applied to it erroneously.
    To shZAre your file, zip it and put it on a server someplace, then post a link here. If you don't have your own server, you can send it to yourself using a service like YouSendIt.com and post the link.

  • HT4528 i upgraded from an iphone to a Samsung galaxy and now i am unable to receive text messages now from iphone users.the iphones think that my number is still another iphone and always sends a message as imessage.

    Upgraded from iphone to a Samsung and now i am unable to receive text messages from other iphone users unless they disable imessage .
    Being my original number was on an iphone is why this is happening .
    Please help. Almost everyone has an iphone

    You should have turned iMessage off before disabling the phone. Do you still have the phone so you can turn iMessage off? If not, you will need to go to Apple support on their website and delete the product from your profile.

  • I'm unable to copy text out of an ADE book.

    Recently bought a new Windows PC and transferred all files to it from my old one.  Installed ADE successfully, gave it my authorization ID and all is well.  I'm able to open the book I'm interested in and browse all through it.  But I'm unable to copy text out of it.  I highlight the text in the book and when I either right-click or pull down the Edit menu, the Copy function is grayed out and clicking on it does nothing.  Ctrl-C also doesn't do anything.  This worked on my old PC.  What's up here?  Thanks for any help.  Jim

    I am having the same exact problem.

  • Unable to highlight text in my PDF files

    Iam unable to highlight text in my PDF files ,The tool shows in the toolbar and  i am able to select it .But when i go to the related text which i wish to highlight ,nothing happens . kindly advise, what am i doing wrong. The comment tool is working fine , and i am able to put text comments in the box.But i need to highlight certain text also.
    .I am using Adobe reader version 10.1. I reinstalled the program two times but still the highlight tool does not works .

    May be that the PDF files doesn't contain any text. What did you get when you use File > Save As > Text...

  • Unable to enter text in popup window

    Hi,
    I am new to OATS OpenScript. I am unable to enter text in the popup window.
    Here's my situation in detail:
    My application is in Oracle Siebel and the pop up is a webpage dialog.
    When I click on the Button in Siebel application, the webpage dialog pops up and there is a text box and a Submit button.
    When I was recording, I was unable to record the webpage dialog as it was not identified by Openscript recorder.
    Hence, I recorded the webpage seperately and the standalone scripts runs fine. It is able to navigate to the page and enter the text in textbox and click submit button.
    Now I am trying to integrate those Webpage XPath in my existing script but it fails to recognize the webpage or the textbox from the popup webpage dialog.
    Has anyone able to figure out how to record the popup windows using OATS OpenScript? Please help.
    Thanks,
    Sapna

    Hi Deepu,
    Thanks for replying.
    web:window[@index='0' or @title='Enter Card Number']/web:document[@index='0']/web:body[@index='0']
    web:window[@index='0' or @title='Enter Card Number']/web:document[@index='0']/web:input_text[@id='txt_name' or @name='name' or @index='0']
    web:window[@index='0' or @title='Enter Card Number']/web:document[@index='0']/web:input_submit[@name='submit' or @value='Submit' or @index='0']
    These are the XPaths I get when I record that webpage seperately.
    Also when I was recording the webpage alongwith the siebel app, I got these XPaths for the same objects:
    /web:dialog_unknown[@text='Enter Card Number -- Webpage Dialog' and @winClass='Internet Explorer_TridentDlgFrame' and @index='0']/web:accText[@index='2']
    Submit Button
    /web:dialog_unknown[@text='Enter Card Number -- Webpage Dialog' and @winClass='Internet Explorer_TridentDlgFrame' and @index='1']/web:accPushButton[@index='0' or @name='Submit']
    I also read in one of the forums that if the object is not added, I need to add it manually. How can i do that?:
    Popup wb window is not detected by openscript
    Thanks,
    Sapna

  • Unable to calculate a request signature: Algorithm HmacSHA1 not available

    I develop one javaFx application.
    which upload the files on amazon s3 server.
    The application work fine when the executable jar of the application is made.
    But when the native packaging of the application is done. The .msi file is created and after installing this .msi the application started correctly but at the time of uploading file on s3 the "Unable to calculate a request signature: Algorithm HmacSHA1 not available" error occur in log file and files are not uploaded.
    The creation of the jar and native application is done by the com.zenjava maven plugin.

    Got the solution.After creating native bundle the bundle have its own private copy of jre this private jre does not contain "ext" folder which is present in regular jre.
    This causes the problem of cryptography which is the reason for above problem.

  • Calculate accurate datagrid height with variableRowHeight and without any empty row

    hi ,
    how can i calculate accurate datagrid height with variableRowHeight="true" and without getting any empty row.
    Currently i am calculating datagrid height on updateComplete event of datagrid as follows:
    public function onUpdateComplete() : void
    this.datagrid.headerHeight=50;
    datagrid.height= datagrid.measureHeightOfItems(0, this.datagrid.dataprovider.length)+this.datagrid.headerHeight;
    with following datagrid properties:
    <mx:DataGrid 
    dataProvider="{dataArrayCollection}" width="100%" rowCount="{dataArrayCollection.length}"
    id="datagrid" updateComplete="onUpdateComplete()" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0"
    fontSize="12" wordWrap="true" variableRowHeight="true" verticalScrollPolicy="off" >
    With this approach the issue is, i am getting scrollbar on datagrid's container. I want scrollbar for datagrid instead of its container so that i can have only rows to be scrollable and not the header. Also, if i set verticalScrollPolicy of datagrid as "auto", i get empty rows.
    So,is there any way to have datagrid with following properties:
    variable row height
    no empty rows
    word wrap for headers as well as for rows
    Scrollbar for grid i.e. header should remain fix ,only rows should be scrollable
    no horizontal scrollbar
    TIA

    http://blogs.adobe.com/aharui/2010/10/mx-datagrid-list-and-variablerowheight
    .html

  • ORA-28545: error diagnosed by Net8 when connecting to an agent Unable to retrieve text of NETWORK/NCR message 65535

    Hello All,
    I have verified entire otn community, but none of the solution working for me and hence posting this problem. I'm getting below error message when I try to connect from oracle 11g to sqlserver database. All details are given below and request some body to provide resolution.
    Oracle 11 g server installed in "Red Hat Enterprise Linux Server release 6.3"
    Sqlserver running in Windows server enterprise 64bit OS.
    $ cat initdg4msql.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[SJCGNMWQA2WEB01]:SQLEXPRESS//msdb
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    $ cat listener.ora
    # listener.ora Network Configuration File: /home/oracle/11g/product/11/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
         (SID_NAME = dg4msql)
         (ORACLE_HOME = /home/oracle/11g/product/11)
         (PROGRAM = dg4msql)
    $ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /home/oracle/11g/product/11/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    GNMDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = sjcgnm62v2db1.skta.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = GNMDB)
    dg4msql  =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = sjcgnm62v2db1.skta.com)(PORT = 1521))
        (CONNECT_DATA = (SID = msdb))
        (HS = OK)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = sjcgnm62v2db1.skta.com)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = /home/oracle/11g
    Output of lsnrctl start
    $ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 22-NOV-2013 15:17:08
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Starting /home/oracle/11g/product/11/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    System parameter file is /home/oracle/11g/product/11/network/admin/listener.ora
    Log messages written to /home/oracle/11g/diag/tnslsnr/sjcgnm62v2db1/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sjcgnm62v2db1.skta.com)(PORT=1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=sjcgnm62v2db1.skta.com)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date                22-NOV-2013 15:17:08
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/11g/product/11/network/admin/listener.ora
    Listener Log File         /home/oracle/11g/diag/tnslsnr/sjcgnm62v2db1/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sjcgnm62v2db1.skta.com)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Services Summary...
    Service "dg4msql" has 1 instance(s).
      Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    SQL> CREATE PUBLIC DATABASE LINK sqlserver CONNECT TO "sa" IDENTIFIED BY "gnm123" USING 'dg4msql';
    Database link created.
    SQL> select * from dual@sqlserver;
    select * from dual@sqlserver
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    SQL> select * from "sys"."tables"@sqlserver;
    select * from "sys"."tables"@sqlserver
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    Pl help.

    Hi Klaus,
    I just pick the gateway 11.2.0.3 patch to the installation. Here I got error and patch installation failed.
    [oracle@sjcgnm62v2db1 13092292]$ opatch apply
    Invoking OPatch 11.2.0.1.7
    Oracle Interim Patch Installer version 11.2.0.1.7
    Copyright (c) 2011, Oracle Corporation.  All rights reserved.
    Oracle Home       : /home/oracle/11g/product/11
    Central Inventory : /home/oracle/oraInventory
       from           : /etc/oraInst.loc
    OPatch version    : 11.2.0.1.7
    OUI version       : 11.2.0.3.0
    Log file location : /home/oracle/11g/product/11/cfgtoollogs/opatch/opatch2013-11-26_12-41-27PM.log
    Applying interim patch '13092292' to OH '/home/oracle/11g/product/11'
    Verifying environment and performing prerequisite checks...
    Prerequisite check "CheckApplicable" failed.
    The details are:
    Patch 13092292: Required component(s) missing : [ oracle.rdbms.tg4db2, 11.2.0.3.0 ]
    [ Error during Prerequisite for apply Phase]. Detail: ApplySession failed during prerequisite checks: Prerequisite check "CheckApplicable" failed.
    Log file location: /home/oracle/11g/product/11/cfgtoollogs/opatch/opatch2013-11-26_12-41-27PM.log
    Recommended actions: This patch requires some components to be installed in the home. Either the Oracle Home doesn't have the components or this patch is not suitable for this Oracle Home.
    OPatch failed with error code 39
    [oracle@sjcgnm62v2db1 13092292]$
    Pl help.

  • Unable to full text index the contents in Oracle 11g UCM

    Hi,
    I am new to the Oracle UCM 11g.
    i am unable to full text index the content files that are check-in into the Oracle UCM.
    I have added the below entries in config.cfg file:
    SearchIndexerEngineName=OracleTextSearch
    IndexerDatabaseProviderName= SystemDatabase
    AdditionalEscapeChars=-;#
    While performing the indexing operation using Repository Manager only, metadata of the content files are indexed, but full text is not getting indexed.
    What is missing here in Oracle UCM for not fulltext indexing the contents? What configurations do i need to do for this so that i can search perform the full text search on the Contents in Oracle UCM?
    Thanks in Advance
    Dipesh

    Hi Srinath,
    Collection rebuild cycle runs perfectly fine. After enabling tracing for Indexer and systemdatabse, i got the below info in the log:
    "Finished rebuilding the search index with a total of 123 files successfully indexed. A total of 0 files had a full text index."
    The below is the details of the activeindex.hda:
    <?hda version="11gR1-11.1.1.3.0-idcprod1-100505T121221" jcharset=UTF8 encoding=utf-8?>
    @Properties LocalData
    UseImplicitZonedSecurityField=true
    blFieldTypes=
    ActiveIndex=index1
    blDateFormat=M/d{yy}{ h:mm[:ss]{ a}}!mAM,PM!tGMT+05:30
    @end
    @ResultSet SearchCollections
    7
    sCollectionID
    sDescription
    sVerityLocale
    sProfile
    sLocation
    sFlag
    sUrlScript
    TestHost
    !csSearchDefaultSearchCollection
    English-US
    local
    index1
    enabled
    <$URL$>
    @end
    Is it possible that OracleTestSearch Component is missing in Oracle UCM?
    Thanks
    Dipesh

  • Unable to calculate the price using the bapi  BAPI_SALESDOCU_CREATEFROMDATA

    hi guys,
    i am   able to create  a  sales order using the bapi BAPI_SALESDOCU_CREATEFROMDATA1' .
    the problem is that we are unable to calculate the price the amount column in the sales order is showing 00000 even though the condition has been taken from condition master.
    thanks.
    Edited by: nishant patel on Jul 21, 2008 9:59 AM
    Edited by: nishant patel on Jul 21, 2008 10:00 AM

    Hi,
    You need not pass the condition records for filling the pricing records in the sales order. The functional consultant will maintain all the necessary pricing procedure and the condition records and it will flow from there.
    May the pricing procedure is not correctly defined for that particular soldto party in the system, once that is maitained then everything will flow correctly.
    Thanks,
    Mahesh.

Maybe you are looking for