BookmarkSubscribeRSS Feed
Doug____
Pyrite | Level 9

If text runs past a cell border in ODS PDF what options are there to force it to remain within the border lines? 

5 REPLIES 5
Reeza
Super User
What do you want to happen in that case? Do you want it to wrap? Truncate?
Doug____
Pyrite | Level 9

It is wrapping already but the text runs past the borders on several lines in the same cell. This is a straight data dump from a dataset to proc report. 

 

options  orientation = landscape topmargin = 0.3in bottommargin= 0.3in leftmargin = 0.3in rightmargin = 0.3in printerpath = pdf;
ods pdf file = ".\Documents\Reports\Listings.pdf" style= Style01 pdftoc = 1 contents = no ;

ballardw
Super User

In what output? Proc Report or some other procedure tables? Graph? ODS Text?

Code and output example might help having to ask a bazillion detail questions one at a time.

Might need to include the ODS PDF statement as well to see the options used.

Doug____
Pyrite | Level 9

In what output? Proc Report or some other procedure tables? Graph? ODS Text?

Code and output example might help having to ask a bazillion detail questions one at a time.

Might need to include the ODS PDF statement as well to see the options used.

 

Proc report - straight data dump with no computations, no call defines, no across no groupings just a dump. Some ODS proc label statements for the bookmarks. Every variable in every listing is DISPLAY.

 

options orientation = landscape topmargin = 0.3in bottommargin= 0.3in leftmargin = 0.3in rightmargin = 0.3in printerpath = pdf;
ods pdf file = ".\Documents\Reports\Listings.pdf" style= Style01 pdftoc = 1 contents = no ;

 

Cynthia_sas
SAS Super FREQ

Hi:

  If you cannot show your data or a sample of your data and ALL of your code, it is very hard for anyone to make constructive suggestions. I have never seen output in ODS PDF go past the border of a cell. I also notice that you're using your own STYLE template. A custom style template can also impact your PDF output. Even with a custom style, I've not seen text go past the border of a cell, so this might be something you need to work on with Tech Support because they can look at ALL your data and ALL your code including your STYLE template and ALL your PROC REPORT code and try to figure out what your issue might be. First, they will try to duplicate your results. And if they observe the same results, then they will figure out whether you have discovered a defect or whether there is something wrong in your code or template. To open a track with Tech Support, fill out the form at this link: http://support.sas.com/ctx/supportform/createForm

Cynthia

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 614 views
  • 2 likes
  • 4 in conversation