Skip to main content
Participating Frequently
November 24, 2020
Answered

"Apply" paragraph style / system to change case

  • November 24, 2020
  • 2 replies
  • 1203 views

Hi all!

I am looking for a solution to this: I need to have some basic text formatted the way I want (one line UPPERCASE, one line Sentencecase) to then be pasted on WordPress KEEPING the formatting from the paragraph style.

The source text is copied from a website, and I want to edit it as little as possible (I would end up with too much content to edit).

I will need to paste it on WordPress (as product descriptions on our shop).

 

Now, if I use nested styles (using a lot of forced line breaks to stay in the same paragraph - is this how it's done?), when I copy from indesign and paste on WordPress the case formatting is not applied. Everything is pasted in the case it was originally. 

So I thought of exporting to pdf and copy from there, and the UPPERCASE/lowercase actually ends up how I want it.
Unfortunately another problem occurs: when I paste into WordPress the forced line breaks are translated into "simple spacebar" and I need to make a lot of manual edits, which is undesirable (to me, at least).

 

Hopefully there is a simple solution...?

So far I thought I would like to "Apply" the paragraph style (much like expanding an effect in Illustrator) , so that text gets "translated" into the case I chose through the paragraph style (and doesn't just look like it is UPPERCASE, but IS UPPERCASE instead).

I kind of feel I did a horrible job at explaining myself.

 

Thank you all!

E

This topic has been closed for replies.
Correct answer hammer0909

So when you format text using a style, it will FORMAT the text as desired but the actual text could not/likely will not reflect that formatting. I think that's what you're running into. The only way to physically change the text (not just formatting) would be to use the Type > Change Case command. So you can select the first line and choose Type > Change Case > Uppercase, then select the second line and choose Type > Change Case > Sentence Case. If you have a lot of this to do, a script would probably be the way to go. I'm not a scripter but I know it can be done via a script. Maybe one of the many talended scripters on this forum could assist with that.

2 replies

BobLevine
Community Expert
Community Expert
November 24, 2020
Just write a little custom CSS for the site. InDesign will not enter into this at all.
edolat77Author
Participating Frequently
November 24, 2020

Thanks.

I wouldn't know how, I read two minutes of https://www.webucator.com/how-to/how-create-css-external-style-sheet.cfm

and... I understood next to nothing.

 

I'll look into it when I'm not on a deadline.

 

Thabks again!

hammer0909
Community Expert
hammer0909Community ExpertCorrect answer
Community Expert
November 24, 2020

So when you format text using a style, it will FORMAT the text as desired but the actual text could not/likely will not reflect that formatting. I think that's what you're running into. The only way to physically change the text (not just formatting) would be to use the Type > Change Case command. So you can select the first line and choose Type > Change Case > Uppercase, then select the second line and choose Type > Change Case > Sentence Case. If you have a lot of this to do, a script would probably be the way to go. I'm not a scripter but I know it can be done via a script. Maybe one of the many talended scripters on this forum could assist with that.

edolat77Author
Participating Frequently
November 24, 2020

Ok thanks a lot