취소
다음에 대한 결과 표시 
표시  만  | 다음에 대한 검색 
다음을 의미합니까? 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
언어 선택 변환 막대 숨기기
ComplexNerd
Level III

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 

Aadit_0-1709323214476.png

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

 

1 채택된 솔루션

채택된 솔루션
jthi
Super User

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).

-Jarmo

원본 게시물의 솔루션 보기

2 응답 2
jthi
Super User

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).

-Jarmo
ComplexNerd
Level III

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.

추천 글