Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Lotus Expeditor Forum

Lotus Expeditor Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


John Ormerod 21.Dec.07 05:36 AM Lotus Notes
Toolkit 6.1 Windows XP


Hello
I may have to ask this on a relevant Eclipse forum for a definitive answer, but if possible I would like to find out whether there is anything in the Expeditor customisation that could contribute to the state in which Excel, Word and PowerPoint files open.

I have used the following articles as the basis for my trial code:
http://www.vogella.de/articles/EclipseMicrosoftIntegration/article.html
I used this to give me the basis for creating a new Office doc, except that I created a ClientServices project rather than a normal plugin.
I got the info on how to open an existing Office document from:
http://www.eclipse.org/articles/Article-ActivexSupportInSwt/index.html

The code snippets for opening is as follows:

OleFrame frame = new OleFrame(parent, SWT.NONE);
// Next 3 for opening a file
File file = new File("E:\\TEMP\\HelloWorld.doc");
site = new OleClientSite(frame, SWT.NONE, file);
int ret = site.doVerb(OLE.OLEIVERB_PRIMARY);

or
// Next statement for creating a new file
// site = new OleClientSite(frame, SWT.NONE, "Word.Document");

When the view opens with a new or existing doc, instead of being full page, there is only the top line visible. You have to do some tricky grabbing with the mouse to drag the file to full screen. Ppt is even worse - you have to click in the presentation and then drag that. This state of affairs would not be acceptable to end users. Is it possible to get the doc to fill the view when it opens?

The other main issue concerns opening an existing Office doc. I had to use a different doVerb value for each type to get the file to open so that the document was usable:

Word seems tolerant of OPEN and INPLACEACTIVATE as well as PRIMARY.
Excel only shows the whole file when using OPEN (but there is a separate excel window floating behind Expeditor client only showing one cell), with other doVerb values, Excel only shows one cell!
PowerPoint always opens in screen-show mode, except when using INPLACEACTIVATE.

Not much consistency here.

The second article above, gives some detail on what seem to be more advanced ways to interact with Office docs (Exec command and IDispatch). Do I have to get to grips with these to get acceptable behaviour?

Regards, John






Problems embedding MS Office into E... (John Ormerod 21.Dec.07)
. . Problems embedding MS Office into E... (John Ormerod 7.Jan.08)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow