• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how to find paragraph after the table? Is there is any script available?

Explorer ,
Dec 14, 2017 Dec 14, 2017

Copy link to clipboard

Copied

FindParagraphAfterTable.png

Regards,

Prakash Chinnasamy

Views

2.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 14, 2017 Dec 14, 2017

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 14, 2017 Dec 14, 2017

Copy link to clipboard

Copied

Hi,

Can you explain why you need to find that?

You can anyway look out for tables using a find/change like...

-Aman

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 14, 2017 Dec 14, 2017

Copy link to clipboard

Copied

Hi,

Capture d’écran 2017-12-14 à 23.46.27.png

Imho, Prakash's question could be about how to insert a carriage-return behind the first table, apply a specific para style to the para that supports each table and correct by applying another para style to the para after each table!

As somebody recently said: "easier to say than to do!" …

Not sure! … but you could need Javascript [no Grep!] to do it in 1 click!

Capture d’écran 2017-12-14 à 23.47.06.png

(^/)

[Such a script is not proposed for free because I think such a gratuity no longer values scripters' real work and knowledge, as it may have been the case by the past!]

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 14, 2017 Dec 14, 2017

Copy link to clipboard

Copied

Thanks amaarora,

I can find table. But i need paragraph after the paragraph. The space should be exist between table and paragraph. I need to give above space for that paragraph.

Regards,

Prakash Chinnasamy

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Dec 15, 2017 Dec 15, 2017

Copy link to clipboard

Copied

prakashc39562731  wrote

Thanks amaarora,

The space should be exist between table and paragraph. I need to give above space for that paragraph.

What about opening Table Options (or even better... Table Style Options if you used styles) and setting Space After?space.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 15, 2017 Dec 15, 2017

Copy link to clipboard

Copied

Vinny,

… Si c'était aussi simple ! …

Regarde la capture d'écran : il n'y a pas de retour-charriot après le tableau ! 

(^/)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 15, 2017 Dec 15, 2017

Copy link to clipboard

Copied

There is no carriage return after the table?

That does not matter 🙂

The Space After value will be applied:

SpaceAfterTable-5mm.png

But what will matter:
Is our OP working with table styles where you could add the value once and all tables where the style is applied will follow?

If not, one has to write a little script to change the spaceAfter property of all tables in the story or in the document.

But that's easy. For all tables in a story, just put the text cursor in the text and run that little ExtendScript (JavaScript) snippet:

app.selection[0].parentStory.tables.everyItem().spaceAfter = "5 mm";

For all tables of all stories* in the document:

app.documents[0].stories.everyItem().tables.everyItem().spaceAfter = "5 mm";

( *tables in footnotes are not affected )

Regards,
Uwe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 15, 2017 Dec 15, 2017

Copy link to clipboard

Copied

Uwe,

I know that but what will probably become problematic [because of the absence of a return-carriage] is if the table is horizontally centered and the text after left-aligned [sample!].

SpaceAfter or not, you'll have a problem!

(^/) 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 15, 2017 Dec 15, 2017

Copy link to clipboard

Copied

… Because, if you read the question:

how to find paragraph after the table? …

… it could be not only a matter of space after the table but a matter of para style applied to this para!!

(^/) 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 24, 2017 Dec 24, 2017

Copy link to clipboard

Copied

Hi All,

I got the solution for find the paragraph before and after the table by using table storyOffset value.

Thanks and Regards,

Prakash.C

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 27, 2017 Dec 27, 2017

Copy link to clipboard

Copied

LATEST

Hi Prakash,

yes. The value of storyOffset of a table is the first insertion point of the special character that constitutes a table.

Adobe InDesign CS6 (8.0) Object Model JS: Table

Regards,

Uwe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines