in previous post output text format doc/docx had many answers. said need microsoft word automate, it's pretty hard. on msdn isn't tutorial step step this.
maybe sb know many , can me that? (basic includes, commands etc.)
i need tutorial step-by-step, because i'm newbie(that said in previous post ;p)
or maybe saving .rtf file easier? if yes maybe sb can ? (i'm try use it, code:
fstream file; file.open("try.rtf", ios::out | ios::app); if(file.good() == true) { file << "{\rtf hi!\par give {\b money}.\par }"; file.close(); }
but doesn't working (creating file, text in .rtf file:
{ tf hi!par give { money}.par }
:( )
so don't know this.)
so if know use word automate/saving rtf , can me (step-by-step) write here, please!
'\' character used escape sequences, if want print have use "\\" in string instead of '\' .
for example in code
file << "{\\rtf hi!\\par give {\\b money}.\\par }";
Comments
Post a Comment