Text is overriding above layer

I have text in layer one (bottom) and i have a tooltip widget in the top layer, and the text from layer one is overriding the tooltip widget?
What is going wrong?

I think what you need to do is re-think the way the menu bar is constructed for the widget to line up properly.
You can build the menu as a 'Manual' menu, see attachment, and squeeze the widget in-between to menu items, then lining up your widget to fit.
Note the 'Y' height at '27' make sure the 'Y' height of your menu box matches. When viewing inside Muse it looks off by a pixel but previews fine.
The next attachment shows the preview. (note: I didn't add any text on the widget)

Similar Messages

  • Using Adobe PhotoShop CS4, I cannot add text to a new layer. It was always a snap with previous versions of OS 10. Has anyone else noticed issues with CS4 and Lion? Many thanks in advance. Pete Hendricks

    Using Adobe PhotoShop CS4, I cannot add text to a new layer. It was always a snap with previous versions of OS 10. Has anyone else noticed issues with CS4 and Lion? Many thanks in advance. Pete Hendricks

    Happy to report that iTunes Match has returned to working like normal on iTunes 10.7 on my computer today. If any iTunes engineers read this thread, I really appreciate the fix.
    Has it returned to normal for you?

  • I have Photoshop CS5. I cannot see what I typed in a text box, but the layer lable exactly what I had typed. Thanks!

    I have Photoshop CS5. I cannot see what I typed in a text box, but the layer lable exactly what I had typed. Thanks!
    Thanh

    Thank Silkrooster for your prompt answer. I just figured out my trouble was caused by the font size was 12pt while the photo resolution was large 20M pixels. By changing the font size to 200 I was able to see all the text. Thanks again!
    Thanh

  • After translation text is placed above text

    A file was saved as .svg to be able to translate it with Trados. When I got the .svg file back (even when saved as .ai), some text was placed above another text.
    Text 1 is regular and text 2 bold. Even when I modify text 2 to regular in the original file and let it translate again, this text still remains above text 1.
    Any idea what could be the reason for this?
    I use CS3, Windows XP Professional Version 2002 Service Pack 2.
    Thank you

    Inge, SVG is a very bad format to use for translations.
    If you want, I've developed a tool that exports all text frames from an illustration to an XML file (which you can open in Trados), and then imports it back, overwriting the original text.
    Contact me by email if you're interested...

  • A script for replacing texts only in selected layer?

    Hi all,
    I have an illustrator document which has many text layers. I have found the script below that replace a text with another one in the document;
    var doc = app.activeDocument;
    var myTextFrames = doc.textFrames;
    for (i = 0; i < myTextFrames.length; i++) {
    var myTF_ByI = myTextFrames[i];
    var str = myTF_ByI.contents
    var res = str.replace("word1", "word2");
    myTF_ByI.contents = res
    However, there is one problem that the script also replaces the text in other layers even though they are hidden or locked. Could you help me adjust this script to be effective only for the selected or unhidden layer?
    Cheers,
    Akin

    Hi elmagnifico,
    this is strange.
    Before running the script snippet:
    and after running the snippet:
    Can you show us your layers palette? Do you really layers mean – and not sublayers or not simple text items in one layer???
    regards

  • How do I change the color of text based on the layer below it?

    I want to create text that expands beyond a circle but inside the circle it is white and outside is black.

    Make a text layer that is black.  Create a white circle above it and clip that layer to the text layer by holding down the alt/opt key while clicking between the layers.

  • How to get text on the above and below the Barcode Box

    Hi Experts,
    In SAP-SCRIPTS, a Barcode in the Box, where i have to add text above and below the Barcode Box. so that this Barcode box along with the text should not get disturb when there is more data in the layout.
    Thanks
    Rico.

    Use Javascript + DOM. Each DOM element has a focus property, make use of it during the onload.

  • 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 );
       

  • Move text frame to a layer

    Need batch ID docs. & get all instances where the paragraph  style "Codes" was applied, create a new layer "PR" & move text frames containing that paragraph  style to a layer "PR". This what I have so far. Any help is appreciated. ================
    set source_folder to choose folder with prompt "Select folder containing Indesign Documents to move codes to a diffrent layer"
    tell application "Finder" to set theFiles to files of source_folder whose name extension is "indd"
    if (count of theFiles) is 0 then
       display dialog "No InDesign files to process" buttons "Cancel" default button "Cancel" with icon 0 giving up after 6
       return
    end if
    end
    --loop the selected folder
    repeat with oneFile in theFiles
       tell application "Adobe InDesign CS4"
           --ignore dialogs
           set user interaction level of script preferences to never interact
           activate
           set myDocument to open (oneFile as alias)
           tell myDocument
               --find pstyle
               set myPstyle to paragraph style "CODES"
               -- if the page is a spread
               set x to properties of spread 1
               set LayerName to "PR"
               try
                   set myLayer to layer LayerName
                   set the properties of myLayer to {locked:false}
               on error
                   --create layer if does not exist
                   set myLayer to make layer with properties {name:LayerName, layer color:red, visible:true}
               end try
               --get all instances where paragraph style CODES was applied only & move text frames to a PR layer
               set myObjects to (every text frame whose applied paragraph style is myPstyle and item layer is myLayer)
               move (every text frame whose applied paragraph style is myPstyle) to layer "PR"
               close myDocument saving yes
               display alert "Opening next document..." giving up after 2
               --put the prefs the way it was
               tell application "Adobe InDesign CS4"
                   set user interaction level of script preferences to interact with all
               end tell
               --==============   
           end tell --myDoc
       end tell --Indesign
    end repeat

    You can get all the odd/even ones with a loop like this, but it's certainly not as simple as you were hoping for. Either one of these could be turned into a function pretty easily though--the second one you could pass lists of names to and get back the list of all matching labeled items pretty easily. At least then you wouldn't have to be tinkering with the physical layer of the item. That seems like it might bite you eventually...
    Matching only odd frames:
    set myList to {}
    repeat with i from 1 to 9
    if i mod 2 = 1 then
      set myList to myList & (every text frame whose label = ("Cap0" & i) as string)
    end if
    end repeat
    Alternatively, you could use selection lists:
    set selectionList to {"Cap01", "Cap02", "Cap05"}
    set myList to {}
    repeat with i from 1 to 9
    set thisString to "Cap0" & i
    if selectionList contains thisString then
      set myList to myList & (every text frame whose label = thisString)
    end if
    end repeat

  • Text Field Caption above Value

    Hello,
    I hav enot been able to find out how to put the Caption for a Text Field above the Value of the field.  I can't imagine it is not possible.  Basically what I want is:
    My caption:
    I could do this with an uncaptioned Text Field and a piece of Text, but would rather keep it as 1 item if possible.  Any ideas?
    Regards,
    Karl

    To make this a little more complete, since I had a hard time finding it, the Layout tab can be found by selecting an object and then selecting the Pallet Menu that appears in the bottom right corner of the information surrounding the object in design View.  Layout is found under Pallets.
    Thank you, Niall, for the response.  It got me exactly what I needed.
    Karl

  • How to make text links on one layer appear differently than on another layer?

    I have text links in some layers that I want to appear as white bold font and text links in other layers that I want to appear as black or blue unbold. I think this might be with CSS but I can't figure it out.

    It doesn't go in there at all. Style rules should go in a style block in the head of the page like this:
    <style type="text/css">
    #Layer5 a {
      color: #FFF;
      font-weight: bold;
    </style>
    Even better, though, is to put all your style rules in an external style sheet, because this automatically applies the rules to every page in your site that the style sheet is attached to.
    To learn more about CSS, visit the Adobe Developer Center at http://www.adobe.com/devnet/dreamweaver/css.html.

  • Writing a text file in Application layer (through AL11) via a batch program

    Hi ,
    I want to write a text doc everytime a batch(background) program is run in al11 in the specified directory. It is working fine in development server. But when itransported it into quality , its working  some times and many times its not working  , ie not creating a new text doc or overwriting the existing doc even for small amount of data.
    here is my code snippet: (i have not provided all the loop and concatenate part since its repetitive but whole covp is being passed)
    CLASS CL_ABAP_CHAR_UTILITIES DEFINITION LOAD.
      CONSTANTS:C_TAB TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
      TRANSLATE P_FILE TO LOWER CASE.
      OPEN DATASET P_FILE FOR OUTPUT MESSAGE ZHR_ERROR_MSG
      IN TEXT MODE ENCODING DEFAULT.
      IF SY-SUBRC = 0.
        CLEAR LV_STR.
        CONCATENATE TEXT-024 TEXT-010 SY-DATUM TEXT-011 SY-UZEIT
        INTO LV_STR SEPARATED BY SPACE.
        TRANSFER LV_STR TO P_FILE.
    LOOP AT IT_COVP INTO WA_COVP.
          LV_WTGBTR = WA_COVP-WTGBTR.
          LV_WOGBTR = WA_COVP-WOGBTR.
          LV_WKGBTR = WA_COVP-WKGBTR.
          LV_WKFBTR = WA_COVP-WKFBTR.
          LV_PAGBTR = WA_COVP-PAGBTR.
          LV_PAFBTR = WA_COVP-PAFBTR.
           LV_K_TIMESTMP = WA_COVP-K_TIMESTMP.
    concatenate WA_COVP-KOKRS
          WA_COVP-BELNR
          WA_COVP-BUZEI
          WA_COVP-PERIO
          LV_WTGBTR
          LV_WOGBTR
          LV_WKGBTR
          LV_WKFBTR
          LV_PAGBTR
          LV_PAFBTR
          WA_COVP-LEDNR
          WA_COVP-OBJNR
          WA_COVP-GJAHR
          WA_COVP-WRTTP
          WA_COVP-VERSN  INTO LV_DATA SEPARATED BY C_TAB.
          TRANSFER LV_DATA TO P_FILE.
          IF SY-SUBRC NE 0.
            IF SY-BATCH IS INITIAL.
              MESSAGE ZHR_ERROR_MSG TYPE 'E'.
            ENDIF.
          ENDIF.
          LV_TOTAL_RECORDS = LV_TOTAL_RECORDS + 1.
          CLEAR: WA_COVP, LV_DATA.
        ENDLOOP.
    CLEAR LV_STR.
        LV_TOTAL_RECORDS_STR = LV_TOTAL_RECORDS.
        CONCATENATE TEXT-025 TEXT-026 LV_TOTAL_RECORDS_STR
        INTO LV_STR SEPARATED BY SPACE.
        TRANSFER LV_STR TO P_FILE.
    CLOSE DATASET P_FILE.
      FREE: LV_VAR,
            ZHR_ERROR_MSG.
    Please suggest

    Hi,
      One thing that you have to make sure is that you have the exact same path name that you see in AL11. These paths are case sensitive and sometimes named in a funny way to ahve some characters in CAPS and some as small letters. Also check if you have authorizations to the file-folder.
    Regards,
    Himanshu

  • Text field in Bol layer

    Hi Guys,
    I am trying to append text lines into a particular NOTES section in Webui. Here is what i am using in my code,
      DATA: lr_ent1   TYPE REF TO cl_crm_bol_entity,
            lr_texts  TYPE REF TO cl_crm_bol_entity,
            lr_result TYPE REF TO cl_crm_bol_entity.
      DATA: lv_lines TYPE string,
            lv_note TYPE string,
            lv_tdid TYPE string.
      lr_ent1 = lr_adminh.
      lr_ent1 = lr_ent1->get_related_entity( iv_relation_name = 'BTHeaderTextSet' ).
      IF lr_ent1 IS BOUND.
        lr_ent1 = lr_ent1->get_related_entity( iv_relation_name = 'BTTextHAll' ).
          IF lr_ent1 IS BOUND.
            lv_note = 'Blah Blah Blah'.
            IF lr_ent1->switch_to_change_mode( ) EQ abap_true.
              lv_tdid = lr_ent1->if_bol_bo_property_access~get_property_as_string( iv_attr_name = 'TDID' ).
              IF lv_tdid = 'ZABC'.
                lr_ent1->if_bol_bo_property_access~set_property( iv_attr_name = 'CONC_LINES'
                                                                 iv_value     = lv_note ).
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
      lr_core->modify( ).
    The problem here is, I wanted to add text for a particular text id, 'ZABC' but its adding text for the first available text id. Is there a way I could mention the text id along with the lines

    HI,
    Try this in SET method of the context nodes attribute.
    add this public atribute in your context node  class :
    GV_LINES is public attribute with type NAME_KOMP
    DATA: current TYPE REF TO cl_crm_bol_entity,
            dref    TYPE REF TO data,
            copy    TYPE REF TO data.
      FIELD-SYMBOLS: <nval> TYPE ANY,
                     <oval> TYPE ANY.
      current ?= collection_wrapper->get_current( ).
      CHECK current IS BOUND.
      TRY.
          dref = current->get_property( gv_lines ).
        CATCH cx_crm_cic_parameter_error cx_sy_ref_is_initial
              cx_sy_move_cast_error cx_crm_genil_model_error.
          RETURN.
      ENDTRY.
      CHECK dref IS BOUND
      ASSIGN dref->* TO <oval>.
      CREATE DATA copy LIKE <oval>.
      ASSIGN copy->* TO <nval>.
    TRY.
          CALL METHOD if_bsp_model_util~convert_from_string
            EXPORTING
              data_ref = copy
              value    = value.
        CATCH cx_sy_conversion_error.
          RAISE EXCEPTION TYPE cx_bsp_conv_failed
            EXPORTING
              name = 'ATTRIBUTE_NAME'.                                   "#EC NOTEXT
      ENDTRY.
    IF <nval> NE <oval>.
       current->set_property( iv_attr_name = gv_lines
                               iv_value     = <nval> ).
      ENDIF.
      CALL METHOD me->check_encoding
        EXPORTING
          iv_value = <nval>
        EXCEPTIONS
          not_fine = 1
          OTHERS   = 2.
      IF sy-subrc <> 0.
        current->set_property( iv_attr_name = gv_lines
                               iv_value     = <oval> ).
        EXIT.
      ENDIF.
    Try this or modify as per your requiement.
    /Cheers
    Sunita

  • Slide show in table cell and text in layer above images

    I need to create a slide show within
    a table cell (one cell of several).  The
    display should commence after the launch page has been completely loaded and only appear once.  Also, there needs to be text in a layer above the slide images which changes coordinated with each slide but is generated independent of each slide and therefore may be positioned within the cell independently.
    Anyone?

    Hi again Nancy,
    You've provided very helpful information in the past.  The code for the "show" in the upper right position would be perfect if the text-bar background could be made transparent and positioned higher against the image. Your suggestion has forced me to clarify my concept in my own mind.  The need for transparency hadn't occurred to me yet. 
    An alternative would be the upper left "show" in a bottom layer with text with a transparent background in a top layer.  The text in the top layer would remain constant from the time of the page's loading; i.e., would be independent of changes in the bottom layer.  Perhaps I could figure out the code necessary to coordinate that text's change of shade from one slide to the next appropriate to the slide's shade.
    I'm assuming that a table cell can be partitioned into layers using HTML and each layer programmed independently using JavaScript.
    Thanks again for your prompt attention.

  • I can't fill any text in a layer regardless I select text input command.

    How can I figure out the problem ?
    At the moment, when I try to type some text in the layer, any text is fiiled in layer name.

    When you use the type tool, the text comes in on a separate layer. So, if you open a picture file, that will be identified as the background, and the text will be on a separate layer above this. Once you click on the green check mark, the information will be on the layer with the text and you should see it in the layers palette.
    If you don't see the text content .in the work area, be sure that the font color contrasts with the background. You may have to increase the pt size of the font on the type tool's option bar, as you are not limited to the default values in the drop-down. Highlight the value on display and enter a higher number - try 110 or 140 .

Maybe you are looking for