Date: Tue, 22 Jan 2008 06:24:46 -0800
Reply-To: "firstname.lastname@example.org" <ajs2004@BIGFOOT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "email@example.com" <ajs2004@BIGFOOT.COM>
Subject: Re: SAS create "searchable" graph in word?
Content-Type: text/plain; charset=ISO-8859-1
You can easily get the titles and footnotes as real text ..
An Introduction to Exporting SAS/Graph Output to Microsoft Office SAS
Release 8.2 and higher
ODS RTF Statement
Here's an example that creates an rtf file (which you can open in
Word). Notice the use of the options bodytitle nogfootnote nogtitle.
do x = 1 to 5 by 0.1;
y = sin(x);
ods listing close;
ods rtf file='example1.rtf' bodytitle nogfootnote nogtitle;
proc gplot data=sample;
plot y * x;
title1 'This is a graph title';
footnote1 'This is footnote1';
ods rtf close;
You can probably use other types of file, like CGM or EPS or HTM, to
get similar results.
I expect there are ways to get all the text in this way. I can't
figure it out quickly, but I bet it's something to do with
Using Hardware Fonts
On Jan 22, 12:37 am, ya.hu...@AMYLIN.COM (Ya Huang) wrote:
> Hi there,
> A friend of mine asked me if there is a SAS driver that can create a SAS
> graph which later inserted into MS WORD and is searchable. Here "searchable"
> means one can use FIND command (ctrl/F) to search certain text string,
> which is part of the X/Y axis label or Title or Footnote. To me, it is
> impossible(?) to search a graph if it is in raster/bitmap format. It may
> be possible to search a graph if it is in vector format, such as EMF.
> I did a test where a word file include several emf graph. What I found is
> that it is possible to search a string in the X/Y label, but that picuture
> has to be selected and switched to "picture edit" mode, and it can only
> be done for one graph, since I can't select multiple graphs and switch
> all of them to "picture edit" mode in the same time.
> Any one good at WORD know if it is possible to search all the emf graphs
> in a word file? Or better yet, maybe there is another format which is