- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Outline Box with title and image and other details
Hello guys,
I am trying to create a journal which is exported into ppt later (adding just the snippet of code)
obpic = OutlineBox("Page "|| char(pageno), OutlineBox("Title of Presenation",(PictureBox(tmpic))) );
obpic << journal;
jjrn <<Save Presentation("$TEMP/saveppt.pptx", Outline Titles("BottomRight"), "PNG");
when i perform this i get
title at top and page number at bottom which is perfect. But along with title i want to add logo author name etc ... Outline box only allows char for title. any alternatives or idea how to overcome this. Thanks in advance
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Outline Box with title and image and other details
You might have to do something like this as you don't have too much control on the powerpoint layout (use images to workaround some of the issues)
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb_expr = Expr(dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
));
rep = V List Box(Align("right"),
H List Box(align("center"),
Text Box("Title of presentation", << Set Font Size(50)), Icon Box("JMPLogo")
),
gb_expr
);
vlb = V List Box(rep << get picture);
vlb << journal;
//Try(Delete File("$TEMP/saveppt.pptx"));
Current Journal() << Save Presentation("$TEMP/saveppt.pptx", Outline Titles("BottomRight"), "PNG");
Or you could write python script and call that from JMP to create the powerpoint (provide it with images and maybe text from JMP).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Outline Box with title and image and other details
You might have to do something like this as you don't have too much control on the powerpoint layout (use images to workaround some of the issues)
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb_expr = Expr(dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
));
rep = V List Box(Align("right"),
H List Box(align("center"),
Text Box("Title of presentation", << Set Font Size(50)), Icon Box("JMPLogo")
),
gb_expr
);
vlb = V List Box(rep << get picture);
vlb << journal;
//Try(Delete File("$TEMP/saveppt.pptx"));
Current Journal() << Save Presentation("$TEMP/saveppt.pptx", Outline Titles("BottomRight"), "PNG");
Or you could write python script and call that from JMP to create the powerpoint (provide it with images and maybe text from JMP).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Outline Box with title and image and other details
@jthi Thanks ... I got the basic idea how to perform this ..
Additionally i explored using Lineup Ruler Box() and got width of image im going to fit so as to better allign title and logo and size it accordingly.