Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Publishing PowerPoint presentations for Notes and Web clients (continued)

There is another feature that I put into my Presentation Form so that Notes users could view the information correctly. When you export the slide information from the HTML file that PowerPoint generates into the SlideNotes field, it also imports the HTML needed to format it correctly for viewing on the Web. Since I didn't want my Notes users seeing these HTML tags, I created a Computed for Display field that Notes users see when reading the document that takes out all of the HTML tags and replaces them with Notes equivalents or nothing. The code I used is as follows:

@Trim(@ReplaceSubstring(SlideNotes;"<P>":"<LI>":"
":"Notes:":"<STRONG>":"</STRONG>":"</FONT>":"<HR SIZE=3>":"</CENTER>":"<UL>":"</UL>":"</P>";@Char(13):"--> ":@Char(13):"":"":"":"":"":"":"":"":""))

You can see how the final result of how this looks to Notes users in Figure B.

FIGURE B


Notes users view the slides just like they would any other documents, one at a time. Roll over picture for a larger image.

For Web users, I created a view using HTML to format the slide information just how I wanted it. I put the slide number in a small cell on the left and then in the cell next to it I used the $File/filename?OpenElement URL string to display the GIF file attached to each of the slides. In the next row, I put the SlideNotes field that contains the HTML tags to format the slide notes properly so that they look good on the Web.

The Web Presentation View has three main columns. The first column is sorted and categorized by the PresentationName field. The second column is a hidden column that sorts the slides based on the SlideNumber field. And the third column contains the real meat of the view in the form of a custom HTML table. The view code is included in the listing at http://www.component-net.com/dp-extras/powerpoint-4.html.

The result of all of this coding can be seen in Figure C.

FIGURE C


This is how the presentation looks when viewed on the Web. Roll over picture for a larger image.

Remember to hide this alternate view by using parentheses and give it a synonym without spaces so it will be easier to refer to via the Domino URL syntax.

Also, you may have come to the realization that since we are displaying the slides on the Web using a view, we are in complete control of how many slides to display at a time. This is absolutely true and is one of the reasons that I'm excited about this technique. I can change how may slides my Web users see at any given time just by adding the "&count=x" argument in the URL. I can also jump into the slides at any point by using the "&start=x" argument. Here is an example:

WebPresentationView?OpenView&start=10&count=10

To customize how presentations are displayed even further, you can copy the Web Presentation View and customize it for a single presentation. Just rewrite the View Selection formula so that only the presentation you want shows in the view. This also will help prevent confusion for the readers if you have many presentations that you are trying to post that are all appearing in one view.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Microsoft Technologies > Office (7 articles)
   DAMO deep-six: is there a future for Outlook/Domino integration?
   Quick guide to using the Microsoft Outlook 2002 Connector with a Domino server
   How to easily connect Notes and Microsoft Office
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.

Register by April 10 to save $200.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login