Download the text of TextLine

How can I make the text displayed in a TextLine object?

I can not find, but I'm pretty sure I forgot something.

If the TextLine was created by TLF, then its userData property should be a TextFlowLine. The TextFlowLine has an absoluteStart, that tells you where he starts the TextFlow and a textLength. The TextFlowLine is also a paragraph. Of the paragraph, you can get the TextFlow and the TextFlow has a getText() method to get the text.

So, put that all together, something like this should work:

var textFlowLine:TextFlowLine = textLine.userData as TextFlowLine;

var textFlow:TextFlow = textFlowLine.paragraph.getTextFlow ();

var textOfLine:String = textFlow.getText (textFlowLine.absoluteStart, textFlowLine.absoluteStart + textFlowLine.textLength);

-robin

Tags: Adobe Open Source

Similar Questions

  • Download the text file of the site domain

    I need to download a text file to a directory of a domain site.  Text file is saved  What to do next?

    On your PC, right-click on the text file, and then click on copy.

    Connect to the domain (if you don't know how, you will need to get instructions from the domain administrator on how to configure your PC to connect to the domain - specific settings that are required there and they differ by area - and you may need to be configured on the domain and given rights).  Once the installation program I would map a drive to the field to make easier access next time.  Navigate the site of field to the directory where you want the file to exist.  Right-click on the directory and click on paste.

    The file will now have been copied in the domain site directory (assuming you have the appropriate permissions on the domain server to add files in this directory - you will need to talk to the domain so that administrator it it gives you an "access denied" or "you do not have sufficient to perform this task" or a similar error message).

    That's all there is to it.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Download the text in the phone app

    Hi all

    I added my own element of the blackberry phone application menu. When the user enters a phone number in the textfield / searchfield and then it selects my custome menu I get the phone number in the run method of the ApplicaitonMenuItem. However if the user enters a world like the taxi it not passed to the method run (object in the operating system run null method). This acutally works perfectly in 4.6 and 4.6.1 OS but it no longer works in 5.0.

    I know it is possible to recover the text as he did voxofon.

    I tried to find the searchfield / textfield to the active screen to retrieve the text but the research / textfield is a special blackberry which we do not have access to.

    Any help or suggestion appreciated...

    Hello

    See this thread

  • Download the text using JAXB

    In my application, I read an XML (with JAXB) but it's time I have empty segments.

    I put a few examples

    <tuv> <seg>Unknown: the action taken should always be known</seg> </tuv>

    Here I read the "seg" label, I can get all the text "unknown: the action must always be called ' but if this text is like this:

    <tuv> <seg><bpt i="1" x-wb-tag="b1" />Unknown<ept i="1" x-wb-tag="/b1" />: the action taken should always be known</seg> </tuv>

    I get nothing, my variable is empty and I want to get all the text "unknown: the action must always be called.

    Could I get this text " <bpt i="1" x-wb-tag="b1" />Unknown<ept i="1" x-wb-tag="/b1" />: the action taken should always be known " or just " Unknown: the action taken should always be known " (without the 'ept' and "bpt" tag? (I want it as a string)

    Note: the value of the variable is a 'string. '

    Thank you!

    I answer my question, if someone needs it.

    I used @XmlMixed which returns a list of objects.

    There is more information: joint element

  • Download the text of the query to a trigger

    I have the trigger on update. And I want to connect this update to another table. I want to log a query text that activated a trigger in my log table. Is there a way to get the text of the query in Oracle?

    As I told you to look at this post Re: capture the sql statement that activates the trigger
    There is a bug with this summary in 10G which is corrected it. ora_sql_txt always returns NULL because of this bug.
    In the post above, I've posted a link to ora FAQ, where you can find more information on this bug and very probably some metalink url also.

  • Lightroom do not download the text of presentation or download pdf's

    5 Lightroom do not download book or pdf on the presentation text.  It seems to go in and then it says cannot make photo.  They are not always the same photos with this message.  Am so frustrated.

    I suggest make you a copy of the book "Saved" in the Panel collections (right click > duplicate) as a backup. Experiment with the duplicate.

    I read on several things that cause similar problems-

    Photos that are "missing" in the catalog, [!]

    Unusual characters in filenames image [as $% ^ &, even spaces]

    Rare or problems fonts text. Too many different fonts used. (Edit > select all cells of text [Ctrl + Alt + A] and handed over to a joint police)

  • Multi load: error downloading the text file with more than 5 times

    Hi all

    I am getting below error while trying to load a text file with more than five periods of data through Multi charge.

    " File can not be treated because the number of specified periods exceeds the available periods!" ".

    FLTFILE_TO_PLANNING3
    BUDGET
    30/04/2013
    6
    Q.
    A, C, UD1 UD2 UD3, UD4, UD5, UD6, UD7, UD8, V, V, V, V, V, V
    AC_11102, CC_104204, Local, year 0, target, Final Budget, SA_000000, P_000001, HSP_InputValue, entry, 60, 70, 80, 90, 100, 110
    AC_11102, CC_104207, Local, year 0, target, Final Budget, SA_000000, P_000000, HSP_InputValue, entry, 60, 70, 80, 90, 100, 110
    AC_12542, CC_102101, Local, year 0, target, Final Budget, SA_000000, P_000000, HSP_InputValue, entry, 60, 70, 80, 90, 100, 110
    AC_11102, CC_113242, Local, year 0, target, Final Budget, SA_000000, P_002478, HSP_InputValue, entry, 60, 70, 80, 90, 100, 110
    AC_11102, CC_113243, Local, year 0, target, Final Budget, SA_000000, P_000000, HSP_InputValue, entry, 60, 70, 80, 90, 100, 110
    AC_17802, CC_113244, Local, year 0, target, Final Budget, SA_000000, P_000856, HSP_InputValue, entry, 60, 70, 80, 90, 100, 110
    AC_11102, CC_113511, Local, year 0, target, Final Budget, SA_000000, P_000000, HSP_InputValue, entry, 60, 70, 80, 90, 100, 110
    AC_11102, CC_124111, Local, year 0, target, Final Budget, SA_000000, P_000521, HSP_InputValue, entry, 60, 70, 80, 90, 100, 110

    This file works fine with 5 periods.

    Please notify.

    APR

    Hello

    Yes, table period contol FDM was not properly defined. Now it works fine. Thank you very much.

    APR

  • Download the text of ListField

    After hours of sifting through forums and Googling I hope someone can help me.

    I have a ListField filled with a vector of strings. The strings are the urls that the user can select to load a page. I'm trying to get the selected url, but when I click on one has no effect, it always loads the first element.

    It doesn't seem to be any code that loads the URL here.  It seems unlikely that this bug is in this code.

    When I did click ListFields I use

    . getSelectedIndex()

    to see how input from the user has selected in fact.

  • create a children's book? How to get the text over an image?

    I have 13 Adobe elements. Try to get the text on an image. An illustrated image. How can I do this?

    Open the image in Expert mode

    Download the text out of the tool box tool, select the font, the pt size, color and type text.

    Use the move tool to position the text. Note that the text will be on a separate layer, and you must click on this layer to make it active.

  • For Windows XP (KB2719985) security update will not be installed. The text "a problem on your computer is preventing the updates being downloaded or installed" is reported

    For Windows XP (KB2719985) security update will not be installed. The text "a problem on your computer is preventing the updates being downloaded or installed" is reported. Fix - it crashes too much with the line "invalid command line" when I try to run it.

    Hello

    1. this problem occurs only with this particular update?

    2 did you change on your computer before this problem?

    You can follow the suggestions and check out them.

    Method 1

    You can reset the Windows Update components.

    How to reset the Windows Update components?
    http://support.Microsoft.com/kb/971058

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following windows Help article.

    How to back up and restore the registry in Windows XP

    http://support.Microsoft.com/kb/322756

    Method 2

    You can read the article.

    You cannot install some programs or updates

    http://support.Microsoft.com/kb/822798

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following windows Help article.

    How to back up and restore the registry in Windows XP

    http://support.Microsoft.com/kb/322756

    Method 3

    Step 1:

    Place the computer in a clean boot state.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After you have used the boot is a way to solve your problem, you can follow these steps to configure Windows XP to start normally.

    a. click Startand then click run.

    b. type msconfigand click OK.
    The System Configuration utility dialog box appears.

    c. click on the general tab, click Normal Startup - load all device drivers and servicesand then click OK.

    When you are prompted, click restart to restart the computer.


    Step 2:

    Download and install the update from the link.

    Update security for Windows XP (KB2719985)

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=30282

    See also:

    Solve common installation issues in Windows Update, Microsoft Update and Windows Server Update Services

    http://support.Microsoft.com/kb/906602

  • Why does text appear distorted since I downloaded the latest version of the player.  I run a Microsoft operating system on a desktop computer.

    Why does text appear distorted since I downloaded the latest version of the player.  I run a Microsoft operating system on a desktop computer.

    Hi markm10760403,

    Open the drive, go to the edition menu > preferences > Page Display > rendering > set smooth text for laptop / monitor.

    Click OK to confirm the changes.

    Restart the drive and check if the problem persists.

    Kind regards

    Meenakshi

  • Cannot preview filetype please download the file for display and garbled text on an uploaded image

    Dear Madam or Sir,

    When I click on a file titled 'Subject access request letter re account 12527629 Sort Code 60-10-34 24022015.pdf number', which is stored in my account on Acrobat.com, I get the response "cannot get a filetype overview please download the file for display. This file was created from a document in OpenOffice .odt the same title. Please notify.

    I downloaded an image, which is supposed to be a .pdf file, since the installation of web of Royal Mail Track & Trace using my Samsung S5. The text that I expect to see might as well be hieroglyphics for all its resemblance to the text. Please notify.

    Kind regards

    Ron Platt

    PS I tried to join the two files (.pdf) but informs me that "image type is not allowed. Please notify.

    Hi Ron,

    In your efforts, you mention in step #6 you save the file as a PDF secure. Applied security files cannot be previewed to the customer, that's why you get the message "cannot preview filetype please download the file for display. This message preview complete and preview the hover. After downloading the file, you should be able to access it without error (within the limits of the guarantee applied).

    The hover behavior you report is expected. If you hover over a file name, you will see "hover" noticed after a few seconds, that will get you a small preview of the file (rather than having to open it in the overview). If poster only if you hover over a name of file, not in the empty area of each line, so that you have not seen continually arise.

    Hope this helps,

    Laura

  • Can I download Prem Pro 2013?  I need the text parser

    I downloaded 2013 and used once to analyze the text, but the creative cloud automatically updated until 2014 and the text parser is now gone.  I can't 2013 anywhere?

    If you open the LTCC you access the previous Version.

    Select Premiere Pro and install CC (7).

    But you cannot open a project done in CC2014 in CC7.

    You can do ax XML and importing CC7, but you won't get cut clips and transitions. Rest is lost.

  • HI.i currently use photoshop lightroom 4 and downloaded books blurb with no problems but now whenever I try to open a session for the text of presentation thanks to lightroom to download the book a msge appears saying "could not cotact Blurb web service.p

    Hi I currently use lightroom 4 and have never had a problem downloading books photo to blurb.but now when I try a message pops up saying ' could not contact web blurb service.please check internet connection "my internet connection is fine.please can someone help me because I need to get the album made it's a wedding album and customers expect on it.many thanks Sean.

    Hello

    I got this problem sorted and it actually very easy. For some reason, the settings on the page of windows that I use on my laptop in contradiction with the text of presentation/lightroom download. All you have to do is to set up a new page of the windows user and configure it as an administrator. You will need to transfer all the photos of the lightroom on your current user page to the new, which can be annoying, but at least you will have hopefully in service yet. I hope this helps.

    Sean.

  • What is the best way to save/download msg text from phone to computer?

    I know that I can email to my email address so I can see it on my computer, but this method does not display the text msg date time stamp. So, what is the best method, where no information is lost?

    Hello

    1. What is the brand and model of the phone?

    2. using windows mobile?

    If you use Windows mobile, then I suggest you to post your query to:

    http://answers.Microsoft.com/en-us/WinPhone

Maybe you are looking for

  • Need support of recovery or image for Portege R830-1JV

    The normal backupmedia site says he's too old, that seems a bit average. In any case I bought it 2nd hand and the seller had just slapped bog standard installation win 7 64 and all this seems a bit Rocky, I prefer to do a proper reinstall. Can anyone

  • Can not install recovery image on my Satellite L300

    Dear friends, I try to install windows Vista on my PC with my backup CD I made when I bought my Toshiba Satellite L300 almost two years back.Now, today I tried to install it on my PC but I got the error message unable to copy the file 09115xsp.swm fr

  • sony KDL tv switch off when no signal HDMI

    I have my KDL-60NX720 connected to a PC via HDMI. After about 20 minutes, the PC will enter standby mode, but the TV stays on. Is there a way to make the TV turns off after there is no signal on HDMI port? Concerning Davor

  • OfficeJet JO 4500v G510a-f: cannot install Officejet 4500 on Toshiba laptop

    I try to install the printer software on my Toshiba Satellite Pro A040-C-109 notebook folder number and get the following error messages: this computer does not have the necessary support from the USB software to allow for the completion of an instal

  • Folder view settings and the desktop icons.

    Hello Today, I turned on my computer to find the sight of my account settings are changed and salis.  I also found my command to change the icons of the bureau and all messed up. Since I bought my computer, I used the settings of Windows Vista Home P