1 2 Previous Next 44 Replies Latest reply on Mar 30, 2017 8:52 AM by Obi-wan Kenobi

    Create tables with spaces between cells (ie cellspacing)

    bernardc8812564

      Hi.

       

      One image is better than 100 words, so here is one.
      Capture d’écran 2017-03-27 à 14.28.46.png

      Untill now, this kind of table is done by grouping Text-blocks.
      Do you know if ther is a way to get the same result using tables only using regular options or any plugin ?

       

       

      Thanks in advance.

        • 1. Re: Create tables with spaces between cells (ie cellspacing)
          John T Smith Adobe Community Professional & MVP

          The Lounge Forum is not for technical help, please provide the name of the program you are using so your message may be moved to the correct program forum... A program would be Photoshop or Dreamweaver or Muse or Premiere Pro or ???

          • 2. Re: Create tables with spaces between cells (ie cellspacing)
            Nancy OShea Adobe Community Professional & MVP

            In HTML tables, we use CSS padding on the table cell selector.

             

            td {

                 padding: 20px;  /**adjust values to suit**/

            }

            • 3. Re: Create tables with spaces between cells (ie cellspacing)
              Pariah Burke Adobe Community Professional

              The original poster tagged the question "InDesign", folks. I'm moving the post to the InDesign Forum.

              • 4. Re: Create tables with spaces between cells (ie cellspacing)
                Malcolm Whild Level 1

                Hi,

                 

                Every cell in an Indesign table has cell insets, which automatically default to 4pt (1.411mm) so you shouldn't need to worry about it.

                 

                Make sure that you use table and cell styles to keep consistency as it looks as if your tables are fairly complex.

                 

                Regards,

                 

                Malcolm

                • 5. Re: Create tables with spaces between cells (ie cellspacing)
                  amaarora Adobe Employee

                  Hi,

                  An easy workaround to achieve something similar in InDesign would be to apply cell Stroke to the table cells with appropriate weight.

                  First create a table of desired number of cells and columns

                  Picture1.png

                  Select all the cells and open the strokes panel from window menu.

                  Picture2.png

                   

                  Apply the stroke as shown in the below screenshot. To increase the spacing between cells, you can increase the stroke weight. however, this will also increase the weight of the black section.

                  Picture3.png

                  Preview, if the cell spacing is as per need. You can then fill cells with the needed colors and type your data. Also note that this leaves an extra border around your table.

                  Picture7.png

                  Regards,

                  Aman

                  2 people found this helpful
                  • 6. Re: Create tables with spaces between cells (ie cellspacing)
                    bernardc8812564 Level 1

                    @John T Smith:  Sorry, I thought I posted in the right place

                    @

                    • 7. Re: Create tables with spaces between cells (ie cellspacing)
                      Laubender Adobe Community Professional & MVP

                      Hi Aman,

                      at first glance the task seems to be an easy one. But it isn't.

                      What you are showing is not exactly what the OP—bernard—likes to accomplish.


                      In his sample there is no stroke around the table.

                      The gray header cells are showing no black strokes.
                      Just the fills.

                       

                      It could be done using empty columns and empty rows.

                      But I assume this trick is not allowed.

                       

                      Maybe something can be done by text formatting using a combination of paragraph shading, graphic lines above and below?
                      But that wouldn't be very flexible. And if the cells showing white as fill should be transparent behind a background it would be perhaps impossible to do…

                       

                      Regards,
                      Uwe

                      • 8. Re: Create tables with spaces between cells (ie cellspacing)
                        Eternal Warrior Adobe Community Professional

                        There are many ways to achieve cell spacing.

                         

                        You certainly don't need to go to such complicated lengths as:

                        bernardc8812564  wrote

                         

                        this kind of table is done by grouping Text-blocks.

                         

                         

                        The quickest way would be amaarora's suggestion.

                         

                        It sounds like you should learn more about table and cell styles as well as this can make things more "automatic".

                         

                        2017-03-28_09-47-11.png

                        • 9. Re: Create tables with spaces between cells (ie cellspacing)
                          Laubender Adobe Community Professional & MVP

                          https://forums.adobe.com/people/Eternal+Warrior  wrote

                          There are many ways to achieve cell spacing.

                          You certainly don't need to go to such complicated lengths as:

                          bernardc8812564   wrote

                          this kind of table is done by grouping Text-blocks.

                          Hi Eternal Warrior,

                          I'm sure there were good reasons.

                           

                          Do you have a suggestion how to do it with table cells?
                          I'm curious…

                           

                           

                          Regards,
                          Uwe

                          • 10. Re: Create tables with spaces between cells (ie cellspacing)
                            amaarora Adobe Employee

                            Hi Uwe,

                            i totally agree with you.

                            I only intended to give a workaround to achieve a close result.

                            The stroke can be used to achieve just the cell spacing and later the color can be changed to paper, by selecting the entire table and then choosing stroke color from the control strip.

                            Picture1.png

                            Agreed, that this method too would need lot of tweaking and adjustments to make it look identical to the desired design.

                            -Aman

                            • 11. Re: Create tables with spaces between cells (ie cellspacing)
                              Eternal Warrior Adobe Community Professional

                              Good morning Laubender,

                               

                              I hope you are well?

                               

                              I applaud the fact that you are looking at the exact way that this has been constructed and are focused only on providing "the" solution that exactly replicates what the OP has made.

                               

                              I personally am not as clear why you assume that it has to be an exact reconstruction in the manner shown - unless you either personally know or assume that the OP has extensive knowledge of InDesign and wants an "exact" reconstruction. Which was not specified.

                               

                              Also the fact that someone wants "traditional web-based" cell spacing should tell you that you will need to use one form of work around or another.

                               

                              Both could be more automated with table and cell styles...

                              For a more amazing result you could write a (couple of) script(s) - for solution #2.

                               

                              SOLUTION #1 WITHOUT MAKING LOADS OF TEXT BOXES....

                               

                              As suggested by amaarora you would create an illusionary text cell spacing using either black or paper strokes... this could be put into a table style quite easily using the following example:

                              2017-03-28_11-16-51.png

                              2017-03-28_11-17-20.png

                               

                              Giving you a very quick example like this:

                              2017-03-28_11-24-02.png

                               

                              Obviously this creates either black or white stroked lines but if it is for print and going to be flattened on to a solid fill background then this is no problem... You could always have the stroke the same colour as the fill.

                               

                              However - the trouble comes when you need a completely alpha transparent background except for the cell fill.

                               

                              SOLUTION #2 - ...NOT AUTOMATIC (WITHOUT ADOBE'S HELP OR A SCRIPT) BUT STILL PRETTY QUICK IN COMPARISON:

                               

                              Again there is a slightly quicker way of doing this than the original - but it involves doubling the amount of rows and or columns that the table has and then applying an alternating cell style to every other row and column to make them effectively the correct width

                               

                              In this case 6 columns displayed here becomes 12 and 11 rows become 22.

                              Then we need to make every other row and column the desired width and height of the "stroke"...

                               

                              Personally - Adobe should have made us able to do this as part of style controls - but you would need a script to do this currently as even manually we cannot currently Ctrl or cmd click on multiple rows or columns you can only shift click...

                               

                              With this done you can create the same effect with a lot less time and effort and have transparency in the "strokes".

                               

                              IF the OP wants to recreate exactly the way they have currently produced the table then this will need a script or perhaps a feature request so that typically coded cell spacing is actually supported.

                               

                              Anyway... that's how I would do it.

                               

                              If the OP wants to submit a feature request I suggest they do that here: Feature Request/Bug Report Form

                               

                              Best wishes and kind regards,

                               

                              EW

                               

                               

                              • 12. Re: Create tables with spaces between cells (ie cellspacing)
                                Obi-wan Kenobi Adobe Community Professional

                                Hi Uwe!

                                 

                                Have you forgotten …

                                 

                                Capture d’écran 2017-03-28 à 12.58.57.png

                                 

                                the use of a 10-points stroke without color for the cells? 

                                 

                                (^/)

                                1 person found this helpful
                                • 13. Re: Create tables with spaces between cells (ie cellspacing)
                                  Eternal Warrior Adobe Community Professional

                                  Can you show me what that structure would look like in the menu's Obi?

                                   

                                  Can it be less than 10 points or does it only work at this amount?

                                   

                                  Best,

                                   

                                  EW

                                  • 14. Re: Create tables with spaces between cells (ie cellspacing)
                                    Laubender Adobe Community Professional & MVP

                                    Hi Bernhard,

                                    we can acchieve it, if:


                                    1. White strokes are allowed.

                                     

                                    2. The strokes of the cells are done with:
                                    A. Paragraph shading of the text

                                    B. A line above with a proper position and width

                                     

                                    I am also use a nearly undiscoverable feature of cell strokes that is only available in one menu where you can set the strokes of the cells to stroke style "None".

                                     

                                    TableSample-1.png

                                     

                                    Using stroke style "None" for the cell's stroke is shown here with my German InDesign. This option can only be found in the "Cell Options" menu. Nowhere else! The stroke width with my sample is 7pt.

                                     

                                    Using-StrokeStyle-None-StrokeWeight-7pt.png

                                     

                                    For the fill of the header rows I used another cell decoration feature. Not the usual fill, but "Diagonal Lines" with a large value for the point size that also comes with "Cell Options":

                                     

                                    Using-DiagonalLines-for-cell-fill.png

                                     

                                    Perhaps we can also use "Diagonal Lines" with the body cells plus Line Above for text formatting.

                                    But we also can use a combination of paragraph shading and Line Above for formatting the text of the body cells so that a "line around a fill" can be seen. Unfortunately paragraph shading was not developed further for a fill plus a line around a paragraph.

                                     

                                    Paragraph shading settings for text formatting:

                                     

                                    Using-ParagraphShading-in-combination-with-LineAbove-1.png

                                     

                                     

                                    Line Above setting for text formatting case 1:

                                     

                                    Using-ParagraphShading-in-combination-with-LineAbove-2.png

                                     

                                    Line Above setting for text formatting case 2:

                                     

                                    Using-ParagraphShading-in-combination-with-LineAbove-3.png

                                     

                                    To Obi-wan:
                                    No, I did not forget about this sample you are showing :-)

                                     

                                    Regards,
                                    Uwe

                                    2 people found this helpful
                                    • 15. Re: Create tables with spaces between cells (ie cellspacing)
                                      Eternal Warrior Adobe Community Professional

                                      This is really useful knowledge Uwe!

                                       

                                      I never knew (or perhaps never looked) at the fact there was a stroke style "none" - In my head i was looking at how to change the stroke colour to none.

                                       

                                      So now I have advanced my knowledge!

                                       

                                      This is the best thing about trying to help people - when it also helps you... Haha!

                                       

                                       

                                      • 16. Re: Create tables with spaces between cells (ie cellspacing)
                                        Eternal Warrior Adobe Community Professional

                                        FWIW: You can also choose the stroke option none in table styles... Meaning that solution 1 will work regardless of background....

                                         

                                        2017-03-28_12-27-49.png

                                        • 17. Re: Create tables with spaces between cells (ie cellspacing)
                                          Laubender Adobe Community Professional & MVP

                                          https://forums.adobe.com/people/Eternal+Warrior  wrote

                                          … Then we need to make every other row and column the desired width and height of the "stroke"...

                                          Hi EW,

                                          much can be done by scripting.


                                          Unfortunately there are harsh restrictions when it comes to minimum cell width and height.

                                          With CS6 and above the minimum width and height of a cell is 3 pt or 1.058 mm. Also by scripting.

                                           

                                          With versions below CS6 that was different.

                                          Not in the UI but by scripting.

                                           

                                          Regards,
                                          Uwe

                                          • 19. Re: Create tables with spaces between cells (ie cellspacing)
                                            SJRiegel Adobe Community Professional & MVP

                                            I've been watching this thread, and I think I am missing something crucial in this setup.

                                            When I try setting the stroke style to None, all I get is no stroke at all.

                                            Using InDesign CC 2017.0

                                            Screenshot 2017-03-28 08.48.23.png

                                            • 20. Re: Create tables with spaces between cells (ie cellspacing)
                                              bernardc8812564 Level 1

                                              Thanks to all, and especially thanks to you Laubender...

                                               

                                              I'm quite advanced user of Indesign (WELL, I THOUGHT), but I totally ignored that "non-stroke" and "big-cross" tips with tables.
                                              This is a bit tricky, but does the job. Many thanks for that

                                               

                                              The only thing I can't figure is the way you achieve the stroked cells with color background.
                                              Here is the result I get.

                                               

                                               

                                              Capture d’écran 2017-03-28 à 14.54.12.png

                                              • 21. Re: Create tables with spaces between cells (ie cellspacing)
                                                bernardc8812564 Level 1

                                                I'm not sure about your answer. Is this ironic?
                                                I know and use styles for several years.

                                                • 22. Re: Create tables with spaces between cells (ie cellspacing)
                                                  Eternal Warrior Adobe Community Professional

                                                  bernardc8812564  wrote

                                                   

                                                  I'm not sure about your answer. Is this ironic?
                                                  I know and use styles for several years.

                                                   

                                                  Which answer?


                                                  If by looking at the second part you are referring to the first comment about using styles.. then please remember I don't know what every OP's knowledge of InDesign is and I don't mean offence.

                                                   

                                                  Best,

                                                   

                                                  EW

                                                  • 23. Re: Create tables with spaces between cells (ie cellspacing)
                                                    Eternal Warrior Adobe Community Professional

                                                    Have to say... after my excitement of finding Uwe's "None" Stroke I never actually tested it...

                                                     

                                                    My table styles background was possibly a little misleading.

                                                     

                                                    Will have to rely on Uwe or Obi to explain what I have missed...

                                                     

                                                    Best,

                                                     

                                                    EW

                                                    • 24. Re: Create tables with spaces between cells (ie cellspacing)
                                                      bernardc8812564 Level 1

                                                      Many sorry for that. I was answering to your image about "styles are your friends".

                                                      You're right, this was useless.

                                                      • 25. Re: Create tables with spaces between cells (ie cellspacing)
                                                        Eternal Warrior Adobe Community Professional

                                                        Ok so unless I'm corrected in the meantime I have two thoughts...

                                                         

                                                        1) What is the actual end goal? What is it going to look like and where is it going to be printed/displayed? I'll happily take Uwe's opinion that there was a good reason for making tables the way you have been...especially as I'm now confident of your knowledge in InDesign.

                                                         

                                                        2) With a slight bit more work. Solution #1 might work with alpha if you use the gap between feature set to none... the only issue would be that you would need to set the line stroke the same as the cell fills > Or use a reduced tint or less visible colour..

                                                         

                                                        2017-03-28_14-25-00.png

                                                         

                                                        But again without knowing the desired end result where a picture really is worth a thousand words... I'm shooting in the dark

                                                        • 26. Re: Create tables with spaces between cells (ie cellspacing)
                                                          Laubender Adobe Community Professional & MVP

                                                          SJRiegel  wrote

                                                           

                                                          I've been watching this thread, and I think I am missing something crucial in this setup.

                                                          When I try setting the stroke style to None, all I get is no stroke at all.

                                                          Using InDesign CC 2017.0

                                                           

                                                          Hm.
                                                          Don't think, that you are missing something.


                                                          Why do you believe, that it did not work?
                                                          Because you are seeing no gaps with the fills?


                                                          The "normal" cell fills will not show any gaps.


                                                          You have to use "Diagonal Lines" to fill the cells:
                                                          With a high value for stroke style. 100 pt perhaps.

                                                           

                                                          Regards,
                                                          Uwe

                                                          • 27. Re: Create tables with spaces between cells (ie cellspacing)
                                                            Obi-wan Kenobi Adobe Community Professional

                                                            Uwe (and to all),

                                                             

                                                            I think the deal could be done in 1 click [and in batch on all tables with a specific style!] with a script that could be "easily" written!

                                                            Hope I find time for that! 

                                                             

                                                            Capture d’écran 2017-03-28 à 15.25.37.png

                                                             

                                                            (^/)

                                                            • 28. Re: Create tables with spaces between cells (ie cellspacing)
                                                              bernardc8812564 Level 1

                                                              "What is the actual end goal? "

                                                              This is one of the 100 tables (approx.) that will appear in a industrial products catalog.
                                                              It will be printed, more or less with a width of 18cm.

                                                               

                                                              With Uwe solution I finally get this.
                                                              Capture d’écran 2017-03-28 à 15.40.06.png

                                                              The only problem is that, with the amount of text in each cell (and their height), every setting has to be different from a table to another (correct english? )

                                                               

                                                              I'll try the Solution #1

                                                              • 29. Re: Create tables with spaces between cells (ie cellspacing)
                                                                Eternal Warrior Adobe Community Professional

                                                                Will that green background be present in the final catalogue?

                                                                • 30. Re: Create tables with spaces between cells (ie cellspacing)
                                                                  bernardc8812564 Level 1

                                                                  Well, no. This green frame is just here to test the transparency of the table.
                                                                  Most of the backgrounds will be pale grey images, or simple white.

                                                                  • 31. Re: Create tables with spaces between cells (ie cellspacing)
                                                                    SJRiegel Adobe Community Professional & MVP

                                                                    Hm.

                                                                    Don't think, that you are missing something.


                                                                    Why do you believe, that it did not work?
                                                                    Because you are seeing no gaps with the fills?


                                                                    The "normal" cell fills will not show any gaps.


                                                                    You have to use "Diagonal Lines" to fill the cells:
                                                                    With a high value for stroke style. 100 pt perhaps.

                                                                     

                                                                    Regards,
                                                                    Uwe

                                                                    That is what I was missing -- using diagonal lines for fills t

                                                                    hanks

                                                                    • 32. Re: Create tables with spaces between cells (ie cellspacing)
                                                                      Laubender Adobe Community Professional & MVP

                                                                      bernardc8812564  wrote

                                                                       

                                                                      The only problem is that, with the amount of text in each cell (and their height), every setting has to be different from a table to another …

                                                                      Hm…

                                                                      With solution #1 do you mean empty columns and rows?
                                                                      I would avoid that if possible.

                                                                       

                                                                      Regards,
                                                                      Uwe

                                                                      • 33. Re: Create tables with spaces between cells (ie cellspacing)
                                                                        Obi-wan Kenobi Adobe Community Professional

                                                                        Hi!

                                                                         

                                                                        As all seems to have already been written and to sustain a previous comment, I've really no scruple to report this video without further comment! Just for pleasure! 

                                                                         

                                                                        (^/)

                                                                         

                                                                        • 34. Re: Create tables with spaces between cells (ie cellspacing)
                                                                          Eternal Warrior Adobe Community Professional

                                                                          I don't find this video that useful Obi as I can't see how it is constructed within table or paragraph styles or whatever... sorry

                                                                          • 35. Re: Create tables with spaces between cells (ie cellspacing)
                                                                            Laubender Adobe Community Professional & MVP

                                                                            Hi Obi-wan,

                                                                            nice video.

                                                                             

                                                                            But do you have a solution showing a table where:
                                                                            1. The cells are distanced from each other with a visible gap without a colored stroke.

                                                                            2. Have a black border around the "inner area" of the cell.

                                                                            3. Have some cells' background fully transparent

                                                                            4. Have some cells' background opaque

                                                                             

                                                                            I'm up to something also with using effects but currently struggling with the bottom stroke.

                                                                            Top, left and right are ok. The problem is the bottom stroke. I am able to define one but that comes with some problems.

                                                                             

                                                                            Went back to this post by you:

                                                                            Re: transparent gradient in table cell

                                                                             

                                                                            I'm working with the effect "Differenz" in my German version.
                                                                            Is that "Difference" in English?

                                                                             

                                                                            Here a screenshot:

                                                                             

                                                                            Table-NoEmptyRowOrColumn-HowToDistanceCells-2.png

                                                                             

                                                                            The sample above would comply with items 1 to 3 of my list above.

                                                                            It will not comply to item 4, because the gray filled cells are semi-transparent.

                                                                            They have to be, because the used effect is effecting the whole text frame.
                                                                            Here a view that is showing this where I did not implemented the stroke at the bottom yet:

                                                                             

                                                                             

                                                                            Table-NoEmptyRowOrColumn-HowToDistanceCells-1.png

                                                                             

                                                                            Since I am using "Differenz" (Difference) for the effect, the used color values for the borders, the text, the Diagonal Lines and a Line Above together with a Line Below look a bit strange, but in effect will guarantee a perfect separation for CMYK printing if one rule is respected: You need a rectangle in the background with a [Paper] fill so that the effect could work against a background.

                                                                             

                                                                            Here the separation view where Black is not showing. The area where no white background is there—just the page, and that will not count as background—is showing the cells background partly as CMY 300%.

                                                                             

                                                                            Table-NoEmptyRowOrColumn-HowToDistanceCells-4.png

                                                                             

                                                                            Back to the problem with the stroke at the bottom. In my solution to make it work the stroke is influenced by text formatting.
                                                                            And that unfortunately means that I need to fill up the cell with text to get it to the right position or leaving no gap in Black at the bottom.

                                                                            You can see this in my first screenshot here with row two where I filled in some lines using paragraph signs and hard returns for text line endings.

                                                                             

                                                                            Something on the use of colors in that experimental table:

                                                                            1. I am using "Difference" as effect on the text frame holding the table.

                                                                            2. That means, that every color used for formatting inside of the table has to be the opposite what it is usually like.

                                                                            If you want e.g. a red/orange formatted word in the text with say 70 m 100 y use a color definition like: 100c 30m 0y 100k.
                                                                            Just the opposite you like to do normally. But be aware of the background. If it is a color like 100 y the background yellow will knock out the text color so the red/orange will become pure 70 Magenta.


                                                                            Why using this effect "Difference" at all?

                                                                            I wanted to find a way to get the strokes around the area with Diagonal Lines and a huge Line Above that is knocking out the stroke in the inner area if the cell should look fully transparent.

                                                                             

                                                                            The trade-offs are as described:
                                                                            1. Color interaction with the background.

                                                                            2. Opposite color values should be used in the table.

                                                                            3. Semi-transparent fills only.

                                                                            4. Works best on white background.


                                                                            But as you can see, black text on a discolored background could work well.
                                                                            Also a little trade-off here: If the discolored background is using say 3% Black in its separation, the text will get a 97% Black in effect plus the other colors with the background. In my case this could result in text color of a mix of 3c 10m 10y 97k. If one is using an image purely of CMY color and no K, the 100% K effectively of the text can be maintained.

                                                                             

                                                                            Regards,
                                                                            Uwe

                                                                            2 people found this helpful
                                                                            • 36. Re: Create tables with spaces between cells (ie cellspacing)
                                                                              Laubender Adobe Community Professional & MVP

                                                                              https://forums.adobe.com/people/Eternal+Warrior  wrote

                                                                              I don't find this video that useful Obi as I can't see how it is constructed within table or paragraph styles or whatever... sorry

                                                                              Hi EW,

                                                                              Obi-wan posted that in the middle of the night in his time zone around 3 AM.

                                                                              I guess we'll see some comments soon.

                                                                               

                                                                              Regards,
                                                                              Uwe

                                                                              • 38. Re: Create tables with spaces between cells (ie cellspacing)
                                                                                Obi-wan Kenobi Adobe Community Professional

                                                                                As my Master Yoda always said:

                                                                                 

                                                                                "Young padawan, too impatient you are!

                                                                                The Strength, your alley is and always will be! …"

                                                                                "Keep cool!, bro!"!*

                                                                                 

                                                                                Uwe is right! It was (zone) time to sleep!!

                                                                                 

                                                                                EW, Not important you don't find this video useful! I've not posted it in this way!

                                                                                 

                                                                                I've just indicated that it can be done, that it can be done by script and that it can be done in one click*!

                                                                                "Nuance !" [in French]

                                                                                 

                                                                                If I can't give you the script code**, I can tell you what it does! 

                                                                                 

                                                                                As I showed in my post#12, I used the same way as Uwe explained in his post#14 to make the stroke "invisible" [I love this feature from the Dark Side!!]

                                                                                 

                                                                                That means no effect! Just overprint!

                                                                                 

                                                                                The last issue for the op was the "supplementary stroke" around the cell!

                                                                                 

                                                                                How I do it [personal approach]?

                                                                                 

                                                                                "In a fight, what is important is to know his enemy!" [Sun Tzu, The Art of War, Vth century BC] 

                                                                                 

                                                                                Our enemy is a "table"! … So a layout structure whose main specificity is a "cells" assembly!

                                                                                Each cell has properties, especially: Width & Height! 

                                                                                 

                                                                                So, the idea is simple: As the script treats each cell, It "extracts" each cell characteristics and converts them:

                                                                                 

                                                                                • Cell color background --> "diagonalLineStrokeColor"

                                                                                • Cell color background transparency --> "diagonalLineStrokeOverprint"

                                                                                • Cell "width"

                                                                                • Cell "height"

                                                                                 

                                                                                Trick: Looping each cell, the script extracts its width/height and inserts at its para beginning an anchored rectangle [with a stroke whose color = Cell color background] whose width/height equals to them!

                                                                                 

                                                                                To "decide" if the script has to play for "headers", it will use a condition as: If the cell is an "header", don't add a rectangle! 

                                                                                 

                                                                                To finish, the script plays this music "in batch"! … So, my client, who has several hundred of tables to be treated, can now do it … in 1 click!

                                                                                Time is Money! … even if happiness has no price!

                                                                                 

                                                                                If the layout moves, just play the entire script again or its light version about anchoring!

                                                                                 

                                                                                (^/)

                                                                                 

                                                                                [ * Personal comment! ** The script use, not the script itself, has been sold [if somebody interested, PM me!] ]

                                                                                1 person found this helpful
                                                                                • 39. Re: Create tables with spaces between cells (ie cellspacing)
                                                                                  Laubender Adobe Community Professional & MVP

                                                                                  https://forums.adobe.com/people/Eternal+Warrior  wrote

                                                                                   

                                                                                   

                                                                                  However - the trouble comes when you need a completely alpha transparent background except for the cell fill.

                                                                                   

                                                                                  SOLUTION #2 - ...NOT AUTOMATIC (WITHOUT ADOBE'S HELP OR A SCRIPT) BUT STILL PRETTY QUICK IN COMPARISON:

                                                                                   

                                                                                  Again there is a slightly quicker way of doing this than the original - but it involves doubling the amount of rows and or columns that the table has and then applying an alternating cell style to every other row and column to make them effectively the correct width

                                                                                   

                                                                                  In this case 6 columns displayed here becomes 12 and 11 rows become 22.

                                                                                  Then we need to make every other row and column the desired width and height of the "stroke"...

                                                                                   

                                                                                  Personally - Adobe should have made us able to do this as part of style controls - but you would need a script to do this currently as even manually we cannot currently Ctrl or cmd click on multiple rows or columns you can only shift click...

                                                                                   

                                                                                  With this done you can create the same effect with a lot less time and effort and have transparency in the "strokes".

                                                                                   

                                                                                  Hi EW,

                                                                                  if we propose a new feature for InDesign's tables, it could be the following:


                                                                                  Allow a cell to be locked.

                                                                                   

                                                                                  In effect that would mean, if you:

                                                                                  1. Copy/paste text to a table

                                                                                  2. Update contents by using Excel files
                                                                                  3. Copy/paste cells to a table


                                                                                  two optional rules will apply:

                                                                                   

                                                                                  A. Locked cells would not be filled with incoming data.

                                                                                  The data will simply not appear. All other cells will be filled.

                                                                                  In two optional directions: Columnwise or row wise insertion.

                                                                                   

                                                                                  This could be branched out to a second optional rule that could be set in the preferences:
                                                                                  B. The next available not locked cell will be filled with any data that is applied to the table.

                                                                                  In two optional directions: Columnwise or row wise insertion.

                                                                                   

                                                                                  Option B would make a perfect solution for the OP here.

                                                                                   

                                                                                  ( I hope, Aman is still following this thread :-) )


                                                                                  Regards,
                                                                                  Uwe

                                                                                  1 2 Previous Next