[Basic Paragraph] style name change to NormalParagraphStyle?

i m trying to edit existing paragraph style. i was do it through kEditTextStyleCmdBoss. My problem is : As the command is process the name of [Basic Paragraph] style is changed to NormalParagraphStyle and it is now editable. How i can make its name field again not changable(i.e. preserve its original property)?
Regards
Kannu

Hi,
Have you some solution?
Best regards:
Karoly

Similar Messages

  • Script to duplicate Basic Paragraph style, then change character point size

    I'm looking to create a script that will create a cascade of paragraph styles based on the [Basic Paragraph] style settings. My goal is for each new paragraph style's character point size to be a percentage of the original [Basic Paragraph]'s. So if [Basic Paragraph] is 100% (character point size 10pt), the script would create a paragraph style named '120%' that has a character point size of 12pt. Then 133%, 140%, so on and on. I modified a script found on this forum to generate those new styles, but I don't know how to create them to be basedOn the [Basic Paragraph]. Any help would be very much appreciated, thanks in advance.
    current script:
    var doc = app.activeDocument,  
        pstyle = ["100%", "120%", "133%" ];  
    for(var i =0;i<pstyle.length;i++)  
            if(pstyle[i] == "100%") 
                doc.paragraphStyles.add({name:pstyle[i], appliedFont:"Stag", pointSize:10});              
            else if(pstyle[i] == "120%") 
                doc.paragraphStyles.add({name:pstyle[i], appliedFont:"Stag", pointSize:10*1.2})              
            else if(pstyle[i] == "133%") 
                doc.paragraphStyles.add({name:pstyle[i], appliedFont:"Stag", pointSize:10*1.33333})              

    Try this,
    var doc = app.activeDocument, 
        pstyle = ["100%", "120%", "133%" ]; 
    for(var i =0;i<pstyle.length;i++) 
            if(pstyle[i] == "100%")
                doc.paragraphStyles.add({name:pstyle[i], basedOn: doc.paragraphStyles[1], appliedFont:"Minion Pro", pointSize:10});             
            else if(pstyle[i] == "120%")
                doc.paragraphStyles.add({name:pstyle[i], basedOn: doc.paragraphStyles[1], appliedFont:"Minion Pro", pointSize:10*12})             
            else if(pstyle[i] == "133%")
                doc.paragraphStyles.add({name:pstyle[i], basedOn: doc.paragraphStyles[1], appliedFont:"Minion Pro", pointSize:10*1.33333})             
    Vandy

  • [JS CS3] Find/Change "[Basic Paragraph]" style

    I'm trying to find all occurances of the [Basic Paragraph] style and replace them with [No Paragraph Style]. I'm using:
    app.findTextPreferences.appliedParagraphStyle = "[Basic Paragraph Style]";
    app.changeTextPreferences.appliedParagraphStyle = "[No Paragraph Style]";
    I get the message "Invalid value for set property 'appliedParagraphStyle'. Expected String, ParagraphStyle or NothingEnum enumerator, but received "[Basic Paragraph Style]"."
    I've tried every combination of brackets, no brackets, quotes, no quotes, etc. It doesn't seem like this can be scripted, even though it can be done via find/change in InDesign. Am I banging my head against the wall? Does anyone know if this can be done?

    "[Basic Paragraph]" as shown in the code below doesn't work either. (the word "Style" actually snuck in as I was trying different variations. But no combination seems to work.
    If anyone knows that [Basic Paragraph] can or cannot be accessed via scripting, I'd like to know. Thanks.
    app.findTextPreferences.appliedParagraphStyle = "[Basic Paragraph]";
    app.changeTextPreferences.appliedParagraphStyle = "[No Paragraph Style]";

  • Why can't I define bullet paragraph in Basic Paragraph style?

    I would like to set up my Basic Paragraph style so that I can quickly apply bullets to individual paragraphs - using MY preferred indents - without having to create a new style for the bullet paragraphs. I tried changing the settings of the Basic Paragraph style, with no documents open, but it doesn't seem to want to accept my choice of indents. First I selected bullets and set an indent, but then the whole paragraph defaults to bullets. When I switch the bullet setting back to "none" the only thing that it keeps is the last setting I chose for tabs. (Which simultaneously changes the default tab setting for all paragraphs.) But when I create a new doct and start a bullet paragraph, the indents always default to .25/-.25, and any tab setting LESS than .25 results in the first line indenting to the tab setting, but the rest of the paragraph indenting to .25. There seems to be no way to change the default indent for bullets without creating a new paragraph style. And usually I'm fine with that. But I thought I would like to have a quick default using the Basic Paragraph style. Am I missing something or is this just not possible?
    Here is a visual/verbal screenshot to help explain:

    Let's see if I understand this differently from the others. You want to apply bullets manually from time to time without having to select a new style, you want to do this by pressing the bulleted list button in the Control panel, and you want settings for tabs and indents other than the default. Is that correct?
    As far as I can tell there is no way currently to do this. You cannot set up the parameters for bullets unless the text cursor is active or you are defining a style, so there is no way to set up new defaults. You don't want to set up parameteres everytime you need a bullet, so, either you type the bullets manually, tab and insert an indent to here character, which is actually a lot more work, or you go ahead and set up the style. You can access the style list in the dropdown on the Control panel, or you can add a keyboard shortcut to give you quick access, or hit Ctrl (Cmd on Mac) + Enter to access Quick apply and start typing the name of the style (almost as fast as a keyboard shortcut).

  • [Basic Paragraph] style behaviour upon copy/paste

    Hi,
    we just get started changing from Quark to InDesign, and our lead layout-producer is not so crazy about style sheets, so everything she creates is using the [Basic Paragraph] Style.
    A by her created libary now contains groups of text objects in Basic Paragraph with format changes +
    When I use these groups, or copy and paste from another document, why does InDesign keep the changes like fontsize or -color, but does change the font?
    My basic paragraph does use another font, so its quite annoying INDD keep the changes, but keep change the font.
    What can I do to prevent INDD from changing the font?

    So, i made this beauuutiful thingy for a test. It looks disgusting, i know. The point is that it uses 4 fonts and different modifications.
    If I get you right, to prepare a "good" document, our layout-producer should clogg our documents with different paragraph-styles not to use the Basic? Sure, she can convert it into paths, but different collegues have to translate this stuff later so that isnt an option.
    Maybe she can "design" things like that in Illu, giving us an AI to use.
    I made an irritating discovery:
    As I built this thing with Futura as my Basicparagraph-font, i dragged it into a libary, closed every doc to change my default-paragraph-style to another font to see what happens. I set up a empty doc and dragged it back in again – no changes at all. I was surprised. Its in the basic, it has a +, and if i click on basic it changes to GillSans, if i alt+click the modifications (like the colors) turn to black… – this is what i was looking for :-)
    But why with my other test-object. Im nearly in closing time here, so i will upload an image tomorrow, but the only variable that haved changed to my second try minutes ago:
    – the objects were converted using Q2ID (Markzware)
    – the group just contained one (but another) font
    Maybe theres the problem somewhere.

  • [svn] 4368: Style name change: contentColor -- contentBackgroundColor.

    Revision: 4368
    Author: [email protected]
    Date: 2008-12-19 16:18:43 -0800 (Fri, 19 Dec 2008)
    Log Message:
    Style name change: contentColor --> contentBackgroundColor.
    QE Notes: Tests using contentColor need to be updated
    Doc Notes: None
    Bugs: ---
    Reviewer: ---
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/defaults.css
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ItemRenderer.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultItemRenderer.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxListSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxTextAreaSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxTextInputSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/SparkSkin.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/SparkColorStyles.as

    Revision: 4368
    Author: [email protected]
    Date: 2008-12-19 16:18:43 -0800 (Fri, 19 Dec 2008)
    Log Message:
    Style name change: contentColor --> contentBackgroundColor.
    QE Notes: Tests using contentColor need to be updated
    Doc Notes: None
    Bugs: ---
    Reviewer: ---
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/defaults.css
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ItemRenderer.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultItemRenderer.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxListSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxTextAreaSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxTextInputSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/SparkSkin.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/SparkColorStyles.as

  • How to find paragraphs by using paragraph style name?

        How to get the Paragraph style UIDRef from paragraph style name.
    To find the paragraphs using Paragraph style i want UIDRef of paragraph style.Can some one help me..,

    IDocument *doc = GetExecutionContextSession()->GetActiveContext()->GetContextDocument();
    UIDRef ws = doc->GetDocWorkSpace();
    InterfacePtr<IStyleGroupManager> paraStyleNameTable(ws, IID_IPARASTYLEGROUPMANAGER);
    PMString styleName("someStyle");
    UID paraStyleUID = paraStyleNameTable->FindByName(styleName);
    if(paraStyleUID != kInvalidUID)
         //We found the style
         UIDRef styleRef(doc->GetDataBase(), paraStyleUID);

  • I'm having problems with paragraph style. It remains last style even if I aplply basic paragraph style

    Paragraph style is not working properly in either two licences if got for CC InDesign 2014.2
    Styles do not apply correctly, it remains last style applied even if I aplply basic paragraph style.
    Is anybody having the same problem? Do you have any explanation or solution for it? Is there any spanish chat or forum?
    I appreciate your quick answer

    There is a Spanish forum here: Foro en español. Is there a character style applied to the text?

  • How to export RTF with paragraph style names?

    Anybody can help me "how to export RTF with paragraph style names?"
    Thank you

    It's not something that's natively done with Indesign.
    However it's possible that it might be able to be scripted.
    Check the scripting forum
    http://forums.adobe.com/community/indesign/indesign_scripting

  • Changing Paragraph Style Names

    I asked this question about a month ago, but I did't really ask it right.
    I am bringing documents from InDesign to InDesign6. In the process, we are changing style names to make things future compabile by eleminating all spaces. periods, dashes, etc.
    So, for example, Heading 1 becomes Heading_1, while Page No. - Left becomes PageNo_Left, etc. Easy enough to do for one or two documents by hand, but I have literally hunders of documents that are going to need this.
    So, I'm looking to write a script to more or less automate this process. I think I need something like:
         app.documents[0].paragraphStyle.item("Heading 1").name = "Heading_1"
         app.documents[0].paragraphStyle.item(Page No. - Left).name = "PageNo_Left"
         etc.
    Am I headed in the right direction? Any advice would be greatly appreciated.

    Figured it out. Script is:
    app.activeDocument.paragraphStyles.item("Heading 1").name = "Heading_1"
    app.activeDocument.paragraphStyles.item("Page No. - Left").name = "PageNo_Left"

  • Extract paragraph style name with formating

    All
    kindly help me How to extract ParagraphStyle name with formating to Sample.txt:
    EG:
    Style Name: "Body"
    Font = "15"
    leading = '"18"
    Aligh = "Left"
    etc...
    Regards
    Hurix
    Edit by Dave Saunders: Something is preventing the Reply button from working. I'm hoping this edit will reactivate it.

    Hi all,
    This is something I threw together
    doc = app.activeDocument,
    ps = doc.paragraphStyles.everyItem().getElements().slice(0),
    l = ps.length,
    paraStyles = [],
    c = 0;
    while (l--) {
        var styleDetails = [], n = 0, s, x, p, q;
        s = ps[l].properties;
        for (x in s) {
            p = (s[x] && s[x].hasOwnProperty ("name")) ? s[x].name : s[x]; // change according to requirements.
            if (p && p.constructor.name == "String") p = '"' + p +'"'; // ok if the sctring doesn't contain a " mark
            else if (x == "tabList") p = getTabList (s[x]);
            else if (p instanceof Object && p.constructor.name != "Enumerator") {
                var objProps = [], z = 0;
                for (q in p) objProps[z++] = q + ": " + p[q]
                p = x + " {" + objProps.join(", ") + "}";
            styleDetails[n++] = x + ": " + p;
        paraStyles[c++] = "{" + styleDetails.join(", ") + "}";
    temp = new File (Folder (Folder.temp) + "/" + doc.name + " Paragraph Style Properties  " + ("" + new Date).replace(/:/g,"\xB7").replace(/\s\S+$/,"")+ ".txt");
    temp.encoding = "UTF-8";
    temp.lineFeed = ($.os[0]=="M") ? "Macintosh" :" Windows";
    temp.open('w');
    temp.write("\uFEFF" + paraStyles.join("\r"));
    temp.close();
    $.sleep(300);
    temp.execute(true);
    function getTabList (t) {
        var tl = t.length, n, pTabList = [];
        for (n = 0; n < tl; n++) { // if the leader etc. contains a " then you have to use ' instead of "
            pTabList[n] = "({alignment: " + t[n].alignment + ', alignmentCharacter: "' + t[n].alignmentCharacter + '", leader: "' +t[n].leader +  '", position: ' + t[n].position + "})";
        return "[" + pTabList.join(", ") + "]";
    function getGrepList (g) { // nestedGrepStyles
        return // couldn't be bothered to do this one, sorry
        var tl = g.length, n, pnestedGrepList = [];
        for (n = 0; n < tl; n++) { // if the leader etc. contains a " then you have to use ' instead of "
            // pTabList[n] = figure for yourself
        return "[" + pTabList.join(", ") + "]";
    You can then recreate the styles by splitting the string by "\r" and using doScript or Eval.
    Might be better to produce a tagged doc with <alignment> foo </alignment> type structure to get around quotation porblems
    However for a simple import export snippet wouldn't this be better?
    var doc = app.activeDocument,
          newDoc = app.documents.add(),
          fp;
    // if you need to add function to remove app.styles that are automatically added to the new document
    fp = new File (Folder.temp + "/" + +new Date + ".indd")
    doc.saveACopy (fp);
    $.sleep (500);
    newDoc.importStyles (ImportFormat.TEXT_STYLES_FORMAT, fp); // can add all sorts of things to import or load
    fp.remove();
    // You now have a clean new Document to load the styles from using importStyles
    Trevor

  • How to know if a applied paragraph style has changed

    in Applescript, is there a propertie to know if a applied paragraph style in not "the original"
    ==> title become title+
    Thanks

    One way to do it in Applescript:
    tell application "Adobe InDesign CS6"
              tell document 1
                        tell page 1
                                  tell (every text frame whose label is "frame1")
      -- paragraph 1 has no style overrides
                                            return style overridden of paragraph 1 --> false
      -- paragraph 2's leading is different
                                            return style overridden of paragraph 2 --> true
                                  end tell
                        end tell
              end tell
    end tell

  • [AS] How to change a paragraph style within any folder in Find Grep?

    I want to change both text and paragraph style
    I do that job very easily until I put paragraph styles in a folder
    How to express the paragraph style "passage" within the folder "1st" in AppleScript?
    In line 18 below, "1st:passage" may be wrong... so I've tried and search for an hour, but I can't get the answer..
    sorry for bad english
    my main()
    on main()
      mySnippet_test()
      myTeardown()
    end main
    on mySnippet_test()
              tell application "Adobe InDesign CS5.5"
                        set myDocument to document 1
                        set find grep preferences to nothing
                        set change grep preferences to nothing
                        set include footnotes of find change grep options to false
                        set include hidden layers of find change grep options to false
                        set include locked layers for find of find change grep options to false
                        set include locked stories for find of find change grep options to false
                        set include master pages of find change grep options to false
                        set find what of find grep preferences to "\\n"
                        set change to of change grep preferences to "\\r"
                        set applied paragraph style of change grep preferences to "1st:passage"
                        tell myDocument
      change grep
                        end tell
      --Clear the find/change preferences after the search.
                        set find grep preferences to nothing
                        set change grep preferences to nothing
              end tell
    end mySnippet_test
    on myTeardown()
    end myTeardown

    Replace the red line with… Replacing name strings to yours…
    set myStyle to paragraph style "Style A" of paragraph style group "Style Group 1" of myDocument
    set applied paragraph style of change grep preferences to myStyle

  • Changes to [No Paragraph Style] causing unwanted style overrides

    Hi fellow InDesigners
    I'm using InDesign CS6. I'm working with long documents that were originally created in previous versions (CS4 and possibly earlier). My standard workflow for these jobs is to do the bulk of the text formatting in a newly created, bare-bones, single column document. First, I load the paragraph and character styles from the template, and when I'm done I copy and paste the formatted text back into the template for final layout and typesetting. This used to work fine in CS4, but in CS6, all my paragraphs show the plus sign in the Paragraph Styles panel, indicating that they have been overridden. They should be identical, since I imported the styles from one file to the other. The overrides include drop cap alignment, and even more obscure things like 'IdeoSpaceBehavior' and 'Diacritic Positioning'.
    It seems likely to me that this problem is due to Adobe having changed the definition of the mysteriously ubiquitous '[No Paragraph Style]' style between versions. The template file has carried over the definition from CS4, but the newly created working files have the new definition, and since [No Paragraph Style] is not included when importing styles from one document to another, the inconsistency remains. Copying and pasting text with no overrides in one document, shows overrides in the other.
    So the simplest solution I can think of, would be to change the [No Paragraph Style] in the template to match the definition of new CS6 documents. Is this even possible? My Googling thus far suggests that [No Paragraph Style] is pretty much untouchable.
    Is there nothing for it but to create the template files again as new documents in CS6?

    No worries Michael. Yes, I vaguely remember the change too.
    My understanding is, [No Paragraph Style] is very much a style—a paradoxically named style to be sure, but a style nonetheless. Check out the [Basic Paragraph] style definition by double clicking on it in the Paragraph Styles panel. It's style definition is: '[No Paragraph Style] + next: [Same style]'. That's it. Minion Pro 12 point, with auto leading—and every other conceivable paragraph attribute—all handled by [No Paragraph Style]. Adobe needed some defaults, and that's what [No Paragraph Style] is—just a default style. You can never escape it either, since every style, no matter what it's based on, has [No Paragraph Style] as its most senior ancestor.
    So that's essentially my problem. Adobe has, in their wisdom, changed the [No Paragraph Style] style between versions, so that a document originally created in an earlier version and a document created in CS6 have different [No Paragraph Style] settings. I'm pretty confident this is the cause of my problems.
    Lots of my paragraph styles inherit from other styles. Why would I not want that? My custom 'Paragraph' style has lots of other styles based on it—from typesetting variations, to quotes, lists, etc. But the 'Paragraph' style itself is based on [No Paragraph Style]. As I said, you can't really escape [No Paragraph Style].

  • GREP for changing paragraph style?

    Okay folks, I have another one for all you smart people out there. I think GREP can be used to change formatting in the following instance, but I have no idea how to set it up.
    I have a very long document, essentially a phone book-type listing of names, phone numbers, addresses, well over 150 pages' worth. The paragraph styles are fairly simple, only two per listing. The name/phone number is bold with a right hand tab with leader dots to a phone number that is flush to the right side of the column. The following lines are flush left, not bold, but indented 6pts. I've placed the text file and assigned the entire thing the NameListing paragraph style. I'd like to use GREP to find the address lines and change them to the NameListingAddress paragraph style.
    Here's a screen shot to give you an idea. The left column is formatted correctly with both styles, the right column is "raw", all paragraphs formatted with the NameListing paragraph style.
    Is this an appropriate application for GREP? If so, how do I set it up to only change the paragraphs that "don't have tabs"? It would save me a crapload of time.
    THANKS again! --Dina

    If your intent here is to use the character style to trigger a variable, as I belive it is based on your other thread, you MUST apply the character style up to the first tab to pick up the text at the start of the paragraph. There are two approaches to automating the formatting after that, but it may be too late for you to be much help.
    In cases where every listing has the same number of lines it makes sense to use a unique paragraph style name (not necessarily format -- base on on another) for each lline and make it its own paragraph. Set up "next styles" to rotate through the list so each line is assigned the correct style based on the style of its predecessor. You get the rotation to sart over by making the first line style the next style for the last line. This works for manual entry and can be applied to an entire block of placed text in a single operation by selecting the text, then right-clicking the name of the first style to be applied and choose Apply <stylename>, Then Next Style.This ONLY works if you have exactly the same number of paragraphs in each listing.
    The other option is to use forced line breaks instread of paragraphs and use one style for the entire listing. Set a left indent and negative first line indent, create a character style for the part of the first line that you want to appear in your header and apply it Up To ^t^n (that's a little-known trick -- if you enter more than one character in the trigger for a nested style it will activate on the first instance of any of the characters listed that occurs, so for example if you enter the word cat, your style will end on the first, c, a or t that appears inthe paragraph. ^t is the metacharacter for tab, and ^n is for forced line break) so that the style will end at either the tab, if present, or the forced line break if there is no tab (if you use a right-indent tab instead of a regualr right aligned tab [tricky to do a leader, but that's another discussion] substitute ^y for the ^t), then add a nested Line Style for one line. That line style should use a second character style that is based on the first character style you created for the name text and has no other attributes if you want the line to be the same from end to end. Sounds more complex than it is, and will work for listings with variable lenghths. The trick is to repalce your paragraph returns with forced line breaks, and will require a little thinking.
    If using separate paragraph styles for each line, you'd use the same technique of a nested style up to a tab for the first line, but there is no need to get fancier since it will apply to the whole line if there is no tab. The paragraph style, in this case, would carry all of the bold and size formatting (and no need for any indents), and the character style would be nothing more than a name that will allow you to use it in the variable.

Maybe you are looking for

  • Print Module templates layouts do not update on the fly

    Print layouts do not update on the fly when attempting to choose between various Print Module>Template Browser> Lightroom or User templates. This occurs in all three Layout Styles. The very first layout chosen in Single Image/Contact Sheet, Picture P

  • How to view pending transactions?

    I have a problem where for some reason, things that should be rolled back when ocirollback is called, aren't. I'd like the user to be able to see a list of pending transactions, on that connection, but I haven't had any luck. All I find are posts abo

  • Why does 'Guest User' appear in a foreign language when logged in as guest?

    Why does 'Guest User' appear in a foreign language when logged in as guest? It's not a major problem but it would be nice to be able to fix it, and to understand how it happened. Everything else is in English (or set to English) as far as I can see,

  • How can i check apple id use in diffrent iphons

    how can i check my apple id use in different iphons

  • Error during adpatch

    Dear Experts, I am upgrading Oracle APPS 11.5.10.2 to R12.1.1 on Windows 32 bit, during the execution adpatch exit with the below error. Can any one advice on this ?? Cannot open patch file: T:\Patches_Downloaded\Apps-Patches\Apps_Tier\2278688\icx\ad