How do I export character styles as XML?

I have a load of InDesign CS4 files. They contain paragraph styles, but do not appear to have any explicit character styles, though do contain content that is rendered as italic, bold, superscript content etc.
I have associated the paragraph styles with some imported tags and exported them successfully as XML, BUT I can't find a way of grabbing hold of the character styles in the same way.
Very grateful for some guidance on this.
Thank you
Brad

It sounds like your problem is that the character styling has been applied ad hoc - i.e., without character styles.
I would suggest creating all the character styles you need/want first. Then, you can use the Find/Change feature to find all text with a certain styling, and apply the appropriate character style to it. You'll need to think through the order in which you do the various Find/Change operations. For example, you will want to find all cases of Bold + Italic and replace with a Bold + Italic character style before you carry out the process for text that is simply either Bold or Italic.
Once you have the Character Styles applied, you can map them to XML tags just as you did with the Paragraph Styles.

Similar Messages

  • How to apply a Character Style that's already been made in a template document?

    First of all I'd like to thank everyone that helps. I'm a complete beginner at scripting and appreciate all your help.
    I'm basically using GREP expressions to find patterns in a document and apply a Character Style which has already been made. This Character style was not made using script, but just in InDesign when making and setting up the template.
    var myDoc = app.activeDocument;
    //Clear the find/change grep preferences.
    app.findGrepPreferences = NothingEnum.nothing;
    app.changeGrepPreferences = NothingEnum.nothing;
    //Set the find options.
    app.findChangeGrepOptions.includeFootnotes = false;
    app.findChangeGrepOptions.includeHiddenLayers = false;
    app.findChangeGrepOptions.includeLockedLayersForFind = false;
    app.findChangeGrepOptions.includeLockedStoriesForFind = false;
    app.findChangeGrepOptions.includeMasterPages = false;
    //GREP Expression for finding all HEADERS
    app.findGrepPreferences.findWhat = ".+\n";
    //Applying formatting changes to put into All Caps, Bold and changing the font size to 12 pt.
    app.changeGrepPreferences.capitalization = Capitalization.allCaps;
    app.changeGrepPreferences.fontStyle = "Bold";
    app.changeGrepPreferences.pointSize = "12";
    myDoc.changeGrep();
    //Clear the find/change preferences after the search.
    app.findGrepPreferences = NothingEnum.nothing;
    app.changeGrepPreferences = NothingEnum.nothing;
    This is how I currently have it. I will manually define the changes to the text. The problem is, each template uses a different set of fonts and not all of them use Bold e.g. Sabon can use CE Bold.
    I would like to learn how to apply a Character Style and have tried looking around but nothing seems to work.
    Any help would be much appreciated.
    Thanks.

    select the text where u went  and run below  script after change group as per ur template.
    var myDoc = app.activeDocument;
    var mySel = app.selection[0];
    //Clear the find/change grep preferences.
    app.findGrepPreferences = NothingEnum.nothing;
    app.changeGrepPreferences = NothingEnum.nothing;
    //Set the find options.
    app.findChangeGrepOptions.includeFootnotes = false;
    app.findChangeGrepOptions.includeHiddenLayers = false;
    app.findChangeGrepOptions.includeLockedLayersForFind = false;
    app.findChangeGrepOptions.includeLockedStoriesForFind = false;
    app.findChangeGrepOptions.includeMasterPages = false;
    //GREP Expression for finding all HEADERS
    app.findGrepPreferences.findWhat = "role";
    //Applying formatting changes to put into All Caps, Bold and changing the font size to 12 pt.
    //app.changeGrepPreferences.capitalization = Capitalization.allCaps;
    //~ app.changeGrepPreferences.fontStyle = "Bold";
    //~ app.changeGrepPreferences.pointSize = "12";
    app.changeGrepPreferences.appliedCharacterStyle=myDoc.characterStyleGroups.item("Style Group 1").characterStyleGroups.item("Style Group 2").characterStyles.item("Header")// Header is name of character name
    mySel.changeGrep();
    //Clear the find/change preferences after the search.
    app.findGrepPreferences = NothingEnum.nothing;
    app.changeGrepPreferences = NothingEnum.nothing;
    If it's help then click yes
    Mi_D

  • How to effectively use Character Styles

    Hello, I am fairly new to InDesign, but have an extensive background with FrameMaker. I am having trouble figuring out how to best use character styles in ID, because of the difference between it and FM.
    Lets say I have two different body text styles, which use different fonts or different sizes, each of which is saved as a paragraph style.
    In Framemaker, when you go into the Character Style editor, for each value you can select the value "As Is". So if I want to make a Bold character style, I leave the font and size attributes set to "As Is" and I change only the weight attribute to Bold.
    Now, I can select either Body Text 1 or Body Text 2 for the paragraph style and if I want to bold a word, I just highlight that word and select the Bold character style. The text is bolded but everything else that is unique to that paragraph style remains. If I ever need to unbold the word, I can just select it and then select No Style from the Character Style catalog
    But in ID, it looks like you have to define the value for each attribute in the Character Style editor. So I would need to create two separate bold styles, one for each paragraph style, because if I define the font and size, it will switch those  values as well as the weight. And if I need to create a separate Bold Character style for each paragraph style in which the default font is not bolded, what is the advantage of using character styles? Why not simply highlight the text and select the bold value from the Character palette, which then modifies the paragraph style just for those words that you bolded?

    Thanks,
    I was looking at some existing documents, which I think were created by folks who didn't know what they were doing (I am new to this job and all of the previous folks doing what I do are gone - and they clearly did not understand how to properly use styles). All of the fields had values in them, and when I didn't see an "As Is" value, it never occurred to me that I could just highlight the value and delete it to get rid of it.
    When you use a bunch of different Adobe products, even though they  have  fairly similar user interfaces, it is those differences that really get you.....
    Thanks, again

  • How could I export FCE project into XML format?

    Hello,
    I recently decided to upgrade from Final Cut Express to Final Cut Pro X. But I don't seem to be able to export my FCE unfinish projects. That is because FCE  does not export into XML format !!!
    Does anyone knows how to have FCE to generate a XML file? Or to have the FCP file format converted into a XML file format?
    Thanks

    If you are editing in FCE4, then you can open your FCE Project in FCP6 or FCP7 and do the .xml export there. Once you have that .xml file, you need to use the software 7toX to convert the file to FCP-X.
    http://assistedediting.intelligentassistance.com/7toX/
    It should be noted that the conversion of a sequence file to .xml and then .xml to FCP-X may not pass 100% of the information.
    There is information about what is and is not translated here:
    http://assistedediting.intelligentassistance.com/7toX/about.html
    MtD

  • How to create new character styles in Numbers 3.0

    In Numbers 3.0, it is possible to update existing characters styles, but I cannot find how to create a new character style, the + sign in the popup is always inactive when I edit text in a cell. The paragraph style popup has an active +, but it doesn't work for character style.
    Is there any way to create a new character style?

    Guillame,
    You're right about not being able to add styles, and I have not figured out how to modify a predefined character style, other than to Rename or Delete a predefined style. I have added this to my list of things lost.
    Jerry

  • How to apply bold character style with grep

    finding bold characters in a particular paragraph style
    I want to apply a character style
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.string = String.Bold;
    if (app.findGrepPreferences.appliedParagraphStyle == myPar) {
    app.changeGrepPreferences.appliedCharacterStyle = myCar1;
    app.activeDocument.changeGrep();
    app.findGrepPreferences = app.changeGrepPreferences = null;

    Try this,
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.fontStyle = "Bold";
    app.findGrepPreferences.appliedParagraphStyle = "myPar";
    app.changeGrepPreferences.appliedCharacterStyle = "myCar1";
    app.activeDocument.changeGrep();
    app.findGrepPreferences = app.changeGrepPreferences = null;
    Vandy

  • How does one export a style sheet?

    Adobe Frame 12 help says:
    "You can also use style sheets (.css) to manage the styles in the published output. In this case, you can export the current styles to a .css file. You can then open this file in a text or .css editor (such as Adobe Dreamweaver), make changes to the styles in this file and import the file back.
    To export and import the style sheet:
    To export the output styles defined for the current output, click Export . "
    OK, so where is this?
    Nothing I can find on the menus provide this option displaying regular Frame or XML view.
    Also, when I find it, do I need to load the css into Dreamweaver? Shouldn't I be able to use the XML view?

    No Colum, I've since found it. (Actually I found a video by Bernard A. that explained a bit).
    In the "Publish" pod are 5 choices (epub, html, etc) and selecting one highlights a button for settings. Edit settings has TWO tabs, one called Style Mappings which is where the button for Import/Export styles can be found.
    There's a button there for Automap Paragraph Styles which I'm going to experiment with next.
    Thanks for your efforts to solve my huge learning curve.

  • How to apply inmath character style to fraction values

    Hi
    I try to apply inmath style to fraction values in indesign file.
    My code here:
    app.findGrepPreferences = NothingEnum.nothing;
                   app.changeGrepPreferences = NothingEnum.nothing;
                   app.findGrepPreferences.findWhat = myText;
                   app.changeGrepPreferences.appliedCharacterStyle = "Fraction Answers";
       app.changeGrep();             
    But it throws error "Invalid value for set property 'appliedCharacterStyle'
    Thanks
    Sangeetha

    Try this,
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.fontStyle = "Bold";
    app.findGrepPreferences.appliedParagraphStyle = "myPar";
    app.changeGrepPreferences.appliedCharacterStyle = "myCar1";
    app.activeDocument.changeGrep();
    app.findGrepPreferences = app.changeGrepPreferences = null;
    Vandy

  • Create XML Element Tag BasedOn Found Character Style

    Hi,
    Good Day!
    Basically I want to search only for character styles that contains "ntb-", that is why it is hard coded in my searchString variable.
    Although I was able to create XML tag based on selected character style, but it will always add/insert at the end of the parent XML element.
    Can anyone could help me how insert/add that element at the insertion point where the text is found?
    Thanks,
    --elmer
    var myDoc = app.documents[0];
    myDoc.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.POINTS;
    myDoc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.POINTS;
    var charStyles = myDoc.allCharacterStyles;
    var foundStyles = Array();
    var searchString = String();
        searchString = 'ntb-';
    var tempName = String();
    var tempName1 = String();
    for(var i = 1; charStyles.length > i; i++){
       tempName = charStyles[i].name;
       tempName1 = tempName.toLowerCase();
       if(tempName1.indexOf (searchString.toLowerCase()) != -1){
           foundStyles.push (tempName);
    var myDialog = app.dialogs.add({name: "Convert Footnote Character Styles to XML Tags",canCancel:true});
    with (myDialog) {
        with (dialogColumns.add().borderPanels.add()) {
            with (dialogColumns.add()) {
                staticTexts.add({staticLabel: "Character style to search : "});        }
            with (dialogColumns.add()) {
                selCharStyle = dropdowns.add({stringList: foundStyles, selectedIndex: 0, minWidth: 175});
    var dialogShown = myDialog.show();
    while (dialogShown) {
        if (selCharStyle.selectedIndex == 0) {
            alert("Must have at least a character style to search!");
            dialogShown = myDialog.show();
            continue;
        } else {
            insertXMLTags(selCharStyle.stringList[selCharStyle.selectedIndex], selCharStyle.selectedIndex, "0");
            break;
    myDialog.destroy();
    alert("Finished!");
    exit();
    function insertXMLTags(cStyle, cStyleIndex, ip) {
        var myFinds = searchStyle(cStyle, cStyleIndex);
        for (i=myFinds.length - 1; i>=0; i--) {
            var myIP = myFinds[i].texts.item(0).insertionPoints.item(0);
            var myParentXML = myIP.associatedXMLElements[0];
            var myChiidXML = myParentXML.xmlElements.add ( cStyle );
            myChiidXML.contents =  myFinds[i].contents;
            //set the selection
            app.selection = myFinds[i].texts.item(0);
            //remove the selected text
            myFinds[i].texts.item(0).remove();
            Utility Functions         
    function searchStyle(cStyle, cStyleIndex){
        var myFinds;
        // if script version is for Indesign CS2
        if (app.scriptPreferences.version < 5){                                 
            app.findPreferences = NothingEnum.nothing;
            app.changePreferences = NothingEnum.nothing;
            myFinds = myDoc.search(undefined, undefined, undefined, undefined,
            {appliedParagraphStyle: pStyle, appliedCharacterStyle: cStyle});
        // else, for CS3 and CS4
        }else{                                 
            //Clear any existing find/change settings
            app.findTextPreferences = NothingEnum.nothing;
            app.changeTextPreferences = NothingEnum.nothing;
            // set character or paragraph style to search
            if (cStyleIndex != 0){ 
                app.findTextPreferences.appliedCharacterStyle = cStyle;
            //Set the find options.
            app.findChangeTextOptions.caseSensitive = false;
            app.findChangeTextOptions.includeFootnotes = true;
            app.findChangeTextOptions.includeHiddenLayers = false;
            app.findChangeTextOptions.includeLockedLayersForFind = false;
            app.findChangeTextOptions.includeLockedStoriesForFind = false;
            app.findChangeTextOptions.includeMasterPages = false;
            app.findChangeTextOptions.wholeWord = false;                             
            myFinds = myDoc.findText();
        return myFinds;

    Here is a way you can find any field.
    Download the current template.
    Open it in word and go to the line that you are interested in.
    The blanket PO# will be a field. Right click on it and go to properties. You will see the xml element there.
    Hope this answers your question,
    Sandeep Gandhi

  • How to Export an Order Via XML

    How can we "Export an Order Via XML" using OOTB classes as mentioned in ATG Commerce Programming Guide?

    I have set classpath as well, but getting errors.
    C:\ATG\ATG9.1\home\bin>set classpath=%CLASSPATH%;C:\ATG\ATG9.1\home\lib\ojdbc14.jar
    C:\ATG\ATG9.1\home\bin>set classpath=%CLASSPATH%;C:\ATG\ATG9.1\home\lib\_MyModule_slib_sclasses.jar
    C:\ATG\ATG9.1\home\bin>set classpath=%CLASSPATH%;C:\jboss-4.2.3.GA\lib\jboss-common.jar
    C:\ATG\ATG9.1\home\bin>startSQLRepository -m MyModule -repository /atg/commerce/order/OrderRepository orders.xml | ATG
    LogColorizer
    ATG Log Colorizer v1.1 Copyright (c) 2007 Kelly Goetsch - [email protected]
    Application Server: jboss
    The following installed ATG components are being used to launch:
    ATGPlatform version 9.1 installed at C:\ATG\ATG9.1
    JAVA_ARGS: -Djava.security.policy=lib/java.policy -Datg.dynamo.home="." -Datg.dynamo.root=".\.." -Datg.dynamo.display=
    -Djava.protocol.handler.pkgs=atg.net.www.protocol -Djava.naming.factory.url.pkgs=atg.jndi.url -Datg.dynamo.modulepath=".
    \.." -Xms512m -Xmx1024m -Datg.dynamo.server.home="." -XX:MaxPermSize=96m -XX:MaxNewSize=96m -Datg.dynamo.modules=DAS;US
    Cellular;DSS -Datg.dynamo.layers= -Dsun.rmi.dgc.server.gcInterval=3600000
    DYNAMO_MODULES: @@atg/env/Startup.modules@@
    CONFIGPATH: @@atg/env/Startup.configPath@@;.\.\PublishingAgent\deploymentconfig\live\config;..\DAS\config\dtmconfig.jar;
    localconfig;..\DAF\config\dafconfig.jar
    CLASSPATH: .\locallib\;.\lib\launcher.jar;.\locallib\;.\lib\launcher.jar;LASSPATH;C:\ATG\ATG9.1\home\lib\ojdbc14_g.jar;
    C:\ATG\ATG9.1\home\lib\ojdbc14.jar;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\ATG\ATG9.1\home\
    lib\ojdbc14.jar;C:\ATG\ATG9.1\home\lib\_MyModule_slib_sclasses.jar;C:\jboss-4.2.3.GA\lib\jboss-common.jar;C:\jboss-4.2
    .3.GA\server\all\lib\jboss-j2ee.jar;C:\jboss-4.2.3.GA\server\all\lib\jboss-j2ee.jar;C:\ATG\ATG9.1\home\lib\ojdbc14_g.jar
    ;C:\ATG\ATG9.1\home\lib\ojdbc14.jar;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\ATG\ATG9.1\home
    \lib\ojdbc14.jar;C:\ATG\ATG9.1\home\lib\_MyModule_slib_sclasses.jar;C:\jboss-4.2.3.GA\lib\jboss-common.jar;C:\jboss-4.
    2.3.GA\server\all\lib\jboss-j2ee.jar;C:\jboss-4.2.3.GA\server\all\lib\jboss-j2ee.jar;C:\ATG\ATG9.1\MyModule\lib\jax-qn
    ame.jar;C:\ATG\ATG9.1\MyModule\lib\jaxb-xjc.jar;C:\ATG\ATG9.1\MyModule\lib\jaxb-api-2.1.jar;C:\ATG\ATG9.1\MyModule
    \lib\jaxb-impl-2.1.12.jar;C:\ATG\ATG9.1\MyModule\lib\jaxb-libs.jar;C:\ATG\ATG9.1\MyModule\lib\jaxb-impl.jar;C:\ATG\A
    TG9.1\MyModule\lib\jaxb-api.jar;C:\ATG\ATG9.1\MyModule\lib\xercesImpl.jar;C:\ATG\ATG9.1\MyModule\lib\axis.jar;C:\A
    TG\ATG9.1\MyModule\lib\classes.jar;C:\ATG\ATG9.1\MyModule\lib\resources.jar;C:\ATG\ATG9.1\MyModule\lib\commons-bea
    nutils.jar;C:\ATG\ATG9.1\MyModule\lib\commons-codec-1.3.jar;C:\ATG\ATG9.1\MyModule\lib\commons-collections-3.1.jar;C
    :\ATG\ATG9.1\MyModule\lib\commons-digester-1.7.jar;C:\ATG\ATG9.1\MyModule\lib\commons-discovery.jar;C:\ATG\ATG9.1\US
    Cellular\lib\commons-httpclient-3.1.jar;C:\ATG\ATG9.1\MyModule\lib\commons-logging-1.0.4.jar;C:\ATG\ATG9.1\MyModule\
    lib\commons-validator-1.2.0.jar;C:\ATG\ATG9.1\MyModule\lib\jakarta-oro-2.0.8.jar;C:\ATG\ATG9.1\MyModule\lib\jbosssx.
    jar;C:\ATG\ATG9.1\MyModule\lib\jmdns-20.jar;C:\ATG\ATG9.1\MyModule\lib\standard.jarlib\asm-2.2.3.jar;C:\ATG\ATG9.1\U
    SCellular\lib\cxf-2.2.6.jar;C:\ATG\ATG9.1\MyModule\lib\geronimo-activation_1.1_spec-1.0.2.jar;C:\ATG\ATG9.1\MyModule
    \lib\geronimo-annotation_1.0_spec-1.1.1.jar;C:\ATG\ATG9.1\MyModule\lib\geronimo-javamail_1.4_spec-1.6.jar;C:\ATG\ATG9.
    1\MyModule\lib\geronimo-jaxws_2.1_spec-1.0.jar;C:\ATG\ATG9.1\MyModule\lib\geronimo-stax-api_1.0_spec-1.0.1.jar;C:\AT
    G\ATG9.1\MyModule\lib\geronimo-ws-metadata_2.0_spec-1.1.2.jar;C:\ATG\ATG9.1\MyModule\lib\neethi-2.0.4.jar;C:\ATG\ATG
    9.1\MyModule\lib\saaj-api-1.3.jar;C:\ATG\ATG9.1\MyModule\lib\saaj-impl-1.3.2.jar;C:\ATG\ATG9.1\MyModule\lib\wsdl4j
    -1.6.2.jar;C:\ATG\ATG9.1\MyModule\lib\wss4j-1.5.8.jar;C:\ATG\ATG9.1\MyModule\lib\wstx-asl-3.2.9.jar;C:\ATG\ATG9.1\US
    Cellular\lib\XmlSchema-1.4.5.jar;C:\ATG\ATG9.1\MyModule\lib\jxl.jar;C:\ATG\ATG9.1\DCS\PublishingAgent\lib\classes.jar;
    C:\ATG\ATG9.1\DCS\lib\resources.jar;C:\ATG\ATG9.1\DCS\lib\classes.jar;C:\ATG\ATG9.1\PublishingAgent\base\lib\agent.jar;C
    :\ATG\ATG9.1\PublishingAgent\base\lib\classes.jar;C:\ATG\ATG9.1\DSS\lib\resources.jar;C:\ATG\ATG9.1\DSS\lib\classes.jar;
    C:\ATG\ATG9.1\DPS\lib\resources.jar;C:\ATG\ATG9.1\DPS\lib\classes.jar;C:\ATG\ATG9.1\DAF\Search\Index\lib\classes.jar;C:\
    ATG\ATG9.1\DAF\Search\Index\lib\axis.jar;C:\ATG\ATG9.1\DAF\Search\Index\lib\commons-discovery.jar;C:\ATG\ATG9.1\DAF\Sear
    ch\Index\lib\jaxrpc.jar;C:\ATG\ATG9.1\DAF\Search\Index\lib\wsdl4j.jar;C:\ATG\ATG9.1\DAF\Search\Base\lib\classes.jar;C:\A
    TG\ATG9.1\DAF\Search\Base\lib\rmi-stub-classes.jar;C:\ATG\ATG9.1\DAS-UI\lib\uiresources.jar;C:\ATG\ATG9.1\DAS-UI\lib\uic
    lasses.jar;C:\ATG\ATG9.1\DAS-UI\lib\jhall.jar;C:\ATG\ATG9.1\DAS\lib\resources.jar;C:\ATG\ATG9.1\DAS\lib\classes.jar;C:\A
    TG\ATG9.1\DAS\lib\servlet.jar;C:\ATG\ATG9.1\DAS\lib\ice.jar;C:\ATG\ATG9.1\DAS\solid\SolidDriver2.1.jar;C:\ATG\ATG9.1\hom
    e\startDynamo.jar
    PATH: C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\
    Program Files\Support Tools;D:\data\notes;C:\program files\notes;C:\Program Files\ManageSoft\Common;C:\Program Files\Tor
    toiseSVN\bin;C:\jdk1.5.0_16\bin;C:\eclipse-ganymede-atg\plugins\org.apache.ant_1.7.0.v200803061910\bin;C:\Program Files\
    Windows Imaging\;;.\..\DAS\os_specific_files\i486-unknown-win32;.\..\DAS\os_specific_files\i486-unknown-win32\ice
    **** info Wed Jul 27 15:23:25 IST 2011 1311760405899 /DPSLicense atg.service.ServiceResources->dynamoPrin
    tMaxSessions : Only 20 concurrent sessions can be managed with this license
    **** info Wed Jul 27 15:23:25 IST 2011 1311760405909 /DPSLicense atg.service.ServiceResources->dynamoPrin
    tMaxDynamoServers : Only 3 Dynamo server(s) can be used concurrently with this license
    **** info Wed Jul 27 15:23:25 IST 2011 1311760405909 /DPSLicense DPS is licensed to Proquire LLC - Develo
    pment
    **** info Wed Jul 27 15:23:25 IST 2011 1311760405909 /DPSLicense atg.service.ServiceResources->unlimitedL
    icenseMsg : This product is licensed for an unlimited number of CPUs.
    **** info Wed Jul 27 15:23:29 IST 2011 1311760409504 /atg/dynamo/service/jdbc/SDSRepository SQL Repository s
    tartup complete
    **** info Wed Jul 27 15:23:30 IST 2011 1311760410085 /atg/commerce/pricing/priceLists/PriceLists SQL Repo
    sitory startup complete
    **** info Wed Jul 27 15:23:30 IST 2011 1311760410095 /atg/commerce/pricing/Promotions Resolving reference
    to /atg/commerce/catalog/ProductCatalog
    **** Warning Wed Jul 27 15:23:30 IST 2011 1311760410726 DistributorSender No remote servers configured
    **** info Wed Jul 27 15:23:30 IST 2011 1311760410966 /atg/commerce/catalog/ProductCatalog SQL Repository s
    tartup complete
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Error parsing templa
    te: atg.repository.RepositoryException: Your user defined property com.mymodule.security.crypto.CryptoPropertyDescriptor has
    an invalid property-type java.lang.ClassNotFoundException: com.mymodule.security.crypto.CryptoPropertyDescriptor. The deta
    iled error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository atg.repository.R
    epositoryException: Your user defined property com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property
    -type java.lang.ClassNotFoundException: com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
    operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
    com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
    sa.xml.TemplateParser.addDocumentToTemplate(TemplateParser.java:701)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
    sa.xml.TemplateParser.addToTemplate(TemplateParser.java:532)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
    sa.xml.TemplateParser.addToTemplate(TemplateParser.java:421)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
    sa.GSARepository.readXMLFiles(GSARepository.java:6163)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
    sa.GSARepository.initialize(GSARepository.java:5050)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
    sa.GSARepository.initializeTransactionally(GSARepository.java:4954)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
    sa.GSARepository.doStartService(GSARepository.java:4647)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.G
    enericService.startService(GenericService.java:496)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleusNameResolver.startService(NucleusNameResolver.java:1385)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1133)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleusNameResolver.createFromName(NucleusNameResolver.java:787)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleusNameResolver.createFromName(NucleusNameResolver.java:569)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleusNameResolver.createFromName(NucleusNameResolver.java:550)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleusNameResolver.resolveName(NucleusNameResolver.java:394)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleus.resolveName(Nucleus.java:2648)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.G
    enericService.resolveName(GenericService.java:315)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.G
    enericService.resolveName(GenericService.java:367)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleus.<init>(Nucleus.java:937)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleus.<init>(Nucleus.java:695)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleus.startNucleusCheckLicense(Nucleus.java:4194)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
    ucleus.startNucleus(Nucleus.java:4054)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
    sa.xml.TemplateParser.runParser(TemplateParser.java:5452)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
    sa.xml.TemplateParser.main(TemplateParser.java:5072)
    **** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository java.sql.SQLExceptio
    n: java.sql.SQLException: ORA-00942: table or view does not exist
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository [++SQLSelect++]
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository SELECT ORDER_ID,SUB
    MARKET,TOTAL_MRC_AMOUNT,ORDER_OWNER,TAX_SERVICE_FLAG,CREDIT_SERVICE_FLAG,NO_OF_LINES,PROMO_CODE,LOYALTY_ORDER_ID,REWARD_
    TEXT,ORDER_TYPE
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository FROM DCSPPX_ORDER
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository WHERE 1 = 2
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository (no parameters)
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository [--SQLSelect--]
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository The table: "DCSPPX_O
    RDER" does not appear to be defined correctly in the database. Either the table does not exist, the repository does not
    have SELECT permission on it, or the definition of the table is incompatible with the template in use.
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository java.sql.SQLExceptio
    n: java.sql.SQLException: ORA-00942: table or view does not exist
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository [++SQLSelect++]
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository SELECT ORDER_ID,DEP
    OSIT_PER_LINE,MANUAL_REVIEW_FLAG,CAS,CREDIT_CLASS
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository FROM CDEDIT_SERVI
    CE_RESULT
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository WHERE 1 = 2
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository (no parameters)
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository [--SQLSelect--]
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository The table: "CDEDIT_S
    ERVICE_RESULT" does not appear to be defined correctly in the database. Either the table does not exist, the repository
    does not have SELECT permission on it, or the definition of the table is incompatible with the template in use.
    **** Error Wed Jul 27 15:23:49 IST 2011 1311760429112 /atg/commerce/order/OrderRepository java.sql.SQLExceptio
    n: java.sql.SQLException: ORA-00942: table or v

  • Having a problem with character styles in indesign

    I'm having another problem with my style sheets in indesign, I've now got an awful lot of styles in paragraph and character styles. I've created different styles for paragraph justified text and when I go to my style in paragraph styles to use tight text copy, character styles always overides it so it means I have to do  whole lot of extra formatting just to put it right. Does anyone have an idea how I can stop character styles overiding paragraph styles? Thanks very much.

    Perhaps your character styles apply more than you actually want? I.e., rather than just "+Italic" it also applies custom tracking. You should use character styles only to override the stuff you really want to change.
    You can check by calling up the definition for those character styles; the huge "Style Settings" text box lists all the attributes it changes.

  • Break link to Character Style with JS (CS4ME)

    Hi,
    I'm wondering how to break a link to a character style in JS. By break
    link I mean removing the character style but preserving the formatting.
    Given a selected textStyleRange, say, in the UI there are two ways of
    doing this. One is to click "Break link to Style" in the flyout meny of
    the character style palette.
    The other is to right-click and select "Apply character style."
    It's a little unintuitive, because CLICKING on removes overrides,
    but right-clicking and selecting the menu option doesn't.
    So when I saw that, I said to myself aha! Probably:
    myText.appliedCharacterStyle = myCharStyle
    is equivalent to clicking on , while
    myText.applyCharacterStyle(myCharStyle)
    is equivalent to right-clicking on and choosing "Apply character
    style."
    But it isn't.
    They both apply None and remove all formatting.
    So, anyone know how to break a link to character style without removing
    formatting in JS?
    Thanks,
    Ariel

    Thanks Peter. That's interesting. After Shabbos I'll have to try figure
    out how to apply a character style without removing overrides as well.
    It may be a two-step procedure.
    Thanks,
    Ariel

  • Photoshop: Character styles API

    Hello,
    Is there any way how I can access Character styles of a text layer (i.e. bolded out words etc.) via either Extendscript or via com-object - I can't figure it out, can I change only the Layer style itself?
    Thank you very much!

    Like c.pfaffenbichler said, it takes some AM code to do this kind of text-related stuff.
    Make a minor change to the text layer then run this script: http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/apps/LastLogEntry.jsx
    To clean the code up, press Fix.
    You'll get code that looks something like this:
    function ftn1() {
      function cTID(s) { return app.charIDToTypeID(s); };
      function sTID(s) { return app.stringIDToTypeID(s); };
        var desc69 = new ActionDescriptor();
            var ref9 = new ActionReference();
            ref9.putEnumerated( cTID('TxLr'), cTID('Ordn'), cTID('Trgt') );
        desc69.putReference( cTID('null'), ref9 );
            var desc70 = new ActionDescriptor();
            desc70.putString( cTID('Txt '), "This is a test.  This is another test." );
                var desc71 = new ActionDescriptor();
                desc71.putEnumerated( sTID('warpStyle'), sTID('warpStyle'), sTID('warpNone') );
                desc71.putDouble( sTID('warpValue'), 0.000000 );
                desc71.putDouble( sTID('warpPerspective'), 0.000000 );
                desc71.putDouble( sTID('warpPerspectiveOther'), 0.000000 );
                desc71.putEnumerated( sTID('warpRotate'), cTID('Ornt'), cTID('Hrzn') );
            desc70.putObject( sTID('warp'), sTID('warp'), desc71 );
            desc70.putEnumerated( sTID('textGridding'), sTID('textGridding'), cTID('None') );
            desc70.putEnumerated( cTID('Ornt'), cTID('Ornt'), cTID('Hrzn') );
            desc70.putEnumerated( cTID('AntA'), cTID('Annt'), cTID('AnCr') );
                var desc72 = new ActionDescriptor();
                desc72.putUnitDouble( cTID('Left'), cTID('#Pxl'), -0.071411 );
                desc72.putUnitDouble( cTID('Top '), cTID('#Pxl'), -60.264404 );
                desc72.putUnitDouble( cTID('Rght'), cTID('#Pxl'), 999.770142 );
                desc72.putUnitDouble( cTID('Btom'), cTID('#Pxl'), 18.000000 );
            desc70.putObject( sTID('bounds'), sTID('bounds'), desc72 );
                var desc73 = new ActionDescriptor();
                desc73.putUnitDouble( cTID('Left'), cTID('#Pxl'), 0.301224 );
                desc73.putUnitDouble( cTID('Top '), cTID('#Pxl'), -50.937546 );
                desc73.putUnitDouble( cTID('Rght'), cTID('#Pxl'), 997.710938 );
                desc73.putUnitDouble( cTID('Btom'), cTID('#Pxl'), 1.000015 );
            desc70.putObject( sTID('boundingBox'), sTID('boundingBox'), desc73 );
                var list13 = new ActionList();
                    var desc74 = new ActionDescriptor();
                    desc74.putEnumerated( cTID('TEXT'), cTID('TEXT'), cTID('Pnt ') );
                    desc74.putEnumerated( cTID('Ornt'), cTID('Ornt'), cTID('Hrzn') );
                        var desc75 = new ActionDescriptor();
                        desc75.putDouble( sTID('xx'), 1.000000 );
                        desc75.putDouble( sTID('xy'), 0.000000 );
                        desc75.putDouble( sTID('yx'), 0.000000 );
                        desc75.putDouble( sTID('yy'), 1.000000 );
                        desc75.putDouble( sTID('tx'), 0.000000 );
                        desc75.putDouble( sTID('ty'), 0.000000 );
                    desc74.putObject( cTID('Trnf'), cTID('Trnf'), desc75 );
                    desc74.putInteger( sTID('rowCount'), 1 );
                    desc74.putInteger( sTID('columnCount'), 1 );
                    desc74.putBoolean( sTID('rowMajorOrder'), true );
                    desc74.putUnitDouble( sTID('rowGutter'), cTID('#Pxl'), 0.000000 );
                    desc74.putUnitDouble( sTID('columnGutter'), cTID('#Pxl'), 0.000000 );
                    desc74.putUnitDouble( cTID('Spcn'), cTID('#Pxl'), 0.000000 );
                    desc74.putEnumerated( sTID('frameBaselineAlignment'), sTID('frameBaselineAlignment'), sTID('alignByAscent') );
                    desc74.putUnitDouble( sTID('firstBaselineMinimum'), cTID('#Pxl'), 0.000000 );
                        var desc76 = new ActionDescriptor();
                        desc76.putDouble( cTID('Hrzn'), 0.000000 );
                        desc76.putDouble( cTID('Vrtc'), 0.000000 );
                    desc74.putObject( sTID('base'), cTID('Pnt '), desc76 );
                list13.putObject( sTID('textShape'), desc74 );
            desc70.putList( sTID('textShape'), list13 );
                var list14 = new ActionList();
                    var desc77 = new ActionDescriptor();
                    desc77.putInteger( cTID('From'), 0 );
                    desc77.putInteger( cTID('T  '), 15 );
                        var desc78 = new ActionDescriptor();
                        desc78.putBoolean( sTID('styleSheetHasParent'), true );
                        desc78.putUnitDouble( cTID('Sz  '), cTID('#Pxl'), 72.000000 );
                        desc78.putUnitDouble( sTID('impliedFontSize'), cTID('#Pxl'), 72.000000 );
                        desc78.putEnumerated( sTID('digitSet'), sTID('digitSet'), sTID('defaultDigits') );
                        desc78.putUnitDouble( sTID('markYDistFromBaseline'), cTID('#Pxl'), 100.000000 );
                            var desc79 = new ActionDescriptor();
                            desc79.putDouble( cTID('Rd  '), 255.000000 );
                            desc79.putDouble( cTID('Grn '), 0.000000 );
                            desc79.putDouble( cTID('Bl  '), 0.000000 );
                        desc78.putObject( cTID('Clr '), cTID('RGBC'), desc79 );
                            var desc80 = new ActionDescriptor();
                            desc80.putString( sTID('fontPostScriptName'), "MyriadPro-Regular" );
                            desc80.putString( cTID('FntN'), "Myriad Pro" );
                            desc80.putString( cTID('FntS'), "Regular" );
                            desc80.putInteger( cTID('Scrp'), 0 );
                            desc80.putInteger( cTID('FntT'), 0 );
                            desc80.putUnitDouble( cTID('Sz  '), cTID('#Pxl'), 12.000000 );
                            desc80.putUnitDouble( sTID('impliedFontSize'), cTID('#Pxl'), 12.000000 );
                            desc80.putDouble( cTID('HrzS'), 100.000000 );
                            desc80.putDouble( cTID('VrtS'), 100.000000 );
                            desc80.putBoolean( sTID('syntheticBold'), false );
                            desc80.putBoolean( sTID('syntheticItalic'), false );
                            desc80.putBoolean( sTID('autoLeading'), true );
                            desc80.putInteger( cTID('Trck'), 0 );
                            desc80.putUnitDouble( cTID('Bsln'), cTID('#Pxl'), 0.000000 );
                            desc80.putUnitDouble( sTID('impliedBaselineShift'), cTID('#Pxl'), 0.000000 );
                            desc80.putDouble( sTID('characterRotation'), 0.000000 );
                            desc80.putEnumerated( cTID('AtKr'), cTID('AtKr'), sTID('metricsKern') );
                            desc80.putEnumerated( sTID('fontCaps'), sTID('fontCaps'), cTID('Nrml') );
                            desc80.putEnumerated( sTID('digitSet'), sTID('digitSet'), sTID('defaultDigits') );
                            desc80.putEnumerated( sTID('dirOverride'), sTID('dirOverride'), sTID('dirOverrideDefault') );
                            desc80.putEnumerated( sTID('kashidas'), sTID('kashidas'), sTID('kashidaDefault') );
                            desc80.putEnumerated( sTID('diacVPos'), sTID('diacVPos'), sTID('diacVPosOpenType') );
                            desc80.putUnitDouble( sTID('diacXOffset'), cTID('#Pxl'), 0.000000 );
                            desc80.putUnitDouble( sTID('diacYOffset'), cTID('#Pxl'), 0.000000 );
                            desc80.putUnitDouble( sTID('markYDistFromBaseline'), cTID('#Pxl'), 100.000000 );
                            desc80.putEnumerated( sTID('baseline'), sTID('baseline'), cTID('Nrml') );
                            desc80.putEnumerated( sTID('otbaseline'), sTID('otbaseline'), cTID('Nrml') );
                            desc80.putEnumerated( sTID('strikethrough'), sTID('strikethrough'), sTID('strikethroughOff') );
                            desc80.putEnumerated( cTID('Undl'), cTID('Undl'), sTID('underlineOff') );
                            desc80.putUnitDouble( sTID('underlineOffset'), cTID('#Pxl'), 0.000000 );
                            desc80.putBoolean( sTID('ligature'), true );
                            desc80.putBoolean( sTID('altligature'), false );
                            desc80.putBoolean( sTID('contextualLigatures'), false );
                            desc80.putBoolean( sTID('alternateLigatures'), false );
                            desc80.putBoolean( sTID('oldStyle'), false );
                            desc80.putBoolean( sTID('fractions'), false );
                            desc80.putBoolean( sTID('ordinals'), false );
                            desc80.putBoolean( sTID('swash'), false );
                            desc80.putBoolean( sTID('titling'), false );
                            desc80.putBoolean( sTID('connectionForms'), false );
                            desc80.putBoolean( sTID('stylisticAlternates'), false );
                            desc80.putBoolean( sTID('ornaments'), false );
                            desc80.putBoolean( sTID('justificationAlternates'), false );
                            desc80.putEnumerated( sTID('figureStyle'), sTID('figureStyle'), cTID('Nrml') );
                            desc80.putBoolean( sTID('proportionalMetrics'), false );
                            desc80.putBoolean( sTID('kana'), false );
                            desc80.putBoolean( sTID('italics'), false );
                            desc80.putBoolean( sTID('ruby'), false );
                            desc80.putEnumerated( sTID('baselineDirection'), sTID('baselineDirection'), sTID('rotated') );
                            desc80.putEnumerated( sTID('textLanguage'), sTID('textLanguage'), sTID('englishLanguage') );
                            desc80.putEnumerated( sTID('japaneseAlternate'), sTID('japaneseAlternate'), sTID('defaultForm') );
                            desc80.putDouble( sTID('mojiZume'), 0.000000 );
                            desc80.putEnumerated( sTID('gridAlignment'), sTID('gridAlignment'), sTID('roman') );
                            desc80.putBoolean( sTID('enableWariChu'), false );
                            desc80.putInteger( sTID('wariChuCount'), 2 );
                            desc80.putInteger( sTID('wariChuLineGap'), 0 );
                            desc80.putDouble( sTID('wariChuScale'), 0.500000 );
                            desc80.putInteger( sTID('wariChuWidow'), 2 );
                            desc80.putInteger( sTID('wariChuOrphan'), 2 );
                            desc80.putEnumerated( sTID('wariChuJustification'), sTID('wariChuJustification'), sTID('wariChuAutoJustify') );
                            desc80.putInteger( sTID('tcyUpDown'), 0 );
                            desc80.putInteger( sTID('tcyLeftRight'), 0 );
                            desc80.putDouble( sTID('leftAki'), -1.000000 );
                            desc80.putDouble( sTID('rightAki'), -1.000000 );
                            desc80.putInteger( sTID('jiDori'), 0 );
                            desc80.putBoolean( sTID('noBreak'), false );
                                var desc81 = new ActionDescriptor();
                                desc81.putDouble( cTID('Rd  '), 0.000000 );
                                desc81.putDouble( cTID('Grn '), 0.000000 );
                                desc81.putDouble( cTID('Bl  '), 0.000000 );
                            desc80.putObject( cTID('Clr '), cTID('RGBC'), desc81 );
                                var desc82 = new ActionDescriptor();
                                desc82.putDouble( cTID('Rd  '), 0.000000 );
                                desc82.putDouble( cTID('Grn '), 0.000000 );
                                desc82.putDouble( cTID('Bl  '), 0.000000 );
                            desc80.putObject( sTID('strokeColor'), cTID('RGBC'), desc82 );
                            desc80.putBoolean( cTID('Fl  '), true );
                            desc80.putBoolean( cTID('Strk'), false );
                            desc80.putBoolean( sTID('fillFirst'), true );
                            desc80.putBoolean( sTID('fillOverPrint'), false );
                            desc80.putBoolean( sTID('strokeOverPrint'), false );
                            desc80.putEnumerated( sTID('lineCap'), sTID('lineCap'), sTID('buttCap') );
                            desc80.putEnumerated( sTID('lineJoin'), sTID('lineJoin'), sTID('miterJoin') );
                            desc80.putUnitDouble( sTID('lineWidth'), cTID('#Pxl'), 1.000000 );
                            desc80.putUnitDouble( sTID('miterLimit'), cTID('#Pxl'), 4.000000 );
                            desc80.putDouble( sTID('lineDashoffset'), 0.000000 );
                        desc78.putObject( sTID('baseParentStyle'), cTID('TxtS'), desc80 );
                    desc77.putObject( cTID('TxtS'), cTID('TxtS'), desc78 );
                list14.putObject( cTID('Txtt'), desc77 );
                    var desc83 = new ActionDescriptor();
                    desc83.putInteger( cTID('From'), 15 );
                    desc83.putInteger( cTID('T  '), 17 );
                        var desc84 = new ActionDescriptor();
                        desc84.putBoolean( sTID('styleSheetHasParent'), true );
                        desc84.putUnitDouble( cTID('Sz  '), cTID('#Pxl'), 72.000000 );
                        desc84.putUnitDouble( sTID('impliedFontSize'), cTID('#Pxl'), 72.000000 );
                        desc84.putEnumerated( sTID('digitSet'), sTID('digitSet'), sTID('defaultDigits') );
                        desc84.putUnitDouble( sTID('markYDistFromBaseline'), cTID('#Pxl'), 100.000000 );
                    desc83.putObject( cTID('TxtS'), cTID('TxtS'), desc84 );
                list14.putObject( cTID('Txtt'), desc83 );
                    var desc85 = new ActionDescriptor();
                    desc85.putInteger( cTID('From'), 17 );
                    desc85.putInteger( cTID('T  '), 37 );
                        var desc86 = new ActionDescriptor();
                        desc86.putBoolean( sTID('styleSheetHasParent'), true );
                        desc86.putString( sTID('fontPostScriptName'), "MyriadPro-BoldIt" );
                        desc86.putString( cTID('FntN'), "Myriad Pro" );
                        desc86.putString( cTID('FntS'), "Bold Italic" );
                        desc86.putInteger( cTID('Scrp'), 0 );
                        desc86.putInteger( cTID('FntT'), 0 );
                        desc86.putUnitDouble( cTID('Sz  '), cTID('#Pxl'), 72.000000 );
                        desc86.putUnitDouble( sTID('impliedFontSize'), cTID('#Pxl'), 72.000000 );
                        desc86.putEnumerated( sTID('digitSet'), sTID('digitSet'), sTID('defaultDigits') );
                        desc86.putUnitDouble( sTID('markYDistFromBaseline'), cTID('#Pxl'), 100.000000 );
                    desc85.putObject( cTID('TxtS'), cTID('TxtS'), desc86 );
                list14.putObject( cTID('Txtt'), desc85 );
                    var desc87 = new ActionDescriptor();
                    desc87.putInteger( cTID('From'), 37 );
                    desc87.putInteger( cTID('T  '), 39 );
                        var desc88 = new ActionDescriptor();
                        desc88.putBoolean( sTID('styleSheetHasParent'), true );
                        desc88.putUnitDouble( cTID('Sz  '), cTID('#Pxl'), 72.000000 );
                        desc88.putUnitDouble( sTID('impliedFontSize'), cTID('#Pxl'), 72.000000 );
                        desc88.putEnumerated( sTID('digitSet'), sTID('digitSet'), sTID('defaultDigits') );
                        desc88.putUnitDouble( sTID('markYDistFromBaseline'), cTID('#Pxl'), 100.000000 );
                    desc87.putObject( cTID('TxtS'), cTID('TxtS'), desc88 );
                list14.putObject( cTID('Txtt'), desc87 );
            desc70.putList( cTID('Txtt'), list14 );
                var list15 = new ActionList();
                    var desc89 = new ActionDescriptor();
                    desc89.putInteger( cTID('From'), 0 );
                    desc89.putInteger( cTID('T  '), 39 );
                        var desc90 = new ActionDescriptor();
                        desc90.putBoolean( sTID('styleSheetHasParent'), true );
                        desc90.putEnumerated( cTID('Algn'), cTID('Alg '), cTID('Left') );
                        desc90.putUnitDouble( sTID('firstLineIndent'), cTID('#Pxl'), 0.000000 );
                        desc90.putUnitDouble( sTID('impliedFirstLineIndent'), cTID('#Pxl'), 0.000000 );
                        desc90.putUnitDouble( sTID('startIndent'), cTID('#Pxl'), 0.000000 );
                        desc90.putUnitDouble( sTID('impliedStartIndent'), cTID('#Pxl'), 0.000000 );
                        desc90.putUnitDouble( sTID('endIndent'), cTID('#Pxl'), 0.000000 );
                        desc90.putUnitDouble( sTID('impliedEndIndent'), cTID('#Pxl'), 0.000000 );
                        desc90.putUnitDouble( sTID('spaceBefore'), cTID('#Pxl'), 0.000000 );
                        desc90.putUnitDouble( sTID('impliedSpaceBefore'), cTID('#Pxl'), 0.000000 );
                        desc90.putUnitDouble( sTID('spaceAfter'), cTID('#Pxl'), 0.000000 );
                        desc90.putUnitDouble( sTID('impliedSpaceAfter'), cTID('#Pxl'), 0.000000 );
                        desc90.putInteger( sTID('dropCapMultiplier'), 1 );
                        desc90.putDouble( sTID('autoLeadingPercentage'), 1.200000 );
                        desc90.putEnumerated( sTID('leadingType'), sTID('leadingType'), sTID('leadingBelow') );
                        desc90.putEnumerated( sTID('directionType'), sTID('directionType'), sTID('dirLeftToRight') );
                        desc90.putEnumerated( sTID('kashidaWidthType'), sTID('kashidaWidthType'), sTID('kashidaWidthMedium') );
                        desc90.putEnumerated( sTID('justificationMethodType'), sTID('justificationMethodType'), sTID('justifMethodAutomatic') );
                        desc90.putBoolean( sTID('hyphenate'), true );
                        desc90.putInteger( sTID('hyphenateWordSize'), 6 );
                        desc90.putInteger( sTID('hyphenatePreLength'), 2 );
                        desc90.putInteger( sTID('hyphenatePostLength'), 2 );
                        desc90.putInteger( sTID('hyphenateLimit'), 0 );
                        desc90.putDouble( sTID('hyphenationZone'), 36.000000 );
                        desc90.putBoolean( sTID('hyphenateCapitalized'), true );
                        desc90.putDouble( sTID('hyphenationPreference'), 0.500000 );
                        desc90.putDouble( sTID('justificationWordMinimum'), 0.800000 );
                        desc90.putDouble( sTID('justificationWordDesired'), 1.000000 );
                        desc90.putDouble( sTID('justificationWordMaximum'), 1.330000 );
                        desc90.putDouble( sTID('justificationLetterMinimum'), 0.000000 );
                        desc90.putDouble( sTID('justificationLetterDesired'), 0.000000 );
                        desc90.putDouble( sTID('justificationLetterMaximum'), 0.000000 );
                        desc90.putDouble( sTID('justificationGlyphMinimum'), 1.000000 );
                        desc90.putDouble( sTID('justificationGlyphDesired'), 1.000000 );
                        desc90.putDouble( sTID('justificationGlyphMaximum'), 1.000000 );
                        desc90.putEnumerated( sTID('singleWordJustification'), cTID('Alg '), cTID('JstA') );
                        desc90.putBoolean( sTID('hangingRoman'), false );
                        desc90.putInteger( sTID('autoTCY'), 0 );
                        desc90.putBoolean( sTID('keepTogether'), true );
                        desc90.putEnumerated( sTID('burasagari'), sTID('burasagari'), sTID('burasagariNone') );
                        desc90.putEnumerated( sTID('preferredKinsokuOrder'), sTID('preferredKinsokuOrder'), sTID('pushIn') );
                        desc90.putBoolean( sTID('kurikaeshiMojiShori'), false );
                        desc90.putBoolean( sTID('textEveryLineComposer'), false );
                        desc90.putDouble( sTID('defaultTabWidth'), 36.000000 );
                            var desc91 = new ActionDescriptor();
                            desc91.putString( sTID('fontPostScriptName'), "MyriadPro-Regular" );
                            desc91.putString( cTID('FntN'), "Myriad Pro" );
                            desc91.putString( cTID('FntS'), "Regular" );
                            desc91.putInteger( cTID('Scrp'), 0 );
                            desc91.putInteger( cTID('FntT'), 0 );
                            desc91.putUnitDouble( cTID('Sz  '), cTID('#Pxl'), 12.000000 );
                            desc91.putDouble( cTID('HrzS'), 100.000000 );
                            desc91.putDouble( cTID('VrtS'), 100.000000 );
                            desc91.putBoolean( sTID('syntheticBold'), false );
                            desc91.putBoolean( sTID('syntheticItalic'), false );
                            desc91.putBoolean( sTID('autoLeading'), true );
                            desc91.putInteger( cTID('Trck'), 0 );
                            desc91.putUnitDouble( cTID('Bsln'), cTID('#Pxl'), 0.000000 );
                            desc91.putDouble( sTID('characterRotation'), 0.000000 );
                            desc91.putEnumerated( cTID('AtKr'), cTID('AtKr'), sTID('metricsKern') );
                            desc91.putEnumerated( sTID('fontCaps'), sTID('fontCaps'), cTID('Nrml') );
                            desc91.putEnumerated( sTID('digitSet'), sTID('digitSet'), sTID('arabicDigits') );
                            desc91.putEnumerated( sTID('kashidas'), sTID('kashidas'), sTID('kashidaDefault') );
                            desc91.putEnumerated( sTID('diacVPos'), sTID('diacVPos'), sTID('diacVPosOpenType') );
                            desc91.putUnitDouble( sTID('diacXOffset'), cTID('#Pxl'), 0.000000 );
                            desc91.putUnitDouble( sTID('diacYOffset'), cTID('#Pxl'), 0.000000 );
                            desc91.putUnitDouble( sTID('markYDistFromBaseline'), cTID('#Pxl'), 0.000000 );
                            desc91.putEnumerated( sTID('baseline'), sTID('baseline'), cTID('Nrml') );
                            desc91.putEnumerated( sTID('strikethrough'), sTID('strikethrough'), sTID('strikethroughOff') );
                            desc91.putEnumerated( cTID('Undl'), cTID('Undl'), sTID('underlineOff') );
                            desc91.putBoolean( sTID('ligature'), true );
                            desc91.putBoolean( sTID('altligature'), false );
                            desc91.putBoolean( sTID('contextualLigatures'), true );
                            desc91.putBoolean( sTID('alternateLigatures'), false );
                            desc91.putBoolean( sTID('oldStyle'), false );
                            desc91.putBoolean( sTID('fractions'), false );
                            desc91.putBoolean( sTID('ordinals'), false );
                            desc91.putBoolean( sTID('swash'), false );
                            desc91.putBoolean( sTID('titling'), false );
                            desc91.putBoolean( sTID('connectionForms'), false );
                            desc91.putBoolean( sTID('stylisticAlternates'), false );
                            desc91.putBoolean( sTID('ornaments'), false );
                            desc91.putEnumerated( sTID('figureStyle'), sTID('figureStyle'), cTID('Nrml') );
                            desc91.putEnumerated( sTID('baselineDirection'), sTID('baselineDirection'), sTID('withStream') );
                            desc91.putEnumerated( sTID('textLanguage'), sTID('textLanguage'), sTID('englishLanguage') );
                                var desc92 = new ActionDescriptor();
                                desc92.putDouble( cTID('Rd  '), 0.000000 );
                                desc92.putDouble( cTID('Grn '), 0.000000 );
                                desc92.putDouble( cTID('Bl  '), 0.000000 );
                            desc91.putObject( cTID('Clr '), cTID('RGBC'), desc92 );
                                var desc93 = new ActionDescriptor();
                                desc93.putDouble( cTID('Rd  '), 0.000000 );
                                desc93.putDouble( cTID('Grn '), 0.000000 );
                                desc93.putDouble( cTID('Bl  '), 0.000000 );
                            desc91.putObject( sTID('strokeColor'), cTID('RGBC'), desc93 );
                        desc90.putObject( sTID('defaultStyle'), cTID('TxtS'), desc91 );
                    desc89.putObject( sTID('paragraphStyle'), sTID('paragraphStyle'), desc90 );
                list15.putObject( sTID('paragraphStyleRange'), desc89 );
            desc70.putList( sTID('paragraphStyleRange'), list15 );
                var list16 = new ActionList();
            desc70.putList( sTID('kerningRange'), list16 );
        desc69.putObject( cTID('T  '), cTID('TxLr'), desc70 );
        executeAction( cTID('setd'), desc69, DialogModes.NO );
    This code describes how a Text Layer ActionDescriptor is laid out. It has one section of text that is red and another section that is bold-italic so there are two style ranges.
    The code to get the Text Layer descriptor is this simple:
    function getLayerDescriptor() {
      var ref = new ActionReference();
      ref.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
      return executeActionGet(ref)
    This bit of code assumes that the document and layer are active/selected. But once you have it, the previous block of code shows you how to go in and get the info that you need.
    There is also these bits of code that mucks around with Text/Style Ranges:
    http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/xlib/Text.jsx
    http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/xlib/TextTest.jsx
    In other words, futzing around with text styles is not a pretty thing in PS/JS. InDesign has far better Text APIs.

  • Inserting HTML tag for character style

    I want to be able to use the <DEL> HTML tag around some text:
    <p>Regular Price <del>$395</del>  Today $95</p>
    So, it should look like this:
    Regular Price $395 Today $95
    This works reliably in Dreamweaver (both preview and in various browsers). It also works on this forum page! But I can't get it to work in Muse.
    Here is my test site:
    http://musetest-dec152012.businesscatalyst.com/index.html
    I followed the instructions here:
    http://forums.adobe.com/message/4819276#4819276
    This shows how to add a scroll box using HTML. That works on the test site. I then modified the contents to add <DEL> to the second word and it isn't shown. [I also added <STRONG> to the sixth word and it doesn't show either.]
    I followed the instructions here:
    http://forums.adobe.com/message/4399108#4399108
    This shows how to use a character style. The <MARK> style seems to work, but the <STRONG> style doesn't show up in the browser. Any rate, there is no way I can find to add my own tag and the <DEL> tag is not one of those in the pull down list.

    Iain --
    Muse overrides the default styling for the 'del' and 'ins' tags. If you want to use these tags in custom HTML, and have styling applied to them, you'll have to specify the styling you want with inline CSS, like so:
    <p>Regular Price <del style="text-decoration: line-through">$395</del>  Today $95</p>

  • Save as SVG, with character styles included as CSS classes? (CC)

    Hi, I know that
    a) Character styles in Illustrator CC are saved as CSS classes in the CSS properties menu, with appropriate style info;
    b) These classes can be exported to a CSS file from the CSS properties manual;
    c) Graphic styles can also be saved as CSS classes; but
    d) When saving to SVG (with Style Elements option) the graphic style classes are included in the SVG code, but NOT the character style classes. Instead, it uses classes like ".st0", ".st1", etc., which separate each styled attribute (font-family, size, etc.) into its own class.
    Is there any way around this problem, short of extensively editing the svg code by hand later? The end result we're looking for is an SVG where text has classes assigned, based on character styles.  (Ideally we'd then link to an external style sheet in order to modify based on the end use of the SVG. So for example a graphic with .textBold and .textRegular, where those classes are later assigned different values based on the delivery device.)
    Has anyone else dealt with this issue?
    Thanks!

    Hi Ianmcarey,
    Thanks for the detailed Explanation. We will investigate this Requirement of Exporting Character style classes in the SVG code.
    Thanks and Regards,
    Mohit Gupta.

Maybe you are looking for

  • Audio tracks silent

    My project's audio tracks have become silent except the comments track. How to restore? Thanks in advance. (Première Elements 12)

  • Connect laptop to tv with sound

    Hi! I have a HP Pavilion dv5-2129wm. I want to watch videos from my laptop to my tv. My tv has hdmi, vga, and audio outputs. What cords do I need? Thank you!

  • Jpanel.getHeight() or getWidth returning 0?

    I am not sure why they are doing that. I initially set the size of the panel to a specific height and width, wouldn't get height and get width return that height or width? My code is below... gameWindow()           super();           JButton button =

  • Troubles using Flash on Mac OSX

    Operating System:  Mac OSx 10.5.8 Web Browser:  Firefox 16.0.2 Flash Player Version:  10.3.183.90 It seems to me I have the latest available flash player version for my operating system but I am still unable to view certain videos or strems. When I a

  • Right Click on Button

    Hi! I want to make an information on a button with a right click. Is this possible to show a box after a right click? The other possibility is to create a new view like a pop-up with information. Thank you, Steffen