Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to protect image and text from page break

Former Member
0 Kudos

Hi

I have set on a smartform a single row which contains two columns. The first column has an image, and the second has some text. I want the program to send the whole row to the next page if it does not fit the page, instead of breaking it up in separate portions. I already set the line break protection in Table > Details, but that did not work. Also, if i go to the output options in the text, the option to protect from break is not enabled. How can I do this?

Thanks,

Gabriel

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Thank you very much all for your replies.

What I did at the end to solve the issue was to use a template with one row and two columns, and in each column I added the element I wanted.

13 REPLIES 13

Florian
Active Contributor
0 Kudos

Hi Gabriel,

create a folder above, after it drag and drop your line into the folder and there you got the option to protect the line. I think this will work, but never tried it with an image.

What about the settings of the image. It is a SE78 graphic, is it?

~Florian

Former Member
0 Kudos

Not sure how to make it work. As it basically is a table with one row, if I place it under a folder, the folder has the line protection checkbox disabled. And yes, it is a SE78 graphic.

Florian
Active Contributor
0 Kudos

Hi Gabriel,

just tested it and it work fine, if I do such setting:

This is the output with:

And here without:

~Florian

Former Member
0 Kudos

you have the no page break checkbox in the table builder, as below:

0 Kudos

Exact. As I wrote ten minutes before. Thank you for the English screen

~Florian

0 Kudos

OK, well I diasgree. I was highlighting a different approach to your solution that you gave in first answer and have since supported it. You were discussing the option on the folder itself, you stated:

"create a folder above, after it drag and drop your line into the folder and there you got the option to protect the line. I think this will work, but never tried it with an image.

What about the settings of the image. It is a SE78 graphic, is it?"

I am suggesting to mark the line, in the table builder, as another solution. I am sure one of these solutions will be explored - based on which is easier to implement based on the form design so far!

Cheers

0 Kudos

No need to argue, but you just had to click on the first screenshot in the this post:

0 Kudos

This message was moderated.

0 Kudos

I'm sorry, this is just me. Do not get in a wrong way. Thank you for the screen was really serious, I promise.

~Florian

0 Kudos

Thank you very much for your replies. Actually, I had already checked that option, but it makes no difference.

0 Kudos

Hi Gabriel,

in that case you need to share more details. Perhaps you can download your form with test-data and append it to your post.

As you see above the solution works good. So it has to be a special case.

~Florian

Former Member
0 Kudos

there could be several other factors....

do you have any of the following

And additional events set that may interfere?

have you checked this setting?

If you could supply the xml of your form, i will upload it and have a look at it.

Cheers

Former Member
0 Kudos

Thank you very much all for your replies.

What I did at the end to solve the issue was to use a template with one row and two columns, and in each column I added the element I wanted.