- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
pptx slide format and background color
Folks,
I've been fiddling with the text box and spacer formats so I can get an even (white) background when I save the title slide to PowerPoint. However, I cant get the backgrounds and borders to be white instead of grey (see image). I've worked on text box widths, etc, but to no avail. I've attached my script.
If anyone can see what I need to do, I would be most appreciative. Also as a side note, is there a more eloquent way of tabbing the second text box (date) to align with the first text box?
BB = Border Box(Left(50), Right(10), Sides(15),
Vlist Box(
Text box(
"<font color='Black'>Work</font>",
<< Set Font("Calibri", 30, "bold"),
<< Markup
),
Spacer Box(),
Text box(
" " || char(Abbrev Date(Today())),
<< Set Font("Calibri", 30, "bold")
)
)
);
BB << Set background color(white);
BB << Set Color("white");
slide_1 = Expr(
Vlist box(
Spacer Box(size(5,50) ),
BB
)
);
If(b==0,
slide_1a = slide_1 << Get Picture;
slide_1b = Picture Box(slide_1a);
slide_1b << Save Presentation(p1, Insert(Begin));
);
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: pptx slide format and background color
Hi Neil,
In the Styles section, it looks like the Window Background Color is not set to white by default. I'm not sure but it is possible that this default color applies to Spacer Box too.
Best,
TS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: pptx slide format and background color
Just a thought: have you look into the preferences where I believe you can define the color of different elements in JMP.
Best,
TS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: pptx slide format and background color
Thierry_S,
Many thanks for the input. I looked through the preferences, but didn't see anything that jumped out at me. Would there be a particular "Preference Group" that would be applicable?
Neil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: pptx slide format and background color
Hi Neil,
In the Styles section, it looks like the Window Background Color is not set to white by default. I'm not sure but it is possible that this default color applies to Spacer Box too.
Best,
TS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: pptx slide format and background color
TS,
Your right on the money!! The Window Background color is the overall solution. I'm guessing there is not a specific JSL command that would modulate this option without going into preferences?
Neil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: pptx slide format and background color
You can access the preferences with JSL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: pptx slide format and background color
Many thanks Mark!
Sorry for the late reply since I didn't see this thread updated. That solution is very helpful. I will look to implement into my code.
Neil