Partial coloring of texts in the awt

Hi,
I'm working on project in which I use a message window (kinda like a chat window).
What I would like to do is display a special kind of messages in a different color so that they stand appart from the normal messages. I tried to play with setforeground but that function changes the whole text in the window instead of just the "special" text. I know quite a few things about the AWT but I fear that I'm still a newbie if it comes to colors and images. Is there anyone who knows a simple solution for this (in my opinion not so difficult) problem?
Any help is appreciated!
Rikko
PS. I am not able to use swing for this project. So any help should focus on the awt. :(

Indeed not very elegant, however, very inventive :)
Unfortunately the design changes nesecary go very deep for an implementation like that.
But I want to thank you for your effort! you certaintly found something I didn't think of.
Rikko

Similar Messages

  • Is there a way to change the font size and color of text in the calendar app?

    Does anyone know a way of changing the font size and color of text in the calendar app that comes with the iPad 2?  It is very hard to see the small gray numbers on the calendar.  Thanks

    Looks like you didn't get a reply on your post, but it is still a problem.  Font size is supposedly changeable via "Accessibility" in Settings, but it doesn't work.  You can turn on "Zoom".

  • May I know how to change the color of texts inside the indicator box?

    Can anyone tell me how to change the color of texts inside the indicator box? I have tried to use property node but not really know how it functions.
    In fact, I am writing a program for which the number inside indicator on front panel will show red color if the measured value can't reach the requirement. I am using LabView 6.1 Professional
    Thank You for your attention!!!!!!

    Simply use a property node with "NumText.TextColor" and wire the correct color depending on your test result.
    The attached simple example (LV 6.1) lets you change it from the front panel. In your case, you would use your test output instead of a FP switch, of course. Message Edited by altenbach on 05-25-2005 09:05 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    TextColor.vi ‏18 KB

  • Change the color of text in the title bar

    Hi,
    I have a JFrame. I want to be able to change the color of the text in the title bar. Do any of you know how to do this ?
    Please let me know.
    Thanks
    Sangeetha

    If you are using Windows, you do it through the Control Panel tool for customizing your desktop display. If you are using some other system, I don't know. You can't do it from your Java program.

  • Changing color of  text in the input field

    hi
    when i disable the input field , the text written in it has very light color. How can i change the color of the displayed text in the input field.

    Hi Harsimran,
    changing the text color of an input field is not possible. However, you can build a workaround:
    1. take an expression box, place it exactly over your input field
    2. change its text color and take the value of your input field as value being displayed
    3. instead of making your input field disabled, make it hidden and show the expression box instead.
    Thus, instead of enabling/disabling your input field, switch between expression box/input field to be displayed. I hope it's clear what I mean. If not, don't hesitate to ask again.
    Best regards,
      Benni

  • Tabular Forms - how to change the color of text when the field is disabled

    Hi,
    I have a tabular form and some of it's columns are disabled showing text in grey color...
    is there a way to change the color to black and bold the text...?
    thanks

    Okay, i've taken a look at your example.
    The column formatting does not work on the input fields. The help on the item says that it generates a span with a style attribute. This would work for a display field, not for an input field.
    Css like i've written should be in the style tags, put up in the header section of the page (page -> edit -> header region).
    You've already put script tags there, the style tags go there aswell. You shouldn't even need to put your script tags in the header region. Just put your code up in the javascript functions region (without the script tags).
    However, i tested in firefox and here color works on an input field, changing the font color. In IE it does not do this. Cross browser implementations and such, not much to do about it here. See http://stackoverflow.com/questions/602070/changing-font-colour-in-textboxes-in-ie-which-are-disabled.
    I did notice that you build your form with a bunch of input fields, which you disable through javascript in the footer of the region. Then on submit, you set the disabled to false again for all those fields! If you want those fields to always be submitted to the server, why wouldn't you use the readonly attribute? Readonly fields are always submitted, and can't be edited by the user. Plus, readonly fields CAN be styled however you want! You can get rid of the javascript code in your header then.
    Even the javascript in the footer is not necessary. If you just add 'readonly="true"' (without single quotes) to the element attributes of your items (edit column -> column attributes region) = no javascript at all (less maintenance).

  • How can I make different color on text in the same layer "by script" ?

    [Photoshop CC 2014]
    I need to write JavaScript  to make different color on the texts (or contents) that's in the same text layer. But I can't still find the way.
    example from ...
    to ...
    I have been searching for this solution on the internet for a half of day, but I can't find it.
    Help me please...

    I've tried so many times. For simple operation about changing Text color (or format), PS generates huge codes as below.
    Perharps I have to spend all day or (a few days), to understand them.
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
        var desc118 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref21 = new ActionReference();
            var idTxLr = charIDToTypeID( "TxLr" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref21.putEnumerated( idTxLr, idOrdn, idTrgt );
        desc118.putReference( idnull, ref21 );
        var idT = charIDToTypeID( "T   " );
            var desc119 = new ActionDescriptor();
            var idTxt = charIDToTypeID( "Txt " );
            desc119.putString( idTxt, """ABC""" );
            var idwarp = stringIDToTypeID( "warp" );
                var desc120 = new ActionDescriptor();
                var idwarpStyle = stringIDToTypeID( "warpStyle" );
                var idwarpStyle = stringIDToTypeID( "warpStyle" );
                var idwarpNone = stringIDToTypeID( "warpNone" );
                desc120.putEnumerated( idwarpStyle, idwarpStyle, idwarpNone );
                var idwarpValue = stringIDToTypeID( "warpValue" );
                desc120.putDouble( idwarpValue, 0.000000 );
                var idwarpPerspective = stringIDToTypeID( "warpPerspective" );
                desc120.putDouble( idwarpPerspective, 0.000000 );
                var idwarpPerspectiveOther = stringIDToTypeID( "warpPerspectiveOther" );
                desc120.putDouble( idwarpPerspectiveOther, 0.000000 );
                var idwarpRotate = stringIDToTypeID( "warpRotate" );
                var idOrnt = charIDToTypeID( "Ornt" );
                var idHrzn = charIDToTypeID( "Hrzn" );
                desc120.putEnumerated( idwarpRotate, idOrnt, idHrzn );
            var idwarp = stringIDToTypeID( "warp" );
            desc119.putObject( idwarp, idwarp, desc120 );
            var idtextGridding = stringIDToTypeID( "textGridding" );
            var idtextGridding = stringIDToTypeID( "textGridding" );
            var idNone = charIDToTypeID( "None" );
            desc119.putEnumerated( idtextGridding, idtextGridding, idNone );
            var idOrnt = charIDToTypeID( "Ornt" );
            var idOrnt = charIDToTypeID( "Ornt" );
            var idVrtc = charIDToTypeID( "Vrtc" );
            desc119.putEnumerated( idOrnt, idOrnt, idVrtc );
            var idAntA = charIDToTypeID( "AntA" );
            var idAnnt = charIDToTypeID( "Annt" );
            var idAnCr = charIDToTypeID( "AnCr" );
            desc119.putEnumerated( idAntA, idAnnt, idAnCr );
            var idbounds = stringIDToTypeID( "bounds" );
                var desc121 = new ActionDescriptor();
                var idLeft = charIDToTypeID( "Left" );
                var idPnt = charIDToTypeID( "#Pnt" );
                desc121.putUnitDouble( idLeft, idPnt, -36.000008 );
                var idTop = charIDToTypeID( "Top " );
                var idPnt = charIDToTypeID( "#Pnt" );
                desc121.putUnitDouble( idTop, idPnt, -0.000002 );
                var idRght = charIDToTypeID( "Rght" );
                var idPnt = charIDToTypeID( "#Pnt" );
                desc121.putUnitDouble( idRght, idPnt, 36.000000 );
                var idBtom = charIDToTypeID( "Btom" );
                var idPnt = charIDToTypeID( "#Pnt" );
                desc121.putUnitDouble( idBtom, idPnt, 216.000000 );
            var idbounds = stringIDToTypeID( "bounds" );
            desc119.putObject( idbounds, idbounds, desc121 );
            var idboundingBox = stringIDToTypeID( "boundingBox" );
                var desc122 = new ActionDescriptor();
                var idLeft = charIDToTypeID( "Left" );
                var idPnt = charIDToTypeID( "#Pnt" );
                desc122.putUnitDouble( idLeft, idPnt, -25.451172 );
                var idTop = charIDToTypeID( "Top " );
                var idPnt = charIDToTypeID( "#Pnt" );
                desc122.putUnitDouble( idTop, idPnt, 10.834839 );
                var idRght = charIDToTypeID( "Rght" );
                var idPnt = charIDToTypeID( "#Pnt" );
                desc122.putUnitDouble( idRght, idPnt, 25.189453 );
                var idBtom = charIDToTypeID( "Btom" );
                var idPnt = charIDToTypeID( "#Pnt" );
                desc122.putUnitDouble( idBtom, idPnt, 204.834839 );
            var idboundingBox = stringIDToTypeID( "boundingBox" );
            desc119.putObject( idboundingBox, idboundingBox, desc122 );
            var idtextShape = stringIDToTypeID( "textShape" );
                var list19 = new ActionList();
                    var desc123 = new ActionDescriptor();
                    var idTEXT = charIDToTypeID( "TEXT" );
                    var idTEXT = charIDToTypeID( "TEXT" );
                    var idPnt = charIDToTypeID( "Pnt " );
                    desc123.putEnumerated( idTEXT, idTEXT, idPnt );
                    var idOrnt = charIDToTypeID( "Ornt" );
                    var idOrnt = charIDToTypeID( "Ornt" );
                    var idVrtc = charIDToTypeID( "Vrtc" );
                    desc123.putEnumerated( idOrnt, idOrnt, idVrtc );
                    var idTrnf = charIDToTypeID( "Trnf" );
                        var desc124 = new ActionDescriptor();
                        var idxx = stringIDToTypeID( "xx" );
                        desc124.putDouble( idxx, 1.000000 );
                        var idxy = stringIDToTypeID( "xy" );
                        desc124.putDouble( idxy, 0.000000 );
                        var idyx = stringIDToTypeID( "yx" );
                        desc124.putDouble( idyx, 0.000000 );
                        var idyy = stringIDToTypeID( "yy" );
                        desc124.putDouble( idyy, 1.000000 );
                        var idtx = stringIDToTypeID( "tx" );
                        desc124.putDouble( idtx, 0.000000 );
                        var idty = stringIDToTypeID( "ty" );
                        desc124.putDouble( idty, 0.000000 );
                    var idTrnf = charIDToTypeID( "Trnf" );
                    desc123.putObject( idTrnf, idTrnf, desc124 );
                    var idrowCount = stringIDToTypeID( "rowCount" );
                    desc123.putInteger( idrowCount, 1 );
                    var idcolumnCount = stringIDToTypeID( "columnCount" );
                    desc123.putInteger( idcolumnCount, 1 );
                    var idrowMajorOrder = stringIDToTypeID( "rowMajorOrder" );
                    desc123.putBoolean( idrowMajorOrder, true );
                    var idrowGutter = stringIDToTypeID( "rowGutter" );
                    var idPnt = charIDToTypeID( "#Pnt" );
                    desc123.putUnitDouble( idrowGutter, idPnt, 0.000000 );
                    var idcolumnGutter = stringIDToTypeID( "columnGutter" );
                    var idPnt = charIDToTypeID( "#Pnt" );
                    desc123.putUnitDouble( idcolumnGutter, idPnt, 0.000000 );
                    var idSpcn = charIDToTypeID( "Spcn" );
                    var idPnt = charIDToTypeID( "#Pnt" );
                    desc123.putUnitDouble( idSpcn, idPnt, 0.000000 );
                    var idframeBaselineAlignment = stringIDToTypeID( "frameBaselineAlignment" );
                    var idframeBaselineAlignment = stringIDToTypeID( "frameBaselineAlignment" );
                    var idalignByAscent = stringIDToTypeID( "alignByAscent" );
                    desc123.putEnumerated( idframeBaselineAlignment, idframeBaselineAlignment, idalignByAscent );
                    var idfirstBaselineMinimum = stringIDToTypeID( "firstBaselineMinimum" );
                    var idPnt = charIDToTypeID( "#Pnt" );
                    desc123.putUnitDouble( idfirstBaselineMinimum, idPnt, 0.000000 );
                    var idbase = stringIDToTypeID( "base" );
                        var desc125 = new ActionDescriptor();
                        var idHrzn = charIDToTypeID( "Hrzn" );
                        desc125.putDouble( idHrzn, 0.000000 );
                        var idVrtc = charIDToTypeID( "Vrtc" );
                        desc125.putDouble( idVrtc, 0.000000 );
                    var idPnt = charIDToTypeID( "Pnt " );
                    desc123.putObject( idbase, idPnt, desc125 );
                var idtextShape = stringIDToTypeID( "textShape" );
                list19.putObject( idtextShape, desc123 );
            desc119.putList( idtextShape, list19 );
            var idTxtt = charIDToTypeID( "Txtt" );
                var list20 = new ActionList();
                    var desc126 = new ActionDescriptor();
                    var idFrom = charIDToTypeID( "From" );
                    desc126.putInteger( idFrom, 0 );
                    var idT = charIDToTypeID( "T   " );
                    desc126.putInteger( idT, 1 );
                    var idTxtS = charIDToTypeID( "TxtS" );
                        var desc127 = new ActionDescriptor();
                        var idstyleSheetHasParent = stringIDToTypeID( "styleSheetHasParent" );
                        desc127.putBoolean( idstyleSheetHasParent, true );
                        var idfontPostScriptName = stringIDToTypeID( "fontPostScriptName" );
                        desc127.putString( idfontPostScriptName, """TimesNewRomanPSMT""" );
                        var idFntN = charIDToTypeID( "FntN" );
                        desc127.putString( idFntN, """Times New Roman""" );
                        var idFntS = charIDToTypeID( "FntS" );
                        desc127.putString( idFntS, """Regular""" );
                        var idScrp = charIDToTypeID( "Scrp" );
                        desc127.putInteger( idScrp, 0 );
                        var idFntT = charIDToTypeID( "FntT" );
                        desc127.putInteger( idFntT, 1 );
                        var idSz = charIDToTypeID( "Sz  " );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc127.putUnitDouble( idSz, idPnt, 72.000000 );
                        var idimpliedFontSize = stringIDToTypeID( "impliedFontSize" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc127.putUnitDouble( idimpliedFontSize, idPnt, 72.000000 );
                        var iddigitSet = stringIDToTypeID( "digitSet" );
                        var iddigitSet = stringIDToTypeID( "digitSet" );
                        var iddefaultDigits = stringIDToTypeID( "defaultDigits" );
                        desc127.putEnumerated( iddigitSet, iddigitSet, iddefaultDigits );
                        var idmarkYDistFromBaseline = stringIDToTypeID( "markYDistFromBaseline" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc127.putUnitDouble( idmarkYDistFromBaseline, idPnt, 100.000000 );
                        var idClr = charIDToTypeID( "Clr " );
                            var desc128 = new ActionDescriptor();
                            var idRd = charIDToTypeID( "Rd  " );
                            desc128.putDouble( idRd, 99.998474 );
                            var idGrn = charIDToTypeID( "Grn " );
                            desc128.putDouble( idGrn, 99.998474 );
                            var idBl = charIDToTypeID( "Bl  " );
                            desc128.putDouble( idBl, 99.998474 );
                        var idRGBC = charIDToTypeID( "RGBC" );
                        desc127.putObject( idClr, idRGBC, desc128 );
                        var idstrokeColor = stringIDToTypeID( "strokeColor" );
                            var desc129 = new ActionDescriptor();
                            var idRd = charIDToTypeID( "Rd  " );
                            desc129.putDouble( idRd, 255.000000 );
                            var idGrn = charIDToTypeID( "Grn " );
                            desc129.putDouble( idGrn, 255.000000 );
                            var idBl = charIDToTypeID( "Bl  " );
                            desc129.putDouble( idBl, 255.000000 );
                        var idRGBC = charIDToTypeID( "RGBC" );
                        desc127.putObject( idstrokeColor, idRGBC, desc129 );
                        var idbaseParentStyle = stringIDToTypeID( "baseParentStyle" );
                            var desc130 = new ActionDescriptor();
                            var idfontPostScriptName = stringIDToTypeID( "fontPostScriptName" );
                            desc130.putString( idfontPostScriptName, """MyriadPro-Regular""" );
                            var idFntN = charIDToTypeID( "FntN" );
                            desc130.putString( idFntN, """Myriad Pro""" );
                            var idFntS = charIDToTypeID( "FntS" );
                            desc130.putString( idFntS, """Regular""" );
                            var idScrp = charIDToTypeID( "Scrp" );
                            desc130.putInteger( idScrp, 0 );
                            var idFntT = charIDToTypeID( "FntT" );
                            desc130.putInteger( idFntT, 0 );
                            var idSz = charIDToTypeID( "Sz  " );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( idSz, idPnt, 12.000000 );
                            var idimpliedFontSize = stringIDToTypeID( "impliedFontSize" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( idimpliedFontSize, idPnt, 12.000000 );
                            var idHrzS = charIDToTypeID( "HrzS" );
                            desc130.putDouble( idHrzS, 100.000000 );
                            var idVrtS = charIDToTypeID( "VrtS" );
                            desc130.putDouble( idVrtS, 100.000000 );
                            var idsyntheticBold = stringIDToTypeID( "syntheticBold" );
                            desc130.putBoolean( idsyntheticBold, false );
                            var idsyntheticItalic = stringIDToTypeID( "syntheticItalic" );
                            desc130.putBoolean( idsyntheticItalic, false );
                            var idautoLeading = stringIDToTypeID( "autoLeading" );
                            desc130.putBoolean( idautoLeading, true );
                            var idTrck = charIDToTypeID( "Trck" );
                            desc130.putInteger( idTrck, 0 );
                            var idBsln = charIDToTypeID( "Bsln" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( idBsln, idPnt, 0.000000 );
                            var idimpliedBaselineShift = stringIDToTypeID( "impliedBaselineShift" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( idimpliedBaselineShift, idPnt, 0.000000 );
                            var idcharacterRotation = stringIDToTypeID( "characterRotation" );
                            desc130.putDouble( idcharacterRotation, 0.000000 );
                            var idAtKr = charIDToTypeID( "AtKr" );
                            var idAtKr = charIDToTypeID( "AtKr" );
                            var idmetricsKern = stringIDToTypeID( "metricsKern" );
                            desc130.putEnumerated( idAtKr, idAtKr, idmetricsKern );
                            var idfontCaps = stringIDToTypeID( "fontCaps" );
                            var idfontCaps = stringIDToTypeID( "fontCaps" );
                            var idNrml = charIDToTypeID( "Nrml" );
                            desc130.putEnumerated( idfontCaps, idfontCaps, idNrml );
                            var iddigitSet = stringIDToTypeID( "digitSet" );
                            var iddigitSet = stringIDToTypeID( "digitSet" );
                            var iddefaultDigits = stringIDToTypeID( "defaultDigits" );
                            desc130.putEnumerated( iddigitSet, iddigitSet, iddefaultDigits );
                            var iddirOverride = stringIDToTypeID( "dirOverride" );
                            var iddirOverride = stringIDToTypeID( "dirOverride" );
                            var iddirOverrideDefault = stringIDToTypeID( "dirOverrideDefault" );
                            desc130.putEnumerated( iddirOverride, iddirOverride, iddirOverrideDefault );
                            var idkashidas = stringIDToTypeID( "kashidas" );
                            var idkashidas = stringIDToTypeID( "kashidas" );
                            var idkashidaDefault = stringIDToTypeID( "kashidaDefault" );
                            desc130.putEnumerated( idkashidas, idkashidas, idkashidaDefault );
                            var iddiacVPos = stringIDToTypeID( "diacVPos" );
                            var iddiacVPos = stringIDToTypeID( "diacVPos" );
                            var iddiacVPosOpenType = stringIDToTypeID( "diacVPosOpenType" );
                            desc130.putEnumerated( iddiacVPos, iddiacVPos, iddiacVPosOpenType );
                            var iddiacXOffset = stringIDToTypeID( "diacXOffset" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( iddiacXOffset, idPnt, 0.000000 );
                            var iddiacYOffset = stringIDToTypeID( "diacYOffset" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( iddiacYOffset, idPnt, 0.000000 );
                            var idmarkYDistFromBaseline = stringIDToTypeID( "markYDistFromBaseline" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( idmarkYDistFromBaseline, idPnt, 100.000000 );
                            var idbaseline = stringIDToTypeID( "baseline" );
                            var idbaseline = stringIDToTypeID( "baseline" );
                            var idNrml = charIDToTypeID( "Nrml" );
                            desc130.putEnumerated( idbaseline, idbaseline, idNrml );
                            var idotbaseline = stringIDToTypeID( "otbaseline" );
                            var idotbaseline = stringIDToTypeID( "otbaseline" );
                            var idNrml = charIDToTypeID( "Nrml" );
                            desc130.putEnumerated( idotbaseline, idotbaseline, idNrml );
                            var idstrikethrough = stringIDToTypeID( "strikethrough" );
                            var idstrikethrough = stringIDToTypeID( "strikethrough" );
                            var idstrikethroughOff = stringIDToTypeID( "strikethroughOff" );
                            desc130.putEnumerated( idstrikethrough, idstrikethrough, idstrikethroughOff );
                            var idUndl = charIDToTypeID( "Undl" );
                            var idUndl = charIDToTypeID( "Undl" );
                            var idunderlineOff = stringIDToTypeID( "underlineOff" );
                            desc130.putEnumerated( idUndl, idUndl, idunderlineOff );
                            var idunderlineOffset = stringIDToTypeID( "underlineOffset" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( idunderlineOffset, idPnt, 0.000000 );
                            var idligature = stringIDToTypeID( "ligature" );
                            desc130.putBoolean( idligature, true );
                            var idaltligature = stringIDToTypeID( "altligature" );
                            desc130.putBoolean( idaltligature, false );
                            var idcontextualLigatures = stringIDToTypeID( "contextualLigatures" );
                            desc130.putBoolean( idcontextualLigatures, false );
                            var idalternateLigatures = stringIDToTypeID( "alternateLigatures" );
                            desc130.putBoolean( idalternateLigatures, false );
                            var idoldStyle = stringIDToTypeID( "oldStyle" );
                            desc130.putBoolean( idoldStyle, false );
                            var idfractions = stringIDToTypeID( "fractions" );
                            desc130.putBoolean( idfractions, false );
                            var idordinals = stringIDToTypeID( "ordinals" );
                            desc130.putBoolean( idordinals, false );
                            var idswash = stringIDToTypeID( "swash" );
                            desc130.putBoolean( idswash, false );
                            var idtitling = stringIDToTypeID( "titling" );
                            desc130.putBoolean( idtitling, false );
                            var idconnectionForms = stringIDToTypeID( "connectionForms" );
                            desc130.putBoolean( idconnectionForms, false );
                            var idstylisticAlternates = stringIDToTypeID( "stylisticAlternates" );
                            desc130.putBoolean( idstylisticAlternates, false );
                            var idornaments = stringIDToTypeID( "ornaments" );
                            desc130.putBoolean( idornaments, false );
                            var idjustificationAlternates = stringIDToTypeID( "justificationAlternates" );
                            desc130.putBoolean( idjustificationAlternates, false );
                            var idfigureStyle = stringIDToTypeID( "figureStyle" );
                            var idfigureStyle = stringIDToTypeID( "figureStyle" );
                            var idNrml = charIDToTypeID( "Nrml" );
                            desc130.putEnumerated( idfigureStyle, idfigureStyle, idNrml );
                            var idproportionalMetrics = stringIDToTypeID( "proportionalMetrics" );
                            desc130.putBoolean( idproportionalMetrics, false );
                            var idkana = stringIDToTypeID( "kana" );
                            desc130.putBoolean( idkana, false );
                            var iditalics = stringIDToTypeID( "italics" );
                            desc130.putBoolean( iditalics, false );
                            var idruby = stringIDToTypeID( "ruby" );
                            desc130.putBoolean( idruby, false );
                            var idbaselineDirection = stringIDToTypeID( "baselineDirection" );
                            var idbaselineDirection = stringIDToTypeID( "baselineDirection" );
                            var idrotated = stringIDToTypeID( "rotated" );
                            desc130.putEnumerated( idbaselineDirection, idbaselineDirection, idrotated );
                            var idtextLanguage = stringIDToTypeID( "textLanguage" );
                            var idtextLanguage = stringIDToTypeID( "textLanguage" );
                            var idenglishLanguage = stringIDToTypeID( "englishLanguage" );
                            desc130.putEnumerated( idtextLanguage, idtextLanguage, idenglishLanguage );
                            var idjapaneseAlternate = stringIDToTypeID( "japaneseAlternate" );
                            var idjapaneseAlternate = stringIDToTypeID( "japaneseAlternate" );
                            var iddefaultForm = stringIDToTypeID( "defaultForm" );
                            desc130.putEnumerated( idjapaneseAlternate, idjapaneseAlternate, iddefaultForm );
                            var idmojiZume = stringIDToTypeID( "mojiZume" );
                            desc130.putDouble( idmojiZume, 0.000000 );
                            var idgridAlignment = stringIDToTypeID( "gridAlignment" );
                            var idgridAlignment = stringIDToTypeID( "gridAlignment" );
                            var idroman = stringIDToTypeID( "roman" );
                            desc130.putEnumerated( idgridAlignment, idgridAlignment, idroman );
                            var idenableWariChu = stringIDToTypeID( "enableWariChu" );
                            desc130.putBoolean( idenableWariChu, false );
                            var idwariChuCount = stringIDToTypeID( "wariChuCount" );
                            desc130.putInteger( idwariChuCount, 2 );
                            var idwariChuLineGap = stringIDToTypeID( "wariChuLineGap" );
                            desc130.putInteger( idwariChuLineGap, 0 );
                            var idwariChuScale = stringIDToTypeID( "wariChuScale" );
                            desc130.putDouble( idwariChuScale, 0.500000 );
                            var idwariChuWidow = stringIDToTypeID( "wariChuWidow" );
                            desc130.putInteger( idwariChuWidow, 2 );
                            var idwariChuOrphan = stringIDToTypeID( "wariChuOrphan" );
                            desc130.putInteger( idwariChuOrphan, 2 );
                            var idwariChuJustification = stringIDToTypeID( "wariChuJustification" );
                            var idwariChuJustification = stringIDToTypeID( "wariChuJustification" );
                            var idwariChuAutoJustify = stringIDToTypeID( "wariChuAutoJustify" );
                            desc130.putEnumerated( idwariChuJustification, idwariChuJustification, idwariChuAutoJustify );
                            var idtcyUpDown = stringIDToTypeID( "tcyUpDown" );
                            desc130.putInteger( idtcyUpDown, 0 );
                            var idtcyLeftRight = stringIDToTypeID( "tcyLeftRight" );
                            desc130.putInteger( idtcyLeftRight, 0 );
                            var idleftAki = stringIDToTypeID( "leftAki" );
                            desc130.putDouble( idleftAki, -1.000000 );
                            var idrightAki = stringIDToTypeID( "rightAki" );
                            desc130.putDouble( idrightAki, -1.000000 );
                            var idjiDori = stringIDToTypeID( "jiDori" );
                            desc130.putInteger( idjiDori, 0 );
                            var idnoBreak = stringIDToTypeID( "noBreak" );
                            desc130.putBoolean( idnoBreak, false );
                            var idClr = charIDToTypeID( "Clr " );
                                var desc131 = new ActionDescriptor();
                                var idRd = charIDToTypeID( "Rd  " );
                                desc131.putDouble( idRd, 0.000000 );
                                var idGrn = charIDToTypeID( "Grn " );
                                desc131.putDouble( idGrn, 0.000000 );
                                var idBl = charIDToTypeID( "Bl  " );
                                desc131.putDouble( idBl, 0.000000 );
                            var idRGBC = charIDToTypeID( "RGBC" );
                            desc130.putObject( idClr, idRGBC, desc131 );
                            var idstrokeColor = stringIDToTypeID( "strokeColor" );
                                var desc132 = new ActionDescriptor();
                                var idRd = charIDToTypeID( "Rd  " );
                                desc132.putDouble( idRd, 0.000000 );
                                var idGrn = charIDToTypeID( "Grn " );
                                desc132.putDouble( idGrn, 0.000000 );
                                var idBl = charIDToTypeID( "Bl  " );
                                desc132.putDouble( idBl, 0.000000 );
                            var idRGBC = charIDToTypeID( "RGBC" );
                            desc130.putObject( idstrokeColor, idRGBC, desc132 );
                            var idFl = charIDToTypeID( "Fl  " );
                            desc130.putBoolean( idFl, true );
                            var idStrk = charIDToTypeID( "Strk" );
                            desc130.putBoolean( idStrk, false );
                            var idfillFirst = stringIDToTypeID( "fillFirst" );
                            desc130.putBoolean( idfillFirst, true );
                            var idfillOverPrint = stringIDToTypeID( "fillOverPrint" );
                            desc130.putBoolean( idfillOverPrint, false );
                            var idstrokeOverPrint = stringIDToTypeID( "strokeOverPrint" );
                            desc130.putBoolean( idstrokeOverPrint, false );
                            var idlineCap = stringIDToTypeID( "lineCap" );
                            var idlineCap = stringIDToTypeID( "lineCap" );
                            var idbuttCap = stringIDToTypeID( "buttCap" );
                            desc130.putEnumerated( idlineCap, idlineCap, idbuttCap );
                            var idlineJoin = stringIDToTypeID( "lineJoin" );
                            var idlineJoin = stringIDToTypeID( "lineJoin" );
                            var idmiterJoin = stringIDToTypeID( "miterJoin" );
                            desc130.putEnumerated( idlineJoin, idlineJoin, idmiterJoin );
                            var idlineWidth = stringIDToTypeID( "lineWidth" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( idlineWidth, idPnt, 1.000000 );
                            var idmiterLimit = stringIDToTypeID( "miterLimit" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc130.putUnitDouble( idmiterLimit, idPnt, 4.000000 );
                            var idlineDashoffset = stringIDToTypeID( "lineDashoffset" );
                            desc130.putDouble( idlineDashoffset, 0.000000 );
                        var idTxtS = charIDToTypeID( "TxtS" );
                        desc127.putObject( idbaseParentStyle, idTxtS, desc130 );
                    var idTxtS = charIDToTypeID( "TxtS" );
                    desc126.putObject( idTxtS, idTxtS, desc127 );
                var idTxtt = charIDToTypeID( "Txtt" );
                list20.putObject( idTxtt, desc126 );
                    var desc133 = new ActionDescriptor();
                    var idFrom = charIDToTypeID( "From" );
                    desc133.putInteger( idFrom, 1 );
                    var idT = charIDToTypeID( "T   " );
                    desc133.putInteger( idT, 2 );
                    var idTxtS = charIDToTypeID( "TxtS" );
                        var desc134 = new ActionDescriptor();
                        var idstyleSheetHasParent = stringIDToTypeID( "styleSheetHasParent" );
                        desc134.putBoolean( idstyleSheetHasParent, true );
                        var idfontPostScriptName = stringIDToTypeID( "fontPostScriptName" );
                        desc134.putString( idfontPostScriptName, """TimesNewRomanPSMT""" );
                        var idFntN = charIDToTypeID( "FntN" );
                        desc134.putString( idFntN, """Times New Roman""" );
                        var idFntS = charIDToTypeID( "FntS" );
                        desc134.putString( idFntS, """Regular""" );
                        var idScrp = charIDToTypeID( "Scrp" );
                        desc134.putInteger( idScrp, 0 );
                        var idFntT = charIDToTypeID( "FntT" );
                        desc134.putInteger( idFntT, 1 );
                        var idSz = charIDToTypeID( "Sz  " );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc134.putUnitDouble( idSz, idPnt, 72.000000 );
                        var idimpliedFontSize = stringIDToTypeID( "impliedFontSize" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc134.putUnitDouble( idimpliedFontSize, idPnt, 72.000000 );
                        var iddigitSet = stringIDToTypeID( "digitSet" );
                        var iddigitSet = stringIDToTypeID( "digitSet" );
                        var iddefaultDigits = stringIDToTypeID( "defaultDigits" );
                        desc134.putEnumerated( iddigitSet, iddigitSet, iddefaultDigits );
                        var idmarkYDistFromBaseline = stringIDToTypeID( "markYDistFromBaseline" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc134.putUnitDouble( idmarkYDistFromBaseline, idPnt, 100.000000 );
                        var idClr = charIDToTypeID( "Clr " );
                            var desc135 = new ActionDescriptor();
                            var idRd = charIDToTypeID( "Rd  " );
                            desc135.putDouble( idRd, 199.996948 );
                            var idGrn = charIDToTypeID( "Grn " );
                            desc135.putDouble( idGrn, 99.998474 );
                            var idBl = charIDToTypeID( "Bl  " );
                            desc135.putDouble( idBl, 199.996948 );
                        var idRGBC = charIDToTypeID( "RGBC" );
                        desc134.putObject( idClr, idRGBC, desc135 );
                        var idstrokeColor = stringIDToTypeID( "strokeColor" );
                            var desc136 = new ActionDescriptor();
                            var idRd = charIDToTypeID( "Rd  " );
                            desc136.putDouble( idRd, 255.000000 );
                            var idGrn = charIDToTypeID( "Grn " );
                            desc136.putDouble( idGrn, 255.000000 );
                            var idBl = charIDToTypeID( "Bl  " );
                            desc136.putDouble( idBl, 255.000000 );
                        var idRGBC = charIDToTypeID( "RGBC" );
                        desc134.putObject( idstrokeColor, idRGBC, desc136 );
                    var idTxtS = charIDToTypeID( "TxtS" );
                    desc133.putObject( idTxtS, idTxtS, desc134 );
                var idTxtt = charIDToTypeID( "Txtt" );
                list20.putObject( idTxtt, desc133 );
                    var desc137 = new ActionDescriptor();
                    var idFrom = charIDToTypeID( "From" );
                    desc137.putInteger( idFrom, 2 );
                    var idT = charIDToTypeID( "T   " );
                    desc137.putInteger( idT, 4 );
                    var idTxtS = charIDToTypeID( "TxtS" );
                        var desc138 = new ActionDescriptor();
                        var idstyleSheetHasParent = stringIDToTypeID( "styleSheetHasParent" );
                        desc138.putBoolean( idstyleSheetHasParent, true );
                        var idfontPostScriptName = stringIDToTypeID( "fontPostScriptName" );
                        desc138.putString( idfontPostScriptName, """TimesNewRomanPSMT""" );
                        var idFntN = charIDToTypeID( "FntN" );
                        desc138.putString( idFntN, """Times New Roman""" );
                        var idFntS = charIDToTypeID( "FntS" );
                        desc138.putString( idFntS, """Regular""" );
                        var idScrp = charIDToTypeID( "Scrp" );
                        desc138.putInteger( idScrp, 0 );
                        var idFntT = charIDToTypeID( "FntT" );
                        desc138.putInteger( idFntT, 1 );
                        var idSz = charIDToTypeID( "Sz  " );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc138.putUnitDouble( idSz, idPnt, 72.000000 );
                        var idimpliedFontSize = stringIDToTypeID( "impliedFontSize" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc138.putUnitDouble( idimpliedFontSize, idPnt, 72.000000 );
                        var iddigitSet = stringIDToTypeID( "digitSet" );
                        var iddigitSet = stringIDToTypeID( "digitSet" );
                        var iddefaultDigits = stringIDToTypeID( "defaultDigits" );
                        desc138.putEnumerated( iddigitSet, iddigitSet, iddefaultDigits );
                        var idmarkYDistFromBaseline = stringIDToTypeID( "markYDistFromBaseline" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc138.putUnitDouble( idmarkYDistFromBaseline, idPnt, 100.000000 );
                        var idClr = charIDToTypeID( "Clr " );
                            var desc139 = new ActionDescriptor();
                            var idRd = charIDToTypeID( "Rd  " );
                            desc139.putDouble( idRd, 99.998474 );
                            var idGrn = charIDToTypeID( "Grn " );
                            desc139.putDouble( idGrn, 99.998474 );
                            var idBl = charIDToTypeID( "Bl  " );
                            desc139.putDouble( idBl, 99.998474 );
                        var idRGBC = charIDToTypeID( "RGBC" );
                        desc138.putObject( idClr, idRGBC, desc139 );
                        var idstrokeColor = stringIDToTypeID( "strokeColor" );
                            var desc140 = new ActionDescriptor();
                            var idRd = charIDToTypeID( "Rd  " );
                            desc140.putDouble( idRd, 255.000000 );
                            var idGrn = charIDToTypeID( "Grn " );
                            desc140.putDouble( idGrn, 255.000000 );
                            var idBl = charIDToTypeID( "Bl  " );
                            desc140.putDouble( idBl, 255.000000 );
                        var idRGBC = charIDToTypeID( "RGBC" );
                        desc138.putObject( idstrokeColor, idRGBC, desc140 );
                    var idTxtS = charIDToTypeID( "TxtS" );
                    desc137.putObject( idTxtS, idTxtS, desc138 );
                var idTxtt = charIDToTypeID( "Txtt" );
                list20.putObject( idTxtt, desc137 );
            desc119.putList( idTxtt, list20 );
            var idparagraphStyleRange = stringIDToTypeID( "paragraphStyleRange" );
                var list21 = new ActionList();
                    var desc141 = new ActionDescriptor();
                    var idFrom = charIDToTypeID( "From" );
                    desc141.putInteger( idFrom, 0 );
                    var idT = charIDToTypeID( "T   " );
                    desc141.putInteger( idT, 4 );
                    var idparagraphStyle = stringIDToTypeID( "paragraphStyle" );
                        var desc142 = new ActionDescriptor();
                        var idstyleSheetHasParent = stringIDToTypeID( "styleSheetHasParent" );
                        desc142.putBoolean( idstyleSheetHasParent, true );
                        var idAlgn = charIDToTypeID( "Algn" );
                        var idAlg = charIDToTypeID( "Alg " );
                        var idLeft = charIDToTypeID( "Left" );
                        desc142.putEnumerated( idAlgn, idAlg, idLeft );
                        var idfirstLineIndent = stringIDToTypeID( "firstLineIndent" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idfirstLineIndent, idPnt, 0.000000 );
                        var idimpliedFirstLineIndent = stringIDToTypeID( "impliedFirstLineIndent" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idimpliedFirstLineIndent, idPnt, 0.000000 );
                        var idstartIndent = stringIDToTypeID( "startIndent" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idstartIndent, idPnt, 0.000000 );
                        var idimpliedStartIndent = stringIDToTypeID( "impliedStartIndent" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idimpliedStartIndent, idPnt, 0.000000 );
                        var idendIndent = stringIDToTypeID( "endIndent" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idendIndent, idPnt, 0.000000 );
                        var idimpliedEndIndent = stringIDToTypeID( "impliedEndIndent" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idimpliedEndIndent, idPnt, 0.000000 );
                        var idspaceBefore = stringIDToTypeID( "spaceBefore" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idspaceBefore, idPnt, 0.000000 );
                        var idimpliedSpaceBefore = stringIDToTypeID( "impliedSpaceBefore" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idimpliedSpaceBefore, idPnt, 0.000000 );
                        var idspaceAfter = stringIDToTypeID( "spaceAfter" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idspaceAfter, idPnt, 0.000000 );
                        var idimpliedSpaceAfter = stringIDToTypeID( "impliedSpaceAfter" );
                        var idPnt = charIDToTypeID( "#Pnt" );
                        desc142.putUnitDouble( idimpliedSpaceAfter, idPnt, 0.000000 );
                        var iddropCapMultiplier = stringIDToTypeID( "dropCapMultiplier" );
                        desc142.putInteger( iddropCapMultiplier, 1 );
                        var idautoLeadingPercentage = stringIDToTypeID( "autoLeadingPercentage" );
                        desc142.putDouble( idautoLeadingPercentage, 1.200000 );
                        var idleadingType = stringIDToTypeID( "leadingType" );
                        var idleadingType = stringIDToTypeID( "leadingType" );
                        var idleadingBelow = stringIDToTypeID( "leadingBelow" );
                        desc142.putEnumerated( idleadingType, idleadingType, idleadingBelow );
                        var iddirectionType = stringIDToTypeID( "directionType" );
                        var iddirectionType = stringIDToTypeID( "directionType" );
                        var iddirLeftToRight = stringIDToTypeID( "dirLeftToRight" );
                        desc142.putEnumerated( iddirectionType, iddirectionType, iddirLeftToRight );
                        var idkashidaWidthType = stringIDToTypeID( "kashidaWidthType" );
                        var idkashidaWidthType = stringIDToTypeID( "kashidaWidthType" );
                        var idkashidaWidthMedium = stringIDToTypeID( "kashidaWidthMedium" );
                        desc142.putEnumerated( idkashidaWidthType, idkashidaWidthType, idkashidaWidthMedium );
                        var idjustificationMethodType = stringIDToTypeID( "justificationMethodType" );
                        var idjustificationMethodType = stringIDToTypeID( "justificationMethodType" );
                        var idjustifMethodAutomatic = stringIDToTypeID( "justifMethodAutomatic" );
                        desc142.putEnumerated( idjustificationMethodType, idjustificationMethodType, idjustifMethodAutomatic );
                        var idhyphenate = stringIDToTypeID( "hyphenate" );
                        desc142.putBoolean( idhyphenate, true );
                        var idhyphenateWordSize = stringIDToTypeID( "hyphenateWordSize" );
                        desc142.putInteger( idhyphenateWordSize, 6 );
                        var idhyphenatePreLength = stringIDToTypeID( "hyphenatePreLength" );
                        desc142.putInteger( idhyphenatePreLength, 2 );
                        var idhyphenatePostLength = stringIDToTypeID( "hyphenatePostLength" );
                        desc142.putInteger( idhyphenatePostLength, 2 );
                        var idhyphenateLimit = stringIDToTypeID( "hyphenateLimit" );
                        desc142.putInteger( idhyphenateLimit, 0 );
                        var idhyphenationZone = stringIDToTypeID( "hyphenationZone" );
                        desc142.putDouble( idhyphenationZone, 36.000000 );
                        var idhyphenateCapitalized = stringIDToTypeID( "hyphenateCapitalized" );
                        desc142.putBoolean( idhyphenateCapitalized, true );
                        var idhyphenationPreference = stringIDToTypeID( "hyphenationPreference" );
                        desc142.putDouble( idhyphenationPreference, 0.500000 );
                        var idjustificationWordMinimum = stringIDToTypeID( "justificationWordMinimum" );
                        desc142.putDouble( idjustificationWordMinimum, 0.800000 );
                        var idjustificationWordDesired = stringIDToTypeID( "justificationWordDesired" );
                        desc142.putDouble( idjustificationWordDesired, 1.000000 );
                        var idjustificationWordMaximum = stringIDToTypeID( "justificationWordMaximum" );
                        desc142.putDouble( idjustificationWordMaximum, 1.330000 );
                        var idjustificationLetterMinimum = stringIDToTypeID( "justificationLetterMinimum" );
                        desc142.putDouble( idjustificationLetterMinimum, 0.000000 );
                        var idjustificationLetterDesired = stringIDToTypeID( "justificationLetterDesired" );
                        desc142.putDouble( idjustificationLetterDesired, 0.000000 );
                        var idjustificationLetterMaximum = stringIDToTypeID( "justificationLetterMaximum" );
                        desc142.putDouble( idjustificationLetterMaximum, 0.000000 );
                        var idjustificationGlyphMinimum = stringIDToTypeID( "justificationGlyphMinimum" );
                        desc142.putDouble( idjustificationGlyphMinimum, 1.000000 );
                        var idjustificationGlyphDesired = stringIDToTypeID( "justificationGlyphDesired" );
                        desc142.putDouble( idjustificationGlyphDesired, 1.000000 );
                        var idjustificationGlyphMaximum = stringIDToTypeID( "justificationGlyphMaximum" );
                        desc142.putDouble( idjustificationGlyphMaximum, 1.000000 );
                        var idsingleWordJustification = stringIDToTypeID( "singleWordJustification" );
                        var idAlg = charIDToTypeID( "Alg " );
                        var idJstA = charIDToTypeID( "JstA" );
                        desc142.putEnumerated( idsingleWordJustification, idAlg, idJstA );
                        var idhangingRoman = stringIDToTypeID( "hangingRoman" );
                        desc142.putBoolean( idhangingRoman, false );
                        var idautoTCY = stringIDToTypeID( "autoTCY" );
                        desc142.putInteger( idautoTCY, 0 );
                        var idkeepTogether = stringIDToTypeID( "keepTogether" );
                        desc142.putBoolean( idkeepTogether, true );
                        var idburasagari = stringIDToTypeID( "burasagari" );
                        var idburasagari = stringIDToTypeID( "burasagari" );
                        var idburasagariNone = stringIDToTypeID( "burasagariNone" );
                        desc142.putEnumerated( idburasagari, idburasagari, idburasagariNone );
                        var idpreferredKinsokuOrder = stringIDToTypeID( "preferredKinsokuOrder" );
                        var idpreferredKinsokuOrder = stringIDToTypeID( "preferredKinsokuOrder" );
                        var idpushIn = stringIDToTypeID( "pushIn" );
                        desc142.putEnumerated( idpreferredKinsokuOrder, idpreferredKinsokuOrder, idpushIn );
                        var idkurikaeshiMojiShori = stringIDToTypeID( "kurikaeshiMojiShori" );
                        desc142.putBoolean( idkurikaeshiMojiShori, false );
                        var idtextEveryLineComposer = stringIDToTypeID( "textEveryLineComposer" );
                        desc142.putBoolean( idtextEveryLineComposer, false );
                        var iddefaultTabWidth = stringIDToTypeID( "defaultTabWidth" );
                        desc142.putDouble( iddefaultTabWidth, 36.000000 );
                        var iddefaultStyle = stringIDToTypeID( "defaultStyle" );
                            var desc143 = new ActionDescriptor();
                            var idfontPostScriptName = stringIDToTypeID( "fontPostScriptName" );
                            desc143.putString( idfontPostScriptName, """MyriadPro-Regular""" );
                            var idFntN = charIDToTypeID( "FntN" );
                            desc143.putString( idFntN, """Myriad Pro""" );
                            var idFntS = charIDToTypeID( "FntS" );
                            desc143.putString( idFntS, """Regular""" );
                            var idScrp = charIDToTypeID( "Scrp" );
                            desc143.putInteger( idScrp, 0 );
                            var idFntT = charIDToTypeID( "FntT" );
                            desc143.putInteger( idFntT, 0 );
                            var idSz = charIDToTypeID( "Sz  " );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc143.putUnitDouble( idSz, idPnt, 12.000000 );
                            var idHrzS = charIDToTypeID( "HrzS" );
                            desc143.putDouble( idHrzS, 100.000000 );
                            var idVrtS = charIDToTypeID( "VrtS" );
                            desc143.putDouble( idVrtS, 100.000000 );
                            var idsyntheticBold = stringIDToTypeID( "syntheticBold" );
                            desc143.putBoolean( idsyntheticBold, false );
                            var idsyntheticItalic = stringIDToTypeID( "syntheticItalic" );
                            desc143.putBoolean( idsyntheticItalic, false );
                            var idautoLeading = stringIDToTypeID( "autoLeading" );
                            desc143.putBoolean( idautoLeading, true );
                            var idTrck = charIDToTypeID( "Trck" );
                            desc143.putInteger( idTrck, 0 );
                            var idBsln = charIDToTypeID( "Bsln" );
                            var idPnt = charIDToTypeID( "#Pnt" );
                            desc143.putUnitDouble( idBsln, idPnt, 0.000000 );
                            var idcharacterRotation = stringIDToTypeID( "characterRotation" );
                            desc143.putDouble( idcharacterRotation, 0.000000 );
       

  • Changing the color of text in the DataGrid cell conditionally

    I am using a DataGrid in my application and my requirement is
    to change format and style of data value in the DataGridColumn per
    below:
    If the data value is a negative number
    1. change the color of a value to red
    2. remove the '-'ive sign
    3. include the value between in parenthesis.
    I was able to accomplish 2 & 3 in the labelFunction for
    the DataGridColumn. But have been struggling to accomplish (1)
    within the label function.
    Can this be done in the labelFunction? I am using Flex 2.0.1.
    Appreciate any help with this.
    Thanks.

    you'd probably best use an item renderer to change the color.
    have a look at
    background
    color in item renderers on
    alex's flex closet for an
    example of this.

  • Coping Color Coded Text from PLSQL Editor

    Does anyone know a way to capture the color coded text from the Reports PLSQL editor so it can be pasted into MS Word? A normal copy and paste does not copy the color and I would like the color coded text as part of the report documentation.
    Thanks

    The correct subject is:
    Copying Color Coded Text from PLSQL Editor

  • Cannot color quoted text

    Hello.
    In preferences, I have checked "Quote the text of the original message",and "Increase quote level", both under the "Composing" menu, and I have checked "Color quoted text", under the "Fonts & Colors" menu. However, when replying to a message, both the original message text and my reply text still appear black. I can color my reply text after I input it by choosing "Increase" for "Quote Level" under the Format menu. I assumed that my preference settings were supposed to create this effect automatically. Does anyone know what I am doing wrong?
    Thanks for any help you can provide.

    Very Interesting...
    Windows-1252 or CP-1252 is a character encoding of the Latin alphabet, used by default in the legacy components of Microsoft Windows in English and some other Western languages. It is one version within the group of Windows code pages. In LaTeX packages, it is referred to as ansinew.
    The encoding is a superset of ISO 8859-1, but differs from the IANA's ISO-8859-1 by using displayable characters rather than control characters in the 0x80 to 0x9F range.
    http://en.wikipedia.org/wiki/Windows-1252
    http://en.wikipedia.org/wiki/ISO/IEC_8859
    I wonder 2 things... if it's the Control Chr issue, or do you have it set to always send Windows friendly attachments?
    In the Raw Source, see if you can tell what chr is used fir indenting levels, looks like > here.

  • I am unable to change the color of text in an email I replay to or compose. I am on 31.6.0 release of Thunderbird.

    When I receive, reply or compose email. I no longer am able to see or change the color of text. I select to change the text from black to Red (or any other color) and the text just stays black, The color seletor box will show the last select color, but never actually changes the text color in an email. Also in received email, when the sender has indicated their replies to me are in another color, All the text only appears as black. I never had this problem in the past, not sure what has happened. I did restart Thunderbird with add-ons disabled and this did not change the problem.

    Hello, maybe the question need to move by a moderator to thunderbird support ?
    https://support.mozilla.org/en-US/questions/thunderbird?owner=all
    thank you
    [moderator note: question thread has been moved from Firefox queue to Thunderbird queue]

  • HoW to ChaNGE the text in the mobile application to be in MulTi-CoLoR text

    _*  Do anyone can tell me how to change the text in the mobile application to be in multi-color text, to make it more interesting and increase readability?
    Is it using the Graphic's paint() method? or any better suggestion?
    Please give the short example if can?
    Please help... "_"
    Hearing from u all soon...@_@
    thanks....

    Go into outline view. If you can see the outlines of the letterforms, you can't just change the text. If the letterforms are solid black, take the type tool, select the text and type yours.
    Anyway you can just select the letters, take the type tool and type new text.
    Working with the type tool is a basic. Please see the manual for details

  • How do I change the background color of text in Pages quickly?

    I know that I can highight the words with my cursor, then press the little "a" in the toolbar, then select the color I want. However, I have to hihglight a ton of separate sentences in documents that have a few hundred pages.
    Is there a shortcut for changing the background behind the words to a specific color? Or is there a way to do it with just one click? I don't want to have to carefully select the color I want each time. I just need one color, and I'd like to be able to set it easily.

    Thanks, didn't even know about the styles drawer.
    In summary for others...
    Perform the background change on some text, and put the cursor on the text (click the text).
    Command+Shift+T to bring up style drawer.
    Click and hold the "+" button and click on "Add new Character Style" from selection.
    Click on the arrow beside "Include these character attributes."
    Deselect all of the attributes except for the "Fill."
    Change the name to "Highlight Yellow" or whatever.
    Then whenever you click on it in the styles drawer, it will apply the fill.

  • How do I set my colors to CMYK in the text form properties? I have seen some screenshots where there are cmyk sliders. I don't have any of these options. All my color options are in RGB. How do I change this in Acrobat? Please Help.

    What I'm trying to do is make an editable invitation. So I export my file from InDesign to an interactive pdf. I would like to set the editable text in the form field to a specific cmyk color. Is there anyway of exporting specific color swatches into the pdf and then applying them to the text in the form field? I have been searching this topic for a while and am getting really frustrated with the lack of information on this topic. Any help would be great!
    I saw this screenshot with cmyk sliders. Where can I access these settings or options? I'm on a PC, not a MAC.
    My Options look like this...
    and when I click on "Other Color..."
    I don't see any options to set to cmyk color sliders...anyone run into this problem and know a solution?

    Though it has to be said that the Mac colour selector is very confusing. Although you can select in CMYK on the Mac in almost any app, it is converted to RGB by the Mac, and you get RGB anyway.

  • I want to change the size and color of text in call out boxes and text boxes. How can I do this? Jack

    I want to change the size and color of text in call out boxes and text boxes. How can I do this? Jack

    Highlite the text inside the text box and then press Ctrl+E.

Maybe you are looking for

  • JAR file including database connection

    Hello, I made an application ( GUI ) which uses a MS acces Database. I used Netbeans, so a JAR file is automatically created. The only problem is that when I run the Jar file ,the application isn't able to find the connection with the database. Very

  • Specifying a range of sheets in a formula

    I am new to mac and numbers.  I have a new iMac with Maverick.  Is there a way to sum the same cell in a range of sheets without having to have add all of them separately?  In other words, a way to specify a range of sheets?  Or, pehaps specify a nam

  • Nokia map - Ukraine

    Hi, with Nokia map preloaded on my E90 I was able to use the ukranian map (kiev city) with a certain level of detail. Let's say, enough details to survive. Then I upgraded to the beta version and reloaded the map in the phone. Now, Ukraine, especiall

  • Urgent sets in badi

    Hi , There are 8 gl accounts in set.a set is created.In badi i am trying to compare with those gl accounts with some value.I have hard coded those values. Is there any other method for comparing these set valuses. reg

  • Editing in iPhoto app

    Hi, I can't seem to figure out how to get certain edits to stick. I can apply an effect, but then when I tap another icon, for example, to change the exposure or colors, my photo reverts back to the original without the first effect I applied. How ca