Character in the styles of table styles

Hello world.

I created my paintings so that all the other ranks are a dark blue fill, but keeps the text in the lines accordingly be white with the ulternate bloak text lines.

Don't know if I'm able to do it quickly, for the moment I create the table and then selecting each other rtow manaually to change the style of text required

@Garethirwin,

That is right. There is no option to apply a cell style to every other row in a table style. This may require the manual approach that you already do.

I suspect, it could be a film script, but I'm not a scripter and could not help you with that.

Tags: InDesign

Similar Questions

  • invisible special character in the column of table all_source-text

    Hi all

    Query:

    SELECT P.TEXT, S.TEXT, P.LINE, S.LINE, LENGTH (P.TEXT), LENGTH (S.TEXT), LENGTH (REPLACE (P.TEXT,' ', ")), LENGTH (REPLACE (S.TEXT,' ',"))

    All_source p, all_source@LINK_TST. S WORLD

    WHERE p.TYPE = 'FUNCTION '.

    AND p.owner = 'ASAP '.

    AND P.OWNER = S.OWNER AND P.TYPE = S.TYPE AND P.LINE = S.LINE AND

    P.NAME = S.NAME AND

    AND LENGTH (TRIM (P.TEXT)) <>LENGTH (TRIM (S.TEXT));

    Clarification:

    This query returns the line offset accordingly.

    1 line of a function is driven on the request, seeing that the two text values are similar.

    1 TRIM feature works TRIM (text) <>TRIM (text)

    2.length (Trim (P.Text)) <>LENGTH (TRIM (S.TEXT));

    3. used function REPLACE not working LENGTH (replace (P.TEXT, ' ')) <>LENGTH (replace (S.TEXT,' '));

    I checked that a function a invisible extra character in the column of text which the query should return an incorrect value.

    How to exclude the invisible character in the query?

    Thank you

    Fabrice

    You see invisible characters

    Maybe...

    REGEXP_REPLACE (text, "[^ [: print:]]'")

  • How can I print character Arial, the full game table.

    Please suggest how to print the table of characters Arial, the full game.

    Kind regards
    Loïck

    Windows has no way of native print a complete character set like this.

    You can watch the related police utility here and see if one includes this capability.
    http://www.fontsnthings.com/tools/viewers.shtml

  • [CS5.5] [JS] delete the character before the result of the search

    Hello

    I have a small question.

    I would like to remove all spaces before any text containing the tag with a specific character style.

    Example: "call: [SPACE] [BEGIN TANK STYLE FRUIT] 5 parts [END TANK STYLE FRUIT]".

    I would like to remove the space...

    A piece of my code:

    app.findTextPreferences = NothingEnum.nothing;

    app.findTextPreferences.appliedCharacterStyle = "FRUIT".

    myResultsList = app.activeDocument.findText ();

    for (var k = myResultsList.length - 1; k >-1; k = k - 1) {}

    How can I remove the space before the result?

    }

    Aynone have an idea?

    Thank you

    John

    Hi J & J,

    I have a little problem with the two scripts here.

    Jarek is obviously going to be very fast, but it assumes there is no local formatting on the words of style FRUIT, i.e. No bold / italic / color / highlight replacements applied to these texts. If this is the case then his script (perhaps with a more original original combination) them IS way to go. If it's not!

    John, I don't understand how the script you found could possibly work.

    There are 2 major bugs with it.

    var myCharacters = myResultsList [k] .parentTextFrames [0] .characters;

    myCharacters.itemByRange(myLocation-1,1).remove ();

    should be replaced by

    var myCharacters is myResultsList [k].parentStory.characters;.

    myCharacters.itemByRange (myLocation-1, myLocation) .remove ();

    To the help of parentTextFrames is not a good idea because it will fail on threaded textframe, give it index the character of possiosion since the beginning of the story and not the beginning of the textframe.

    having itemByRange(myLocation-1,1).remove () will withdraw find it until the second character in the story. I understand that you just want to remove the space before the style!

    This brings to a 3rd problem in your script that removes the (fixed once upwards) any character preceding the style regardless of whether or not it is a space.

    In any case my way would be with one of these 2 functions according to the conditions weather there is always a space before the style of fruits or not.

    It will only remove spaces (no returns or other characters) that precede the style.

    The first function 'removeCharacterBeforeStyle' is the equivalent of your corrected script but better (at least in my humble opinion)

    // http://forums.adobe.com/thread/1213463?tstart=0word.
    // Removes  letter / spaces before a character style
    app.doScript("removeAllSpacesBeforeStyle()", ScriptLanguage.javascript, undefined, UndoModes.ENTIRE_SCRIPT);
    //app.doScript("removeCharacterBeforeStyle()", ScriptLanguage.javascript, undefined, UndoModes.ENTIRE_SCRIPT);
    
    function removeCharacterBeforeStyle() {
        // to delete ANY character that precedes the FRUIT style. short and sweet :-)
        app.findTextPreferences = null;
        app.findTextPreferences.appliedCharacterStyle = "FRUIT";
        var  myFinds =  app.documents[0].findText(),
               l = myFinds.length, pos;
        while (l--)   myFinds[l].parentStory.characters.itemByRange (pos = myFinds[l].insertionPoints[0].index-1, pos++).remove();
    };
    
    function removeAllSpacesBeforeStyle() {
        // This will delete spaces (including hairspaces), tabs etc. but not returns that precedes the FRUIT style
        // see http://www.indiscripts.com/post/2011/09/what-exactly-is-a-word for hairspace and other potential issues
        // not so short and not so sweet :-(
        // but does the job without messing up most of the local overrides of the character style |:-)
        var doc = app.documents[0];
        app.findTextPreferences = app.changeTextPreferences = null;
        app.findTextPreferences.findWhat = "^|"; // this is one way of dealing with hairline spaces (warning their format will get messed up)
        app.changeTextPreferences.changeTo = "^4^4^4^4^3";
        doc.changeText();
        app.findTextPreferences = null;
        app.findTextPreferences.appliedCharacterStyle = "FRUIT";
        var  myFinds = doc.findText(),
               l = myFinds.length,
               ps, find_CharacterInStoryIndex, find_WordInStoryIndex, StartOfGap, EndOfGap;
        app.findTextPreferences = app.findGrepPreferences = app.changeGrepPreferences = null;
        app.findGrepPreferences.findWhat = "((?![\\r\\n])\\s)+"; // find spaces that are not returns about the same as "[~m~>~f~S~s~<~/~.~3~4~%\\x{20}~|\\t]+" I have not compaired the speeds
        while (l--)  {
            ps = myFinds[l].parentStory;
            find_CharacterInStoryIndex = myFinds[l].insertionPoints[0].index-1;
            if ((find_WordInStoryIndex = ps.words.itemByRange(ps.words[0], myFinds[l].words[0]).words.length-2) <0) continue;
            // the 'if' checks that the find is not the first word in the story if it was the ALL the spaces in the whole story would be removed
            StartOfGap = ps.words[find_WordInStoryIndex].insertionPoints[-1].index;
            EndOfGap = ps.words[find_WordInStoryIndex+1].index-1;
            // if the FRUIT style starts at the beginning  of a word remove spaces before that word
            if (find_CharacterInStoryIndex == EndOfGap)  ps.characters.itemByRange(StartOfGap,EndOfGap).changeGrep();
        }
        app.findTextPreferences.findWhat = "^4^4^4^4^3"; // put the hairspaces back
        app.changeTextPreferences.changeTo = "^|";
        doc.changeText();
        app.findTextPreferences  = app.changeTextPreferences = app.findGrepPreferences = null;
    }
    

    Concerning

    Trevor

    P.s. If you do not have hairspaces (and you probably haven't) her you could for aesthetic reasons to remove at least 6 lines of code.

  • Add the tab character before the content of particular paragraph style

    I have to add the tab character before the content of particular paragraph style

    app.findTextPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyles.item ("IDX2");

    list = app.activeDocument.findText ();

    // 2. For each found the point...

    for (i = 0; i < list.length; i ++)

    {

    App.Select (list [i])

    App.Selection[0].insertionPoints[0].contents="\t".

    }

    But the code above only works in the first instance. But I must add the tab character all the content of the paragraph applied

    How to do this

    Hello

    Another way without GREP...

    var doc = app.activeDocument;
    var myStories=doc.stories;
    var J= myStories.length;
    
    while( J-- ){
        var mStorie = myStories[J];
        var K= mStorie.paragraphs.length
        while( K-- ){
            if  (mStorie.paragraphs[K].appliedParagraphStyle.name == "toto") {
                mStorie.paragraphs[K].contents= "\t" + mStorie.paragraphs[K].contents;
            }
         }
    }
    
  • character for the font color style changes only as font size

    I created a character style to set the color for text, color only.  When I apply it to a set of characters, it also changed the font face and size of 36 to 12.  Paragraph styles have the same problem.  If you want it to be 36 points, applying it replaces about half of the desired size.  This is a bug in CS6 (v13 & 13.0.6) and now in the current version 20141014.r.257 on Mac 64-bit both 10.9 and 10.10.

    Thanks, Gaetano, in your instructions, define you the font and size family.  I want my character style to work on any font family and size.  I discovered that the character styles work only as replacements on a paragraph with no other replacement style. Reviews for my average screenshot that I didn't put all information from the police. When you apply a character style to a block of characters having replacements, you get one more on the character style.  By clicking the first icon (arrow), removes all replacements and applies the style of character, which causes the font family and size change noted in my 3rd default screenshot.  Myriad Pro Regular 12pt seems to be the default font and therefore the police that you get when you remove all replacements in order to apply the character style.

    By creating multiple paragraph style and remove all replacements in the text for each, I've been able to apply the character with just the color style.

    In conclusion, character styles are working but cannot be applied to the text block that contains the default text or a style paragraph and no substitutions.

  • How to keep the style of setting shaped tables that you paste IN when copying old pictures?

    Hi all

    I know that CMD-SHIFT-V works perfectly to keep the text styles you paste IN when you copy another block of text that contains different styles, but how do I do the same thing with a TABLE?

    I have paintings from an InDesign document with a set of styles/table cell styles, etc and am copying into another InDesign document where I have tables that have table styles different styles/cell, etc. The only way I can successfully get the information in one table to another is to copy the information from the old table with the old styles and then paste it into an excel worksheet, and then copy the excel worksheet and paste into new tables in the new InDesign document.

    Now, wouldn't that be so bad if I didn't have SO MANY hundreds and hundreds of paintings I was working with! I am currently working on a big catalogue and this workflow is slowing down a lot:)

    Please note that I have deleted all styles (by removing all styles) tables I am pasting FROM, but chose to keep the formatting.

    Once more, I bet that I I will kick myself when I see how the answer is easy!

    Any help would be so appreciated!

    Thank you kindly,

    Christine

    Try converting your old text table (column separator: tab; line separator: paragraph). Copy, select the style of lines and columns you want to paste the text in and paste without formatting in your new table. It may not work if your table is very complicated, but it worked for me on a test very simple.

  • Why is the character for the hyperlink style appears correctly in design mode / look a/exit?

    I use RH9 and generating of WebHelp, and I needed to get into the world of the size of the font of my text for the hyperlink. I went in my stylesheet > tab character, changed the size of the police of the various parameters of characters for hyperlinks and click on apply and then OK. Normally, that would change all my hyperlink immediately text font sizes on all my subjects. However, this time, he made no changes to an existing hyperlink text, and it only affected new hyperlinks that later, I added. For existing hyperlinks, I can only manually change the size of the font of the each hyperlink, one at a time, but it's crazy (there are 100 in this help).

    Can I change successfully others character and paragraph styles. This problem only affects the character of hyperlink styles. It is also in all HR - creation mode, viewing modes and in the final output.

    Is this an indication of a sheet of corrupt style or some other combination of events I have yet to discover?

    Willam - you are absolutely right. After looking at the HTML view, somehow (I inherited a lot of this content to an earlier project), inline style has been applied to texts of hyperlink (only).

    I appreciate your suggestion of solution (if I need to regenerate my help quickly, this will be the way to do it). Otherwise, I can ask one of our maybe to programmers to write a script that will remove this topics 300 inline style or more who have hyperlinks in their!

  • [JS InDesign CS3] Style groups, Caprice in colors! (or: how to make the styles of paragraph and character off groups style?)

    Sorry for this question (and my terrible English, incidentally), I'm a javascript noob and I know when I reached my limits.

    Well, I'm taking a set of paragraph and character style groups styles, they are placed in hundreds of InDesign documents (which cannot be regarded as a book). As much as I've tried (thanks to the invaluable help of previous messages in this forum), I was able to move a style to a group and change its position within the group, inside root-level, or between the groups. But it is not matter how I try, I don't know which move reference should I try in case I want to take each style outside the style group and place them after their original level group, folder style [Root].

    I tried:

    var doc=app.activeDocument;
    var pGroups=doc.paragraphStyleGroups;
    
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Here I am, trying to move a style outside the folder that contains it, and failing miserably.
              pStylesInGroup[j].move (LocationOptions.after, pGroups[i]);
         }
    }
    

    He did not, the script has sent an invalid parameter value in the reference field, so I can't use the folder of the group itself as reference.

    Tried (obviously false) alternatives, such as the first available style using as reference. So my second script was

    var doc=app.activeDocument;
    var pStyles=doc.allParagraphStyles;
    var pGroups=doc.paragraphStyleGroups;
    
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Now I try placing the styles after the [Basic Paragraph], that is, the second paragraph style in the document style list 
              pStylesInGroup[j].move (LocationOptions.after, pStyles[1]);
         }
    }
    
    

    It did not work either, another invalid parameter in the reference field. Similar results with my other attempts (I even tried "[Root]" as literal with similar luck).

    So my question is: what command (or script, in case my approach is quite wrong) should I use to accomplish my goal?

    Thanks in advance to those who decide to spend more than a minute thinking about my humble worries and my apologies for some of your lines of code Ripper shamelessly for my purposes.

    Well, tried a few things and I really weird results!

    1. you can move a style within its group.

    2. you can move a style to one group "to" the other, but it will appear "inside" of this style. I got my style of test as a subdivision of [standard paragraph], using index #1. By the index 0 # InDesign ([no paragraph Style]) crashed.

    3. you can duplicate the style, but then you get a copy of the same group. Still no luck.

    4 finally! What is the parent of a paragraph style?

    Document | Request | ParagraphStyleGroup

    'Application' is easy - it's when you do a global style. So, what's the difference between 'Document' and 'paragraphStyleGroup '? Single - well, when you get finally he...

    pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    

    move the style out of the Group and at the end of the list in the document. I don't think it's possible to move directly to a specific position in the main style list - you first need to move a group, then move it around in its own list.

    Fortunately, he returns his new position as a definition once again, if necessary, you can use

    newStyle = pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    newStyle.move (LocationOptions.AFTER, pStyles[1]);
    

    -I haven't really tried this possibility, but it should work.

  • Why can I not use the style copy/paste utility

    Hello

    I have a spreadsheet with about 300 lines and columns at least 4. It is an overview of vegetables and fruit I use (d) growing in my garden. I want to insert a picture in each row, I stuck a picture in the first cell. Unfortunately many don't re - format the row and column so that the image fits, so I had to do it by hand. I selected this cell, copy the style and tried to stick the style to other cells (down). Nothing happened.

    What's not?

    Thanks in advance for your help.

    Hans

    Hello Hans,.

    When you paste an image into a table of numbers cell, image is pasted as a "Filling of Image" and, by default, is scaled to fit the current size of the cell.

    'Fill' is part of the Style of this cell and is included when you copy Style. Row height and column width, which together define the size of the cell, do not part of the properties of the cell Style and are not copied or pasted when you copy or paste Style.

    In the table below, your image (a page from this page, if less than your original resolution) was pasted in A1. The cell has been selected then copied Style (option + command + C), then the Style was pasted (option-command-V) in each of the cells on a diagonal. Heights and widths of column and line were adjusted by dragging the bars dividing the labels of name of column and row in the above reference tab bars and the left of the table, giving the shown result.

    Cell Format Inspector offers five choices of fitting of picture fill in a cell. Scale of adjustment is the default and forced the image according to a size that fills the cell in one direction, but leaves gaps in the other direction. In the example below, most copies of the image are limited by the width of the cell in tone are filling. Some, especially on the top row, is constained by the height of the line.

    Size of rows and columns may be defined by dragging, as I've done above, or in the table Inspector.

    Kind regards

    Barry

  • How to change the style of picture frame

    I would like to know how to change the style of table on the front. For the example below, I would like to remove the covered framework of gray color.

    I could not find the table style editor.

    First option: use the table on the classic controls palette, which has no border.

    Second option-

    1. Select the painting tool.
    2. Right click on the border.
    3. With open color dialog box, click the space bar. This toggles the color picker to work on color FG, the background color, or both. It is also described at the bottom of the color picker.
    4. When the two have been selected, you can make the frame completely transparent by selecting the color of T.
  • How to identify the style used in Photoshop?

    I have prepared a text with style, but I can't find out witch style is in the style gallery (I simply give upt). There are just miniature without any name - how to find it, I have a lot of styles.

    prepared a text with style

    A paragraph or character style? Just click an insertion point in formatted text and look at the window > paragraph Styles (or if a character style, window > character Styles) and it will be highlighted in the list. Before you forget, double-click it in the Panel and give it a name short and descriptive.

  • "Like what" option in the style settings. Are there?

    In FrameMaker, after I created a few style of paragraph or character, I can manually reset some (not all) it's the values of "such what."

    Here are the screenshots-

    fm1.PNG

    fm2.png

    fm3.PNG

    For example, I created a style of paragraph drew Attention with the following parameters:

    -the color of the text is red

    -align the text in the Center

    -font is bold

    Very well. And later, I could reset the alignment of the 'Center' to ' as what ', without changing any another parameter of this style, such as the red color, weight "BOLD".

    As you can see in the screenshots above, in FrameMaker, it's easy.

    Now, I'm trying to find an option even in InDesign (CS6) - as I think, it would be very useful in the case when a style is based on another. Everyone succeeds in it?  :-)

    -John

    Some features of FrameMaker were ahead of their time.

    InDesign doesn't have the same parameters as is like FrameMaker does for the paragraph styles, although you may have like settings for character styles.

    This is as close as InDesign arrives at your request, and you probably already know:

    First create the style of paragraph Attention in red, bold and centered.
    Create then another style of paragraph based on the Attention, but that is not centered. I'll call her TIP.

    If you change the caution signs which are not shared by the paragraph of the ART style, two paragraph styles will change. For example, if you change your Attention to blue, TIP will change to blue. But if you change your Attention to align right, TIP will not change because this feature is not shared.

  • How can I change the style of police in After Effects CS6?

    How can I change the style of police in After Effects CS6?

    Basics of EI: go to the window > character or select Workspace > text

    In the timeline panel, select the layer in the Comp panel, with the tool selected text or text and the layer selected in the timeline panel, select the text you want to change

    In the character Panel, change the attributes of police...

    Take a look at this short video. You will learn how to find the police Panel, change the style and the base line of paragraph:

    Please, since your question tells me that you're very new to After Effects start here: Basic Workflow

  • Problems with character and paragraph styles!

    Hello

    I have a problem to inDesign that I don't normally.

    (I work on a macbook pro)

    I'm adding a text in a template document. I have two character styles and the paragraphstyles.

    This is how I work:

    I place my text I have the text box. (placing a word document) First I get all of the italicized words in the text placed and they give a character style: italic. Then, I want to give a definition to the whole text. It is a 'regular' from the same font of type version. When I do that, all of the text get this pink-ish marking meens that the text has not been completely changed the style AND a little plus (+) next to the paragraph style accurs. Normally I just press alternative (alt) as I click the paragraph style and thus cancels the problem. BUT when I do that now all the text becomes italic - witch is not in the selected paragraph style. Why?

    I'm really lost how can I solve this problem - I don't want to create a new document because it is a model that I use each month for a magazine and normally it works.

    Would be - this code in the word document? Or what?

    Thank you!

    best,

    Sara

    Create your paragraph style

    Paste your text

    Run the Script PrepText

    http://InDesignSecrets.com/free-scripts-help-fix-Word-formatting.php

    This will apply/create character styles etc. italic, bold in all the text that you pasted in this text.

    Select all of your text - and click the clear button the replacements at the bottom of the paragraph Style Panel.

    Simple and fast

Maybe you are looking for