Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

Can I modify the styles for the table continuation markers?

Community Beginner ,
Sep 01, 2023 Sep 01, 2023

In the Settings for a PDF Template you can choose to include table continuation markers (Continued from page x, Continued on page x), which is fantastic, but I can't find a style associated with these markers so that I can modify the text (font, size) or placement (left, right). Is this possible in RoboHelp 2022.3.93?

701
Translate
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

correct answers 2 Correct answers

Community Expert , Sep 05, 2023 Sep 05, 2023

@mai-ann.sprung 

I have been given this code by Adobe. Put it at the end of your layout.css file. The text I have put in blue is mandatory, the definitions in between are whatever you want.

 

div.table-cont::-ro-before-break {
font-family: Verdana, sans-serif;
text-align: center;
font-weight: bold;
color: red;
}

div.table-cont::-ro-after-break {
font-family: Verdana, sans-serif;
text-align: center;
font-weight: bold;
color: blue;
}
________________________________________________________
...
Translate
Community Expert , Sep 06, 2023 Sep 06, 2023

I worked it out. Try adding !important to the alignment.

 

text-align: left!important;

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Translate
Community Expert ,
Sep 01, 2023 Sep 01, 2023

It's a guess but try looking in layout.css in the template files. 

________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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 Beginner ,
Sep 01, 2023 Sep 01, 2023

I checked there and in the content.css, but found nothing related to table styles at all, let alone the continuation markers. I suspect it is not something that has been exposed yet, but it would be nice to be able to customize those markers.

Translate
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 ,
Sep 01, 2023 Sep 01, 2023

I'd generate it as is & then use your browser inspection tool to see what css is being applied to it - that might give you a lead on where it's hiding.

Translate
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 Beginner ,
Sep 01, 2023 Sep 01, 2023

I tried this suggestion as well, with both Mozilla Firefox and Google Chrome, but it seems that the inspection tool does not parse out the .css information from a PDF (unless I've missed something in the instructions; I'd never used a browser inspection tool before).

Translate
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 ,
Sep 05, 2023 Sep 05, 2023

Sorry, I completely missed the bit where you talked about PDF - I was thinking HTML output.

Translate
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 ,
Sep 02, 2023 Sep 02, 2023

At first I thought it was using the same style as the P tag but I disproved that. I have asked Adobe if it can be formatted now or if a feature request is submitted. I will let you know.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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 ,
Sep 03, 2023 Sep 03, 2023

It used to be that PDF would go via a html process first. Sometimes you could view that output by killing robohelp part way through generation. I haven't tried in RH2022 and I doubt Adobe would recommend the technique, but it's something you could try. Also note I only ever tried viewing the output in a text editor, not in a browser.

Translate
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 ,
Sep 05, 2023 Sep 05, 2023

@mai-ann.sprung 

I have been given this code by Adobe. Put it at the end of your layout.css file. The text I have put in blue is mandatory, the definitions in between are whatever you want.

 

div.table-cont::-ro-before-break {
font-family: Verdana, sans-serif;
text-align: center;
font-weight: bold;
color: red;
}

div.table-cont::-ro-after-break {
font-family: Verdana, sans-serif;
text-align: center;
font-weight: bold;
color: blue;
}
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
 
Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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 Beginner ,
Sep 06, 2023 Sep 06, 2023

Hi Peter, thanks so much for this fix. I did copy the text provided into the layout.css, and that got me partway there...

Font size, color, etc. is working, but the text-align code is being ignored. Is there another way to set the alignment?

Translate
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 ,
Sep 06, 2023 Sep 06, 2023

I'll see what I can find out.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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 ,
Sep 06, 2023 Sep 06, 2023

I worked it out. Try adding !important to the alignment.

 

text-align: left!important;

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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 Beginner ,
Sep 07, 2023 Sep 07, 2023
LATEST

That did it! I had hoped that the right alignment would align the marker with the table, but it doesn't. But the left side works, and that's good enough for now.

 

Thanks again Peter!

Translate
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
Resources
RoboHelp Documentation
Download Adobe RoboHelp