oledata.mso format

M

Mark Bedser

Hi there,

I'm trying to generate a PowerPoint presentation in "Native HTML" and want
to be able to include charts. The Microsoft® Office HTML and XML Reference
just says that this file contains proprietary format binary information.
Does anyone know if there is a specification for this (in particular what
MSGraph.Chart stores in it)?

Thanks in advance,

Regards,

Mark
 
W

Wei-Dong Xu [MSFT]

Hi Mark,

Very good question!

Powerpoint provides saveas HTML function for you. You can use the "SaveAs"
method to save the ppt directly to HTML which is well-formated for you,
then you can release it to a web server for your web users or other usage.
The demonstrated code is below:

Application.ActivePresentation.SaveAs "Old Format Copy", ppSaveAsHTML

Furhermore, you can also specify "ppSaveAsHTMLv3" and "ppSaveAsHTMLDual"
to the second argument which will give different layout for you.

Please feel free to let me know if you have any further questions.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
M

Mark Bedser

I am actually planing on generating the HTML and associated XML directly
(from a C# application that doesn't reference the PowerPoint object model)
the only bit I can't seem to generate is oledata.mso. Any more clues?

Thanks for your help.

Regards,

Mark
 
W

Wei-Dong Xu [MSFT]

Hi Mark ,

Your idea is really cool!

So far as I know, the OleData.mso file stores the information for these
inserted objects in your ppt. If you save the ppt as HTML, these inserted
ole object will store all the information in the oledata.mso. Then you can
open the powerpoint-produced htm file in powerpoint. You will find you can
still edit the inserted object in ppt as the same as ppt. And if you open
the powerpoint-produced html, you will find the similar line:

<link rel=Edit-Time-Data href="sec_files/editdata.mso">
<link rel=OLE-Object-Data href="sec_files/oledata.mso">

These means PPT can find the related information of inserted objects from
oledata.mso. If you don't want to re-edit the inserted objects of
powerpoint-produced html, you can directly delete it or move it out from
the directory. Furthermore, I don't know there is one specification for
this file.

In addition, this file exists in all the office application for the same
target which can help you re-edit all the inserted objects in office
documentations. One kb article will help you more on this issue. Please go
to:
222330 OL2000: What Is the Oledata.mso Attachment Sent with Embedded
Objects in
http://support.microsoft.com/?id=222330

Please feel free to let me know if you have any further questions.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
M

Mark Bedser

Hi there,

Thanks for this, it sounds like the answer to my question is that I can't
reliably generate an oledata.mso of my own. I think I will try another
approach. I'm about to try inserting script into my generated html ppt file
that will programmatically create the chart the first time the file is
openned (although I guess I'll run into difficulties if people choose to
disable macros).

Thanks again for your help.

Regards,

Mark
 
W

Wei-Dong Xu [MSFT]

Hi Mark,

Thank you for replying!

You are always very welcome!

Please feel free to let me know if you have any further questions.

Thank you once more for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top