TabStops format

Hi,
Let's say I want to create an end align tab at position 200 as a tab stop, according to AS3 Reference http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flashx/textLayout/eleme nts/FlowElement.html#tabStops, I would have an attribute of tabStops="E200". However, when I tried setting up this situation in the Text Layout Editor Demo at http://labs.adobe.com/technologies/textlayout/demos/ and clicked markup, I get attribute of tabStops="alignment:end, position:200" instead.
I tried to import a <TextFlow> with tabStops="alignment:end, position:200" on <p>, and, although I don't get an error, the tab doesn't seem to get created. If I try to set this value to a tabStop on a ParagraphElement instance, I get an out of range error. The "E200" format works in both cases.
Is the markup being generated by the demo out of date or not correct? Or is the tabStops="alignment:end, position:200" format used in certain situations?
Thank you for the info.
Will

That demo is very out of date. You can find an up-to-date version at our SourceForge site:
http://sourceforge.net/projects/tlf.adobe/files/current/Flow.swf/download

Similar Messages

  • How to set tabstops in MS Word using the LabVIEW Report Generation Toolkit

    Using the Report Generation Toolkit of LabVIEW, I need to set multiple tabstops that very in distance in MS Word.  I also have different sets of tabstops that I use and re-use at different times in the same report.  Is there a way to set the tabstops under program control?  I searched through the various VIs and found that there is a property ("Tabstops", "Word.Tabstops") in the _ParagraphFormat property node that refers to tabstops.  I found it in the Word Format Paragraph (adv) VI.  Unfortunately, I could not determine how to use it.  Any suggestions?  Is this an operational element?

    Bluebell,
    Sounds like you've already done some fantastic work to expose the various properties and methods of MS Word. It took me about 20 min before I could find the specific property that you were talking about! I found it under Word.Document>>Paragraphs>>Tabstops>>Add. There is a position, alignment and leader parameter that you can set from this property node. I've found that the best way to discover what these parameters do is to simply experiment. You could also try using the macro recorder in Word, perform the specific task, and then look at the code generated. I'm guessing that position sets the position of the tabstop itself. It sounds like your application is really specific. For such a specific task, I think I'd write a macro and call that macro from LabVIEW.
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect

  • For SAPscript INCLUDE TEXT, how to align as Paragraph format

    Hi experts and ABAP colleagues!
    Need your help on this sapscript problem:
    How to align texts taken from "INCLUDE TEXT" in SAPscript, according to tab defined in Paragraph Format?
    For example, I defined BG to have tabstop at the 2nd column (or equivalent to 1st tab position) where I need to print the text, and then declared it in SE71 like below:
    However the text prints at the leftmost instead of at the 2nd col position - (8th char tab defined in par. format BG).  Hence it is not aligned to its proper heading.  Line Number instead of Description - which is not okay for client view that needs these Thai texts. 
    The technical details I included below.  Kindly examine:
    1.)  Window >Main > Text Element > Include Text command
    /E   ITEM_TEXT
    BG   ,,&TTXIT-TDTEXT&
    /:   INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID&
    /:   NEW-PARAGRAPH BG
    Note:  I used command "NEW-PARAGRAPH" and had exactly the above code in se71.  Anything missed here?  Pls. help.  Thanks.
    #2.) Paragraph Format > Tab
    No. -
      Tab Position -
    Alignment
    1            8,00 CH            LEFT
    2            28,00 CH          CENTER
    etc.
    Note:   and then i put in  ",,&TTXIT-TDTEXT&" (see above) with the 2 comma's beforehand to say that its on the 1st tab or at the 8th character where it should be printed, but does not give intended result... pls help.
    #3.) Paragraph Formats > Standard Attributes
    Left Margin - 0 cm
    Alignment - Left
    no blank lines checkbox - ticked
    Note:  Is there any more attribute i can manipulate from here to force display at the right position?
    Thank you so much in advance for all your help.  Our project team will really appreciate it.  May the Lord bless you as we go through our SAP work!
    Sincerely,
    Celeste

    Here's a thought, instead of using tabs, try writing a method that takes a string that is the starting string, a pad character, and a length and returns a string padded to that length with the specified character.
    public String padR(String src, String padChar, int len)
        // ... You get to fill in the rest suggestion try to do it without a loop
    }Have fun,
    PS.

  • Vim newbie question about formatting code

    I just started learning vim and am wondering how I can get it to auto format some code.  For example:
    check() {
    for i in $nodes; do
    ping -c 1 $i > /dev/null
    if [ $? -eq 0 ]; then
    echo "Looks like $i is up so initializing the cluster on it."
    ssh $i "\$HOME/bin/cluster-setup.sh"
    fi
    done
    I have tabstop=3 in my ~/.vimrc and I'd just like to apply formatting to that code block so it looks like:
    check() {
    for i in $nodes; do
    ping -c 1 $i > /dev/null
    if [ $? -eq 0 ]; then
    echo "Looks like $i is up so initializing the cluster on it."
    ssh $i "\$HOME/bin/cluster-setup.sh"
    fi
    done
    I read about =i{ but it has no effect for me.
    Thanks!
    Last edited by graysky (2011-06-18 14:32:18)

    graysky,
    If you want vim to autoindent while typing, customize your ~/.vimrc file. I posted mine here: http://linuxandsuch.wordpress.com/2011/06/19/my-vimrc/ a few days back. I recommend all the options.
    However, if you want to indent an already existing file use the indent program. Install with
    sudo pacman -S indent
    And then, to indent your file, run:
    indent myfile.c
    I'd recommend reading the manpage for indent to learn to tweak it to your coding style though .

  • Scan textfield for keyword and apply formatting

    I was interested in searching through text in a textfield, and applying text formatting to keywords. For example, every time the word 'the' appears, apply a text format that changes it to green and 14pt. Here is an example of a format and text applied to a textfield. How would I go about searching through the textfield and applying this format only to specific words?
    my_txt.text = 'The cat jumped over the house.'
    /// my format I want to apply
    with (_lt_fmt) {
                    align = 'left';
                    blockIndent = 0;
                    bold = false;
                    bullet = false;
                    color = _green;
                    font = FontNames.ARIAL;
                    indent = 0;
                    italic = false;
                    kerning = false;
                    leading = 0;
                    leftMargin = 0;
                    letterSpacing = 0;
                    rightMargin = 0;
                    size = 14;
                    tabStops = [];
                    target = "";
                    underline = false;
                    url = "";

    " I replaced some var names b/c they were reserved words"
    There were no reserved words for the current or application scope.
    "How can I keep all the words highlighted in the different formats?"
    Comment out this line:
    main_txt.setTextFormat(main_txt.defaultTextFormat);
    Also, the code you showed is too verbose. You can combine declarations and and instantiation in one place and have 5 lines instead of 10:
    var highLightFormat0:TextFormat = new TextFormat("Arial",14,0xff00ff,"bold");
    var highLightFormat1:TextFormat = new TextFormat("Arial",7,0xff0000,"bold");
    var highLightFormat2:TextFormat = new TextFormat("Arial",9,0xCCCCCC,"bold");
    var highLightFormat3:TextFormat = new TextFormat("Arial", 8, 0xffEE00, "bold");
    var main_txt:TextField = new TextField();
    In addition, function  getTxtFmt and the way you deal with getting TExtFormats is an ovekill - conditionals are worse than direct references. So, I suggest your code is:
    import flash.text.TextFormat;
    // keywords to highlight
    var wordsToSearch:Vector.<String> = new <String>['the','interested','text', 'applying'];
    // TxtFormats
    var highLightFormats:Vector.<TextFormat> = new <TextFormat>[new TextFormat("Arial", 14, 0xff00ff, "bold"), new TextFormat("Arial", 7, 0xff0000, "bold"), new TextFormat("Arial", 9, 0xCCCCCC, "bold"), new TextFormat("Arial", 8, 0xffEE00, "bold")];
    // Create TextField and add to display list
    var main_txt:TextField = new TextField();
    with (main_txt) {
         multiline = main_txt.wordWrap = true;
         autoSize = "left";
         width = 400;
         defaultTextFormat = new TextFormat("Arial",12);
         x = main_txt.y = 20;
         text = "I was interested in searching through text in a textfield, and applying text formatting to keywords. For example, every time the word 'the' appears, apply a text format that changes it to green and 14pt. Here is an example of a format and text applied to a textfield. How would I go about searching through the textfield and applying this format only to specific words?";
    addChild(main_txt);
    // Iterate through Vector of keywords
    for (var i:int; i < wordsToSearch.length; i++){
         search(wordsToSearch[i], i);
    // find whole words
    function search(keyword:String, fmtChoice:int):void {
         //main_txt.setTextFormat(main_txt.defaultTextFormat);
         var txt:String = main_txt.text;
         var pattern:RegExp = new RegExp("\(\?\<\=\\s)" + keyword + "\\s","ig");
         var theResult:Object = pattern.exec(txt);
         while (theResult) {
              main_txt.setTextFormat( highLightFormats[fmtChoice], theResult.index, theResult.index + keyword.length);
              theResult = pattern.exec(txt);

  • I install window 8 and Unfortunatly all drive format. And all drive mix, now i have only 1 DRIVE C. I want Bit locker Drive's data Back

    Last sunday i install a window 8 and this window format my all drive & make it 1 drive (DRIVE C). Before all of this i have 5 drive in different size with 1 Bitlocker protect drive.
    So i try data recovery software to recover my data. i got back all my data without that ( bitlocker ) protected drive.
    so please guys help me how can i get back data from bitlocker protected drives.
    please please help me.

    Hi,
    I sorry for your experience, but there is no way to recovery the data encryped by BitLocker untill now.
    BitLocker is designed to make the encrypted drive unrecoverable without the required authentication. When in recovery mode, the user needs the recovery password or recovery key to unlock the encrypted drive. Therefore, we highly recommend
    that you store the recovery information in AD DS or in another safe location.
    Please refer to the link below for the statement:
    http://technet.microsoft.com/de-de/library/ee449438(v=ws.10).aspx#BKMK_RecoveryInfo
    Roger Lu
    TechNet Community Support

  • IPod not recognized by iTunes, Windows Vista prompts to format iPod drive

    Hello,
    I have IPod 80GB which I rarely use. Yesterday  when I wanted to use it, I went to add a few new audios to it, connected to my computer and launched iTunes. I added the folder which contained audios to iPod, synced it and wanted to disconnect, but iTunes took excepionally long to finish.
    When I clicked on 'eject' icon, I go a message saying 'some files are being accessed' or something like that. I waited for 5-10 minutes but it won't finish up, so I unplugged my iPod as I had to leave.
    Later when I wanted to play, I noticed I had no audios in iPod at all.
    Later when I got home, connected it again to computer, launched iTunes, but iTunes won't show iPod. A few minutes later, windows (Vista) prompted a message saying that it needs to format N: drive (which was iPod).
    I tried diagnostics on tis site, restarted/reset iPod etc, but it didn't solve the problem. I removed and reinstalled iTunes as per instructions, still no use.
    Then I called Apple support Canada and the guy on the phone said I need to pay to get support. He said he'd send me some documents via email which would solve the problem and hen I wouldn't have to pay. I gave him my email address, but so far I have recieved no emails from him. I have checked my spam and junk folders, just in case, but nothing there.
    Anyhow, this issue came up all of a sudden, there has been no physical damage to iPod, I barely use it. maybe for few minutes here and there a month. I have had numerous problems in the past every time a new iTunes update come, it always creates problems. Last year I spent many hours after iTunes update make iPod unrecognizable so I had to go back to older version, then upgrade etc. I don't remember how I solved the issue, but it took a while and it turned out to be something of iTunes version issue.
    I wonder if this is another of such issue. I hope its not a hardware issue with iPod. I'd appreciate any help.
    Thanks

    I just got Vista too and it does recognize my ipod, but itunes can't find a lot of my songs on the computer. I tried to uninstall itunes and reinstall it thinking that it would seach for new music when I installed it again but nothing new happened when I did that.

  • Format C drive, what steps to take for retaining all data of iTunes?

    Hello
    I want to format my C drive of Laptop and shift my itunes to E drive. I'm on windows 7. C drive is having itunes and in that I have synced my 2 iphones and 1 ipad.
    Now I want to format the C drive and want to retain all the data, backup, media etc of my synced data with the itunes.
    What I've done is that I transferred my music location from C to E drive by using apple forum discussion. I changed destination to E drive in ADVANCED TAB in Edit-Preferences. Then orgainzed data. That was successful.
    Now please help me on what to do next so that i can retain my all my data of itunes safe before formatting my C drive.
    Thanks in advance

    This definitely isn't intended as a substitute for tt2's tutorial (which is comprehensive and more detailed - in case of any differences I'd follow what's stated there), but in summary you should be doing the following.  I've assumed that, as per your original post, you've changed your media location to E:\iTunes and consolidated the library.  You now have a "split library" where:
    E:\iTunes contains a folder called iTunes Media which in turn contains several subfolders such as Automatically Added to iTunes, Audiobooks, Music, ...
    C:\Users\your user name\Music\iTunes contains the following folders and files:
    Album Artwork (folder)
    Previous iTunes Library (folder)
    iTunes Library Extras.itdb (file)
    iTunes Library Genius.itdb (file)
    iTunes Library.itl (file)
    iTunes Library.xml (file)
    I'd suggest making sure that you're running the latest version of iTunes before proceeding - by default, this will be the version that you download and install when you rebuild your PC.
    Before you change anything else, exit iTunes.  Now copy all of the folders and files in C:\Users\your user name\Music\iTunes to the same folder on your external drive (E:) that contains your media folder.  You should now have this:
    or something very similar.  Now restart iTunes while holding down the SHIFT key.  You will see this dialog:
    Select "Choose Library ..." and navigate to the folder on your external drive with the content as described above.  Select the iTunes Library.itl file and click OK.  iTunes will load - check that everything you expect to see is there.
    You now have a "portable library", i.e., all your media and the files that iTunes uses to organize them.  You can use this in conjunction with any PC running Windows and iTunes (noting limitations regarding your iTunes account and authorizations).  As tt2 suggested in his response, before you go any further:
    Make a backup of your new portable library to another device.
    De-authorize your iTunes account.
    Back up everything else you need to retain from the C: drive of your PC (this is beyond the scope of this forum - there's plenty of help out there on various Microsoft sites, etc.).  Just remember that once you take the plunge and reformat the C: drive anything that you haven't backed up is gone ...
    Once you've reformatted the drive and reinstalled Windows, install iTunes.  As befpre, hold down the SHIFT key when you start it up and select the iTunes Library.itl file on your external drive. You can then re-authorize iTunes and be back in business ...

  • Iomega external hard drive either 'not found' by Time Machine or is now in 'read only' format

    I don't know what's going on with my iomega external hard drive.  Sometimes the HD is recognised by the computer; other times it isn't; if it isn't I can restore to an earlier back up via Time Machine app; but it's like the disk isn't writable.
    Ten days ago, I had trouble backing up my iMac using Time Machine.  After turning it off and restarting my external hard drive, it backed up successfully.
    However, today I am trying to back up my files, and TM tells me it can't find the external hard drive.  Nothing has changed -- I have been out of town this past week -- but somehow my HD now seems to be in 'read only' format.  It does turn on, and I could restore my computer to an earlier back up.
    "Mac OS X can't repair the disk.  You can still open or copy files on the disk, but you can't save changes to files on the disk.  Back up the disk and reformat it as soon as you can."
    Annoyingly, despite my HD not showing in Finder or on my Desktop (as it usually does), when I simply turn it off I get that warning message "The disk was not ejected properly".
    Have tried verifying and repairing using Disk Utility, to no avail. 
    Am prompted to reformat but I don't have a good understanding of what this means and how to do it.  I'm guessing this would wipe the disk clean and I'd have to create the initial back up image all over again -- I'm reluctant to do this since this HD is my only back up and if it all goes tits up I'll be up that famous creek without a paddle.
    Thoughts, suggestions, input all welcome and deeply appreciated -- thank you!

    fzgy wrote:
    "Mac OS X can't repair the disk.  You can still open or copy files on the disk, but you can't save changes to files on the disk.  Back up the disk and reformat it as soon as you can."
    It's possible a heavy-duty 3rd-party disk repair app can fix it, but they're expensive (DiskWarrior is about $100), and there's no guarantee it can do it.
    Am prompted to reformat but I don't have a good understanding of what this means and how to do it.
    That will erase it.  See Time Machine - Frequently Asked Question #5.
    It sounds very much like the disk is beginning to fail, although it's possible there's a bad port, cable, connection or power supply (if it has its own).
    I'd suggest getting a new one, and using it for your Time Machine backups; once you have a good backup there, reformat the old one (and select Security Options to write zeros to the whole drive -- if that fails, you know the drive is toast).  Use it for secondary backups, per FAQ #27.   If it has failed, get a second new one for secondary backups. 

  • I have formatted my SSD and hard drive.... I am running a clean install from disk of 8.1 pro. I cannot determine if it is a compatibility

    issue or hardware issue. I had run a memory test and scan disk for bad sectors from the bios. As administrator, I enabled automount  in diskpart to allow windows to assign a drive name. 
    From the bios, I can see both drives and only the ssd. I have not pinpointed when the harddisk is unmounted. It is formatted as NTFS. I can hear it unmount either during boot or upon waking from sleep mode. The bios sees no bad sectors nor does windows.
    However, when I had the intel compatibility software installed, my hard drive never mounted. I did a restart and inorder for windows to see my hard drive. I disabled the intel software for the 4th gen i7 processor. This problem is happening less often. I do
    not think I have solved the problem. Intel or Windows... I think a bit of both. 
    If there is a software patch, please guide me to it. I am in school and use my laptop ALL the time. I believe it is a compatibility issue. I have attached this from searching intel's site for downloads and windows is up to date. 
    I am quite concerned because I can hear my harddrive unmount. It is labeled as healthy NTFS partition. I have checked for hidden volumes and done everything I know to do to check the integrity of the hardware as administrator. I have searched microsofts
    libraries and forums and have done everything I can find as suggestions. 
    I have checked for malware, viruses, etc. My only clue this is going to happen is the hard disk spins up and I hear the fan, then I hear it unmount the drive. Of course, after unmounted there are other issues which I have ruled out as the cause of the problem.
    Basically, I am experiencing a lack of swap space after my hard drive unmounts.
    Any suggestions, are welcome! I would really like to know if this is a known windows issue. I should not have to disable intel's processor software. I paid for the features of the i7 and would like to utilise the processor.

    Hi,
    According to your descriptioin, I don't think this is system problem, it should be Intel driver problem. It would be contact Intel to confirm this issue whether this is their driver problem.
    Roger Lu
    TechNet Community Support

  • Format and partition external drive if you want dual use Mac / PC

    I had purchased from the Apple store in France a portable hard drive Iomega eGO USB 2.0/FireWire ov 250 Go capacity (P/N 31713900; Model: RPHD-C; S/N: FEAJ02011V)
    Originally formatted HFS+, it would mount on any of my Mac desktops with Firewire, easily on the iMac using USB and with great difficulty on the iBook with the two USB plugs (together). It did not mount on any windows PC I had used for tests (so reformatting it FAT(32) or NTFS was *not an option).
    I had reformatted it FAT32 using the iMac under mac OS 10.5 for use on multiple computers including Windows PC's. The drive would now accept to:
    Mount on the iMac and iBook using Firewire
    Mount on the iMac using USB, but it will NOT:
    1 - Mount on the iBook using USB, nor
    2 - Mount on any Windows PC using USB
    The solution was found at the office with our IT helpdesk.
    Whether I format it FAT 32 or NTFS (using the Paragon NTFS for mac OS X 10.5) on my iMac under OS 10.5, including when I do the same on another external drive than the Iomega, the PC would not recognise it while it would always mount on a Mac and it was even impossible on the PC to reformat it. The solution is (at least in windows world), you need to (1) format the drive, AND (2) partition the drive, even if this involves creating a single partition. Using Disk Utility of the Mac, I had only formatted the drive and not partitioned it into a single partition and Disk utility did not request that from me. The drive as prepared was perfectly usable on any Mac anyway.
    The cure was to go back to the imac which had formatted it, mount it (it mounts), (1) reformat and (2) partition, using a single partition.
    Then, the drive would instantly be recognised on the PC as a F drive, whether under FAT 32 or under NTFS.
    The blame is in me and on the Apple Drive utility which did not help me (trust it would have been worse in windows world, but this is a bad mark on disk utility)
    My suggestion to Apple would be that Disk Utilisty should tell us, once we have formatted a drive (HFS+, FAT 32 or NTFS using Parangon) that we are not done yet and still must create the partition(s), even if we only need one partition.
    HTH

    Hi Michel-Ange
    You are talking to other user like yourself here and not Apple. If you wish to make a suggestion to Apple, I suggest you do it at this site - http://www.apple.com/feedback/macosx.html
    Allan

  • Data Recovery from Partitioned and formatted Bit Locker Encrypted Drive

    Recently because of some issues in windows 7 installation from windows 8 installed OS. it was giving as the disc is dynamic windows can not be installed on it. so at last after struggling hard no other solution i partitioned and formatted my whole
    drive so all data gone included the drive which was encrypted by bit lockers.
    For recovery i used many software such as ontrack easy recover, get data back, recovery my files professional edition but still i couldnt able to recover my data from that drive. then i found some suggestion Using CMD to decrypt my data first 
    http://technet.microsoft.com/en-us/library/ee523219(WS.10).aspx
    where it shows it successfully decrypt my data at that moment my drives were in RAW format excluding on which windows is installed and then in CMD i check Chdsk which also shows no problem found. but now problem is still i coudnt able to recover
    my data then i format the drive D and again tried to recover data using above software after decryption still no result. 
    Now i need assistance how i can recover my encrypted drive as it was partitioned and also formatted but decrypted also as i have its recovery key too. thanks

    Hi ,
    I am afraid that we cannot get the data back if the drive has been formatted even if use the
    BitLocker Repair Tool.
    You’d better contact your local data recovery center to try to get data back.
    Tracy Cai
    TechNet Community Support

  • FORMAT WINDOWS 7(64) BY MISTAKEN NOW HOW I RECOVER ERASED DATA WHICH I HAD LOCKED DRIVE BY BIT LOCKER

    i'm using windows 7 (64 bit) but experiment to install mac on my PC (i 5-4 GB ddr 3-500sata sea gate).by mistaken its format my whole hard drive which is 500 GB sea gate sata.after this i'm confused and install windows 8.1 and then again i had install windows
    7 (64 bit) now after 2 time partition erased i'm trying to recover my data 50 percent data but which drive i had locked with windows 7 bit locker it cant recover any thing I've remember its password.
    any one help me to get back my data from this locked drive ?
      

    RB
    If the drive was both formatted and bit locked you cannot recover your data.
    Wanikiya and Dyami--Team Zigzag

  • Time From field is not getting displayed in correct format in Activities

    Hello Experts ,
    We are facing one problem in UI , when we search for Activities in Web UI . In the field "Time From" we are not getting the time in correct format , ie is instead of  getting time as say 13::38 we are getting time as 13::3 , but when we place cursor on it the field it shows correct format say 13::38.
    Can any one suggest how to display in correct format ?
    Regards
    Vinayak

    Hi,
    Its an SAP Product error.
    Please check note 1151821 ,if you facing the greyed button in time.Also the other note 1136402 needs to be applied for time display issue
    - Bobby

  • How to provide text formatting options to user from a text field

    Hi,
    My requirement is - in the interactive form, a comments field needs to be provided where user should be able to enter text with formatting options like
    Headers
    indentations
    bold/italic
    bullet points and numbers
    Once user enters the formatted texts in a text field, data needs to be displayed/printed in the same format. Could you help me on how to provide these formatting options to the user for a particular text field?
    I understand that once I define the text field with format XHTML (with RTF), user formatting can be captured and displayed in the same way. But I am not sure on how to provide the formatting options for the text field.
    Thank you,
    Madhu

    Hi,
    if you select a text field for Rich Text and the press Ctrl + E you'll get a bar for all available text formatting options in Acrobat/Reader.

Maybe you are looking for