Copy link to clipboard
Copied
Hi
is there a way to define paragraph style that append a character at end of paragraph ??
I want to define a paragraph style that place a character at next line of end of paragraph.
whenever i applied that style on my paragraph this will automatically add that character at next line.
for example, my paragraph is "My name is ABCD", whenever i applied that style on it this will look like
"My name is ABCD"
"D"
here "D" is character placed at last line.
thanks
Copy link to clipboard
Copied
I don't think you can get this behaviour by just applying a style.
However, something a grep F/C would easily do
applied style myStyle
FIND (.+)
Replace $1\rD
Copy link to clipboard
Copied
Thanx for quick reply,
But I am having problem scenario such that create a template and define paragraph style in it. using script flow content from xml and apply paragraph style in it. So i think this will not full fill my requirement.
is there another way to address this problem ????
Copy link to clipboard
Copied
First, you will need that extra line incorporated into the text imported from xml.
Next the character will have to be a single glyph in a custom font.
Then you use the same techniques you're using to apply the styles to the first paragraph to apply a second style to the "D" paragraph.
Copy link to clipboard
Copied
Hi!
Just for comment!
(^/)
Copy link to clipboard
Copied
… Of course! … where you want!
(^/)
Copy link to clipboard
Copied
Hii Obi-wan Kenobi
can you please provide the paragraph style and character style details????
Copy link to clipboard
Copied
… if you give me your name! Aha!
(^/)
Copy link to clipboard
Copied
Abhishek
Thanks in advance.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Sorry, busy!
A simple auto-numbering para style!
Note I used several spaces in "Texte après" to move the "D" on the line!
Of course, this trick only works on a one-line para! …
(^/)
Copy link to clipboard
Copied
thanx for details reply.
Copy link to clipboard
Copied
You could create a nested style that would apply none though a (trigger of your choice) and then character style through one character. Use a dingbat of some sort for the character you want to use.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Soft return.
Copy link to clipboard
Copied
The deal was:
Watching the screen … and without doing anything else but applying a para style [adding a soft return is therefore totally forbidden!], getting the result, it means a letter "D" below the para!
A true work for a Jedi!
MTFBSWO!*
(^/)
[* May The Force Be Sometime With Others!]
Copy link to clipboard
Copied
Is there any way to handle this scenario using paragraph rule, that is create rule strokes with this custom character????
Copy link to clipboard
Copied
Nope!
Unless you want a foot print, a smiley, or dog paws...
Copy link to clipboard
Copied
Hii Obi-wan Kenobi
can you please provide the paragraph style and character style details????
Copy link to clipboard
Copied
Hi
please find below another trick
I don't know how your design looks like, so it definitely might not be suitable....
The idea is to put an extra carriage after the paragraphs where you want to add the "D". I usually never recommend such a thing, but well.. this is for a trick...
Let's say your design allow Title para style (lets call it "h1"), then Normal para style, which must be followed by a "D" (lets call it "p").
You'll need a specific para style for the D, lets call it... "D" ^^
OK now, set your h1 style as being followed by "p", set "p" to be followed by "D" and "D" to be followed by "p".
Set up your "D" para style with the desired bullet...
Now, here come the "magic".
Create a new object style, based on text frame.
Go to paragraph styles submenu, select first style to apply ("h1" in this demo)
and... tick "Apply next style"
Apply this object style to your text frame.
Here's the result:
Most probably completely useless trick but... i had fun ^^
regards
Vinny