Has anyone been able to insert a caption in a word document? I`m able to create the document and obtain selections. I have managed to insert text, paragraphs, tables and changing the font, but I can`t get the InsertCaption to work.
http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
I have tried amongst others
selection_->dynamicCall("InsertCaption(const QVariant&,const QVariant&,const QVariant&,const QVariant&,const QVariant&","Label","title","","wdCaptionPositionBe low",0); //and
selection_->dynamicCall("InsertCaption(Label,TitleAutoText,Ti tle,Position,ExcludeLabel",label,title,"","wdCapti onPositionBelow",false);
The selection object is valid, I have as mentioned managed to other stuff with it.
-Ivar
Bookmarks