How do I add a file to the docx/xlsx/pptx file?

C

Cindy M.

Hi David,
Is there a way through the API to add a file to and read a file from
the zip file that is a docx/xlsx/pptx file?

By API you mean an Office object model?

No, with the exception of CustomXMLParts.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 
D

David Thielen

C

Cindy M.

Hi David,
Yep - the Office object model. Because if it's being saved in
SHarePoint or OfficeLive being able to open it and write to it after
it's saved is a very iffy proposal.

Bummer.

What kind of file are you wanting to add? (I haven't been following the
Office Live/Sharepoint discussions in any detail, so I may be missing a
fact you're stated elsewhere...)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
D

David Thielen

Hi David,


What kind of file are you wanting to add? (I haven't been following the
Office Live/Sharepoint discussions in any detail, so I may be missing a
fact you're stated elsewhere...)

I want to put the data we presently save in Document.Variables in a
data file in the docx file. I figure that's a cleaner way to do it and
avoids any issues with Variables.

thanks - dave



david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
C

Cindy M.

Hi David,
I want to put the data we presently save in Document.Variables in a
data file in the docx file. I figure that's a cleaner way to do it and
avoids any issues with Variables.

And why not use a CustomXMLPart? (As per a previous discussion we had)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

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