There is a error for Word (2007,2003 and XP) Save API .

W

Weipeng

Hi experts,

I have a question for word save(2007,2003 and xp) api.

Preparation:
There is an add-in for word 2007, which only has custom button. In this
button click event, only calll save API and get the ReadonlyCommended
property.

eg : word 2007

The workflow in detail.
1.Start word 2007 application and load the above custom add-in.
1.Make sure there is a new document, which does not save.
2.Click the custom button, it will call save API and show a save dialog.
3.Select Tools button in save dialog and choose General Options item, it
will show General Options dialog. And check the Read-only Recommended, click
ok.
4. Click Save button in save dialog.
5. Get the ReadonlyCommended property. at this time, it should be TRUE, but
actually it is FALSE. So I think this is a defect of save API.

if you directly click save button for microsoft word firstly, and then do
the above workflow, this defect is not reproducible. I have test the 2007,
2003 and XP, all of them have the same issue.

Please advise me and how do I resolve this issue? I have a example(ATL
add-in) for this defect, who needs it, please contact me, my e-mail :
(e-mail address removed)

Thanks in advance.

Regards,
Weipeng
 

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