11-21-2019
formerRuser
Fluorite | Level 6
Member since
05-01-2019
- 12 Posts
- 0 Likes Given
- 0 Solutions
- 4 Likes Received
-
Latest posts by formerRuser
Subject Views Posted 1489 11-18-2019 05:51 PM 1519 11-18-2019 03:24 PM 728 10-30-2019 07:02 PM 753 10-28-2019 02:55 PM 1302 09-09-2019 08:06 PM 1058 06-27-2019 05:26 PM 1059 06-27-2019 05:25 PM 1107 06-25-2019 12:32 PM 2396 05-03-2019 12:38 PM 2454 05-01-2019 05:01 PM -
Activity Feed for formerRuser
- Posted Re: When you have a background image, how do you remove borders from odstext in ods pdf? on ODS and Base Reporting. 11-18-2019 05:51 PM
- Posted When you have a background image, how do you remove borders from odstext in ods pdf? on ODS and Base Reporting. 11-18-2019 03:24 PM
- Tagged When you have a background image, how do you remove borders from odstext in ods pdf? on ODS and Base Reporting. 11-18-2019 03:24 PM
- Tagged When you have a background image, how do you remove borders from odstext in ods pdf? on ODS and Base Reporting. 11-18-2019 03:24 PM
- Tagged When you have a background image, how do you remove borders from odstext in ods pdf? on ODS and Base Reporting. 11-18-2019 03:24 PM
- Tagged When you have a background image, how do you remove borders from odstext in ods pdf? on ODS and Base Reporting. 11-18-2019 03:24 PM
- Tagged When you have a background image, how do you remove borders from odstext in ods pdf? on ODS and Base Reporting. 11-18-2019 03:24 PM
- Posted Can you have different column widths in different rows in RWI without merging cells? on ODS and Base Reporting. 10-30-2019 07:02 PM
- Tagged Can you have different column widths in different rows in RWI without merging cells? on ODS and Base Reporting. 10-30-2019 07:02 PM
- Posted Why won't objectlabel="" remove the second node in the Table of Contents for a data null image? on ODS and Base Reporting. 10-28-2019 02:55 PM
- Posted How do I change how odstext headers appear in ODS PDF output using proc template? on ODS and Base Reporting. 09-09-2019 08:06 PM
- Posted Re: Can you remove tags from some items in accessible ODS PDF output? on ODS and Base Reporting. 06-27-2019 05:26 PM
- Posted Re: Can you remove tags from some items in accessible ODS PDF output? on ODS and Base Reporting. 06-27-2019 05:25 PM
- Tagged Can you remove tags from some items in accessible ODS PDF output? on ODS and Base Reporting. 06-25-2019 12:57 PM
- Tagged Can you remove tags from some items in accessible ODS PDF output? on ODS and Base Reporting. 06-25-2019 12:57 PM
- Tagged Can you remove tags from some items in accessible ODS PDF output? on ODS and Base Reporting. 06-25-2019 12:57 PM
- Tagged Can you remove tags from some items in accessible ODS PDF output? on ODS and Base Reporting. 06-25-2019 12:57 PM
- Tagged Can you remove tags from some items in accessible ODS PDF output? on ODS and Base Reporting. 06-25-2019 12:57 PM
- Tagged Can you remove tags from some items in accessible ODS PDF output? on ODS and Base Reporting. 06-25-2019 12:57 PM
- Posted Can you remove tags from some items in accessible ODS PDF output? on ODS and Base Reporting. 06-25-2019 12:32 PM
-
My Liked Posts
Subject Likes Posted 2 05-01-2019 05:01 PM 2 05-01-2019 04:04 PM
11-18-2019
05:51 PM
Thank you, Cynthia! This solved my problem.
... View more
11-18-2019
03:24 PM
Hello community, When I run the following code with the style body from body statement (inserting a background image), it puts borders around my paragraph ods text. I do not want borders around any text. I've tried putting borderstyle=hidden, borderwidth=0pt, bordercolor=white, etc. into the body statement and into the paragraph style statement to no avail. I tried the style usertext from usertext approach to removing borders with no avail. Yet, when you run the following code without the style body from body statement, there are no borders on the odstext. Why is this happening, and how can I simultaneously have no borders around text and still have a background image? ods _all_ close;
ods noresults;
ods escapechar="^";
Options orientation=portrait
papersize=letter
nodate nonumber
topmargin = 0.25in
bottommargin = 0.25in
leftmargin = 0.25in
rightmargin = 0.25in;
proc template;
define style Styles.mystyle;
parent = Styles.Pearl;
/* Adding a background image keeps adding borders to the paragraph ods text? */
style body from body /
backgroundimage="C:\...\.png?height=3cm";
/* But if you comment out the above code, the borders go away */
style myheader /
foreground=red fontsize=14pt fontweight=bold fontfamily="Calibri";
style myparagraph /
foreground=black fontsize=12pt fontfamily="Times Roman";
end;
run;
ods pdf file="C\...\testpdf.pdf"
accessible
style=Styles.mystyle;
ods layout absolute;
ods region y=1in;
proc odstext;
H "My Header Here" /
style=myheader;
run;
proc odstext;
P "My paragraph here" /
style=myparagraph;
run;
ods layout end;
ods pdf close;
... View more
10-30-2019
07:02 PM
Hello community, I want to produce a table that looks like this (although I made this example in Word): I know this looks bizarre, but we cannot have merged cells for screen readers. Therefore, I need a tiny third column in the first header row (noted with the red arrow, which I'd then make the left border hidden, but I am showing the border here for illustrative purposes) to make it look like there's a merged cell when in fact there is not. For instance, above the leftmost "Header" is another cell with the bottom border hidden to make it look as though there's a vertical merged cell, when there is not. Is it possible to break the continuity of columns like this using RWI? Basically, can there be different columns widths across different rows? When I manually adjust cell widths, subsequent rows keep adjusting to the cell width of the first row, and the table ends up looking more like this example: Here's some example code of what I was trying: data _null_; set mydata; if _n_=1 then do; declare odsout obj(); obj.table_start(); obj.head_start(); obj.row_start(); obj.format_cell(data:"Blank Cell Same Color as Background", style_attr:"attributes here", column_span:1, width:"2.25in"); obj.format_cell(data:"Header", style_attr:"attributes here", column_span:1, width:"1.19in"); obj.format_cell(data:"Blank Cell Same Color as Background", style_attr:"attributes here", column_span:1, width:"0.01in"); obj.row_end(); obj.row_start(); obj.format_cell(data:"Header", style_attr:"attributes here", column_span:1, width:"2.25in"); obj.format_cell(data:"Sub-header", style_attr:"attributes here", column_span:1, width:"0.60in"); obj.format_cell(data:"Sub-header", style_attr:"attributes here", column_span:1, width:"0.60in"); obj.row_end(); obj.head_end(); end; obj.row_start(); obj.format_cell(data:data1, style_attr:"attributes here"); obj.format_cell(data: data2, style_attr:"attributes here"); obj.format_cell(data: data3, style_attr:"attributes here"); obj.row_end(); run; Thank you!
... View more
10-28-2019
02:55 PM
Hello all, According to Paper 252-2011, "Let's Give 'Em Something to ToC about: Transforming the Table of Contents of Your PDF File", by Bari Lawhorn, the second node for a data step object in your PDF can be removed by adding "file print ods=(objectlabel="");" to the data step (Page 8). However, when I do this, I still have the second node "Data NULL Table" in my Table of Contents. What am I missing? Please see my code and a picture of the table of contents below: ods _all_ close;
ods noresults;
title;
footnote;
Options orientation=portrait
papersize=letter
nodate nonumber;
ods pdf file="X:\...\test.pdf";
ods proclabel="My Image";
data _null_;
file print ods=(objectlabel="");
declare odsout obj();
obj.image(file:"X:\...\myimage.jpg",
width: "1.0in", height: "1.5in",
just: c);
run;
ods pdf close;
... View more
09-09-2019
08:06 PM
Hello community, How do I change how odstext headers appear using proc template? For example, when I replace the foreground header options in proc template using replace color list and replace colors, the color of the headers does not change, although I can change the color of the paragraph text just fine. I know I could change the color within odstext style options, but what if I would like to apply changes to the whole document? For example, if I wanted to set all headers to the color purple. Here is my failed attempt: proc template;
define style Styles.teststyle;
parent = Styles.Printer;
replace color_list from color_list /
'fgH' = purple /* Attempt to change header color to purple */
'fg' = green
'bg' = white
'headerbg' = white
'headerbgemph' = white
'headerbgstrong' = white;
replace colors from colors /
'headerfgstrong' = color_list('fgH') /* Further attempt to change header color */
'headerbgstrong' = color_list('bgH')
'headerfg' = color_list('fgH'); end; run;
ods pdf
file = "C:\...\TestReport.pdf"
style = teststyle;
ods layout start;
ods region x=0.00in
y=1.00in;
proc odstext contents="";
P "";
H "Test header"; /* Here is my header */
P "";
P "Test text test text test text";
run;
ods layout end;
ods pdf close; Thank you in advance.
... View more
06-27-2019
05:26 PM
Okay, I'll try reaching out to tech support for removing tags for footnotes.
... View more
06-27-2019
05:25 PM
Thanks, I'll incorporate this for spacing.
... View more
06-25-2019
12:32 PM
Hello community, I'm building accessible, 508 compliant PDFs in SAS 9.4 using ODS PDF. I need most items in the PDF to be "tagged" so that screen readers can navigate the document for the visually impaired. Therefore, I have turned on the "accessible" option. However, sometimes there are items which I do not want tagged: for instance, an empty P""; return in ODS TEXT or a footnote (see example below). How can I remove/prevent tags for some items in the PDF? (Now, I know that space between paragraphs could also be created using ods region, but I am creating thousands of PDFs automatically where the amount of information on each page differs, so I need the positioning of the paragraphs to be automatic. However, I am definitely open to other suggestions.) Here is some mock code: options orientation=portrait papersize=letter
nodate nonumber
topmargin = 0.25in
bottommargin = 0.25in
leftmargin = 0.50in
rightmargin = 0.50in;
title;
ods pdf file="filepathhere\test.pdf"
title = "My title here"
author = "Me"
accessible
notoc;
ods layout start style={bordercolor=white borderwidth=0pt};
ods region x=0.00in
y=1.00in;
ods proclabel="Tagging this section I think";
proc odstext contents=""; /* Trying to avoid a tag here */
H "This is my heading"
/ style={font_face='calibri' fontsize=20pt just=c fontweight=bold};
P "This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. "
/ style={font_face='times new roman' fontsize=11pt just=l};
P ""; /* This is a space between my two paragraphs, which I do not want tagged as a paragraph. */
P "This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. "
/ style={font_face='times new roman' fontsize=11pt just=l};
run;
footnote1 h=10pt j=r f='calibri' "This is my footnote"; /* I do not want the footnote tagged either */
ods layout end;
ods pdf close;
... View more
05-03-2019
12:38 PM
Okay that's interesting. Thank you for investigating!
... View more
05-01-2019
05:01 PM
2 Likes
Well it's good to know I'm not alone. I hope so, too. I do not currently have access to Adobe Pro unfortunately, but thank you for the suggestion.
... View more
05-01-2019
04:45 PM
Hello, Here's the code which produces commas but also produces quotation marks: ods pdf file="filepath\filename.pdf" title = "title of PDF" author = "author here" subject = "subject here" keywords = "keyword, keyword, key word, key word, key word" style = manual_style dpi=500 accessible notoc; I've also tried single quotation marks, but it still produces double quotation marks.
... View more
05-01-2019
04:04 PM
2 Likes
Hello community, I am using ODS PDF to create PDFs in SAS 9.4, and I'm encountering a problem when adding keywords to the properties/metadata for my PDFs (using this: http://support.sas.com/documentation/cdl/en/graphref/65389/HTML/default/viewer.htm#p01sq0s49g1pxon1pc5ktjcjxfvx.htm) In the properties of the PDFs for Keywords I want to see this: key word1, key word2, key word3 My keywords have spaces in them, so I need to separate them with commas to meet company guidelines. However, if I write keywords="key word1, key word2, key word3" then double quotation marks show up around the entire list in the properties. If I write keywords="key word1 key word2 key word3" then I don't get double quotation marks in the properties, but I don't get my commas either. Semi-colons do not work either. Is there any way that I can get commas between my keywords but not have quotation marks around the entire list? I need two word keywords to be recognized as one unit and not two separate keywords. Manually deleting the quotation marks after production is not feasible because I am generating thousands of PDFs. Thank you in advance. I searched but could not find an answer to this elsewhere.
... View more