<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Has anyone succeeded in inserting images in ODS Word titles with embedded titles on? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Has-anyone-succeeded-in-inserting-images-in-ODS-Word-titles-with/m-p/900528#M26419</link>
    <description>&lt;P&gt;I know that ODS EXCEL does not do preimage and postimage in titles and footnotes, and suspect that ODS WORD may be the same. Can anyone confirm and suggest a work around that isn't a Unicode font? TIA.&lt;/P&gt;</description>
    <pubDate>Sun, 29 Oct 2023 18:47:53 GMT</pubDate>
    <dc:creator>louisehadden</dc:creator>
    <dc:date>2023-10-29T18:47:53Z</dc:date>
    <item>
      <title>Has anyone succeeded in inserting images in ODS Word titles with embedded titles on?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Has-anyone-succeeded-in-inserting-images-in-ODS-Word-titles-with/m-p/900528#M26419</link>
      <description>&lt;P&gt;I know that ODS EXCEL does not do preimage and postimage in titles and footnotes, and suspect that ODS WORD may be the same. Can anyone confirm and suggest a work around that isn't a Unicode font? TIA.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 18:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Has-anyone-succeeded-in-inserting-images-in-ODS-Word-titles-with/m-p/900528#M26419</guid>
      <dc:creator>louisehadden</dc:creator>
      <dc:date>2023-10-29T18:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone succeeded in inserting images in ODS Word titles with embedded titles on?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Has-anyone-succeeded-in-inserting-images-in-ODS-Word-titles-with/m-p/900549#M26420</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Do you mean BODYTITLE vs EMBEDDED_TITLES? I think the EMBEDDED_TITLES is unique to ODS EXCEL. ODS RTF has the BODYTITLE option and ODS WORK has the sub-option BODY_TITLE='ON'.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 23:13:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Has-anyone-succeeded-in-inserting-images-in-ODS-Word-titles-with/m-p/900549#M26420</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-10-29T23:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone succeeded in inserting images in ODS Word titles with embedded titles on?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Has-anyone-succeeded-in-inserting-images-in-ODS-Word-titles-with/m-p/900644#M26423</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*You could use "proc odstext" instead of TITLE statement*/
options validvarname=any validmemname=extend nodate nonumber leftmargin=1.91cm rightmargin=1.91cm topmargin=2.54cm bottommargin=2.54cm  ; 
data 签署知情同意书;
infile cards truncover;
input a :$30. b $200.;
cards;
签署知情同意书   .
签署知情同意书日期	~{style [FONTFAMILY='Times New Roman Uni']|__|__|__|__|}年~{style [FONTFAMILY='Times New Roman Uni']|__|__|}月~{style [FONTFAMILY='Times New Roman Uni']|__|__|}日
;

ods path work.template(update) sashelp.tmplmst;
proc template;
define style styles._journal;
parent=styles.word;  
class table / margintop=20 rules=all frame=box NOBREAKSPACE=OFF outputwidth=100%  cellpadding=10 cellspacing=0 FONTFAMILY='宋体' just=l; /*cellpadding=0 cellspacing=0*/
style header from header / background=black;
end;
run;
title;
ods escapechar='~';
ods _all_ close;
ods word file="c:\temp\want.docx" style=_journal startpage=no;
proc odstext PAGEBREAK= No contents="" ;
h2 "签署知情同意书" / style={just=l color=black  fontweight=bold FONTFAMILY='宋体' fontsize=0.50cm preimage='c:\temp\sas.png' };  /*&amp;lt;----*/
run ;
data _null_; 
  set 签署知情同意书 end=last; 
    if _N_ = 1 then do; 
      dcl odsout obj(); 
      obj.table_start(); 
    end;
  ** row for every obs;
      obj.row_start(); 
  if _n_=1 then  obj.format_cell(data: a,column_span:2, style_attr:"fontweight=bold FONTFAMILY='宋体' fontsize=0.50cm background=graybb just=l" ); 
    else do;
      obj.format_cell(data: a, column_span:1, style_attr:"FONTFAMILY='宋体' fontsize=0.38cm vjust=m just=l "); 
      obj.format_cell(data: b, column_span:1, style_attr:"FONTFAMILY='宋体' fontsize=0.38cm vjust=m just=l  "); 
	end;
      obj.row_end(); 
   
  if last then do; 
      obj.table_end(); 
    end; 
run;
ods word close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1698665457320.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/89236iB3ACFEAE6ABB0B79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1698665457320.png" alt="Ksharp_0-1698665457320.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 11:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Has-anyone-succeeded-in-inserting-images-in-ODS-Word-titles-with/m-p/900644#M26423</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-10-30T11:30:57Z</dc:date>
    </item>
  </channel>
</rss>

