1【20090319-02】asp.net 操作 word(转)导入COM库:Microsoft word 11.0 Object Library. 
  2【20090319-02】asp.net 操作 word(转)引用里面就增加了: 
  3【20090319-02】asp.net 操作 word(转)
  4【20090319-02】asp.net 操作 word(转)创建新Word 
  5【20090319-02】asp.net 操作 word(转)
  6【20090319-02】asp.net 操作 word(转)
  7【20090319-02】asp.net 操作 word(转)
  8【20090319-02】asp.net 操作 word(转)object oMissing = System.Reflection.Missing.Value;
  9【20090319-02】asp.net 操作 word(转)Word._Application oWord;
 10【20090319-02】asp.net 操作 word(转)Word._Document oDoc;
 11【20090319-02】asp.net 操作 word(转)oWord = new Word.Application();
 12【20090319-02】asp.net 操作 word(转)oWord.Visible = true;
 13【20090319-02】asp.net 操作 word(转)oDoc = oWord.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
 14【20090319-02】asp.net 操作 word(转)
 15【20090319-02】asp.net 操作 word(转)打开文档: 
 16【20090319-02】asp.net 操作 word(转)
 17【20090319-02】asp.net 操作 word(转)
 18【20090319-02】asp.net 操作 word(转)
 19【20090319-02】asp.net 操作 word(转)object oMissing = System.Reflection.Missing.Value;
 20【20090319-02】asp.net 操作 word(转)Word._Application oWord;
 21【20090319-02】asp.net 操作 word(转)Word._Document oDoc;
 22【20090319-02】asp.net 操作 word(转)oWord = new Word.Application();
 23【20090319-02】asp.net 操作 word(转)oWord.Visible = true;
 24【20090319-02】asp.net 操作 word(转)object fileName = @"E:CCCXCXXTestDoc.doc";
 25【20090319-02】asp.net 操作 word(转)oDoc = oWord.Documents.Open(ref fileName,
 26【20090319-02】asp.net 操作 word(转)ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing,
 27【20090319-02】asp.net 操作 word(转)ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing,
 28【20090319-02】asp.net 操作 word(转)ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing);
 29【20090319-02】asp.net 操作 word(转)
 30【20090319-02】asp.net 操作 word(转)导入模板 
 31【20090319-02】asp.net 操作 word(转)
 32【20090319-02】asp.net 操作 word(转)
 33【20090319-02】asp.net 操作 word(转)
 34【20090319-02】asp.net 操作 word(转)object oMissing = System.Reflection.Missing.Value;
 35【20090319-02】asp.net 操作 word(转)Word._Application oWord;
 36【20090319-02】asp.net 操作 word(转)Word._Document oDoc;
 37【20090319-02】asp.net 操作 word(转)oWord = new Word.Application();
 38【20090319-02】asp.net 操作 word(转)oWord.Visible = true;
 39【20090319-02】asp.net 操作 word(转)object fileName = @"E:XXXCCXTest.doc";
 40【20090319-02】asp.net 操作 word(转)oDoc = oWord.Documents.Add(ref fileName, ref oMissing, ref oMissing, ref oMissing);
 41【20090319-02】asp.net 操作 word(转)
 42【20090319-02】asp.net 操作 word(转)添加新表 
 43【20090319-02】asp.net 操作 word(转)
 44【20090319-02】asp.net 操作 word(转)
 45【20090319-02】asp.net 操作 word(转)
 46【20090319-02】asp.net 操作 word(转)object oMissing = System.Reflection.Missing.Value;
 47【20090319-02】asp.net 操作 word(转)Word._Application oWord;
 48【20090319-02】asp.net 操作 word(转)Word._Document oDoc;
 49【20090319-02】asp.net 操作 word(转)oWord = new Word.Application();
 50【20090319-02】asp.net 操作 word(转)oWord.Visible = true;
 51【20090319-02】asp.net 操作 word(转)oDoc = oWord.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
 52【20090319-02】asp.net 操作 word(转)
 53【20090319-02】asp.net 操作 word(转)object start = 0;
 54【20090319-02】asp.net 操作 word(转)object end = 0;
 55【20090319-02】asp.net 操作 word(转)Word.Range tableLocation = oDoc.Range(ref start, ref end);
 56【20090319-02】asp.net 操作 word(转)oDoc.Tables.Add(tableLocation, 34ref oMissing, ref oMissing);
 57【20090319-02】asp.net 操作 word(转)
 58【20090319-02】asp.net 操作 word(转)表插入行 
 59【20090319-02】asp.net 操作 word(转)
 60【20090319-02】asp.net 操作 word(转)
 61【20090319-02】asp.net 操作 word(转)
 62【20090319-02】asp.net 操作 word(转)object oMissing = System.Reflection.Missing.Value;
 63【20090319-02】asp.net 操作 word(转)Word._Application oWord;
 64【20090319-02】asp.net 操作 word(转)Word._Document oDoc;
 65【20090319-02】asp.net 操作 word(转)oWord = new Word.Application();
 66【20090319-02】asp.net 操作 word(转)oWord.Visible = true;
 67【20090319-02】asp.net 操作 word(转)oDoc = oWord.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
 68【20090319-02】asp.net 操作 word(转)
 69【20090319-02】asp.net 操作 word(转)object start = 0;
 70【20090319-02】asp.net 操作 word(转)object end = 0;
 71【20090319-02】asp.net 操作 word(转)Word.Range tableLocation = oDoc.Range(ref start, ref end);
 72【20090319-02】asp.net 操作 word(转)oDoc.Tables.Add(tableLocation, 34ref oMissing, ref oMissing);
 73【20090319-02】asp.net 操作 word(转)
 74【20090319-02】asp.net 操作 word(转)Word.Table newTable = oDoc.Tables[1];
 75【20090319-02】asp.net 操作 word(转)object beforeRow = newTable.Rows[1];
 76【20090319-02】asp.net 操作 word(转)newTable.Rows.Add(ref beforeRow);
 77【20090319-02】asp.net 操作 word(转)
 78【20090319-02】asp.net 操作 word(转)单元格合并 
 79【20090319-02】asp.net 操作 word(转)
 80【20090319-02】asp.net 操作 word(转)
 81【20090319-02】asp.net 操作 word(转)
 82【20090319-02】asp.net 操作 word(转)object oMissing = System.Reflection.Missing.Value;
 83【20090319-02】asp.net 操作 word(转)Word._Application oWord;
 84【20090319-02】asp.net 操作 word(转)Word._Document oDoc;
 85【20090319-02】asp.net 操作 word(转)oWord = new Word.Application();
 86【20090319-02】asp.net 操作 word(转)oWord.Visible = true;
 87【20090319-02】asp.net 操作 word(转)oDoc = oWord.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
 88【20090319-02】asp.net 操作 word(转)
 89【20090319-02】asp.net 操作 word(转)object start = 0;
 90【20090319-02】asp.net 操作 word(转)object end = 0;
 91【20090319-02】asp.net 操作 word(转)Word.Range tableLocation = oDoc.Range(ref start, ref end);
 92【20090319-02】asp.net 操作 word(转)oDoc.Tables.Add(tableLocation, 34ref oMissing, ref oMissing);
 93【20090319-02】asp.net 操作 word(转)
 94【20090319-02】asp.net 操作 word(转)Word.Table newTable = oDoc.Tables[1];
 95【20090319-02】asp.net 操作 word(转)object beforeRow = newTable.Rows[1];
 96【20090319-02】asp.net 操作 word(转)newTable.Rows.Add(ref beforeRow);
 97【20090319-02】asp.net 操作 word(转)
 98【20090319-02】asp.net 操作 word(转)Word.Cell cell = newTable.Cell(11);
 99【20090319-02】asp.net 操作 word(转)cell.Merge(newTable.Cell(12));
100【20090319-02】asp.net 操作 word(转)
101【20090319-02】asp.net 操作 word(转)单元格分离 
102【20090319-02】asp.net 操作 word(转)
103【20090319-02】asp.net 操作 word(转)object oMissing = System.Reflection.Missing.Value;
104【20090319-02】asp.net 操作 word(转)Word._Application oWord;
105【20090319-02】asp.net 操作 word(转)Word._Document oDoc;
106【20090319-02】asp.net 操作 word(转)oWord = new Word.Application();
107【20090319-02】asp.net 操作 word(转)oWord.Visible = true;
108【20090319-02】asp.net 操作 word(转)oDoc = oWord.Documents.Add(oMissing, ref oMissing, ref oMissing);
109【20090319-02】asp.net 操作 word(转)
110【20090319-02】asp.net 操作 word(转)object start = 0;
111【20090319-02】asp.net 操作 word(转)object end = 0;
112【20090319-02】asp.net 操作 word(转)Word.Range tableLocation = oDoc.Range(ref start, ref end);
113【20090319-02】asp.net 操作 word(转)oDoc.Tables.Add(tableLocation, 34ref oMissing, ref oMissing);
114【20090319-02】asp.net 操作 word(转)
115【20090319-02】asp.net 操作 word(转)Word.Table newTable = oDoc.Tables[1];
116【20090319-02】asp.net 操作 word(转)object beforeRow = newTable.Rows[1];
117【20090319-02】asp.net 操作 word(转)newTable.Rows.Add(ref beforeRow);
118【20090319-02】asp.net 操作 word(转)
119【20090319-02】asp.net 操作 word(转)Word.Cell cell = newTable.Cell(11);
120【20090319-02】asp.net 操作 word(转)cell.Merge(newTable.Cell(12));
121【20090319-02】asp.net 操作 word(转)
122【20090319-02】asp.net 操作 word(转)object Rownum = 2;
123【20090319-02】asp.net 操作 word(转)object Columnnum = 2;
124【20090319-02】asp.net 操作 word(转)cell.Split(ref Rownum, ref  Columnnum);
125【20090319-02】asp.net 操作 word(转)
126【20090319-02】asp.net 操作 word(转)通过段落控制插入 
127【20090319-02】asp.net 操作 word(转)
128【20090319-02】asp.net 操作 word(转)object oMissing = System.Reflection.Missing.Value;
129【20090319-02】asp.net 操作 word(转)object oEndOfDoc = @""endofdoc"; /* endofdoc is a predefined bookmark */
130【20090319-02】asp.net 操作 word(转)
131【20090319-02】asp.net 操作 word(转)//Start Word and create a new document.
132【20090319-02】asp.net 操作 word(转)
133【20090319-02】asp.net 操作 word(转)Word._Application oWord;
134【20090319-02】asp.net 操作 word(转)Word._Document oDoc;
135【20090319-02】asp.net 操作 word(转)oWord = new Word.Application();
136【20090319-02】asp.net 操作 word(转)oWord.Visible = true;
137【20090319-02】asp.net 操作 word(转)oDoc = oWord.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
138【20090319-02】asp.net 操作 word(转)
139【20090319-02】asp.net 操作 word(转)//Insert a paragraph at the beginning of the document.
140【20090319-02】asp.net 操作 word(转)
141【20090319-02】asp.net 操作 word(转)Word.Paragraph oPara1;
142【20090319-02】asp.net 操作 word(转)oPara1 = oDoc.Content.Paragraphs.Add(ref oMissing);
143【20090319-02】asp.net 操作 word(转)oPara1.Range.Text = "Heading 1";
144【20090319-02】asp.net 操作 word(转)oPara1.Range.Font.Bold = 1;
145【20090319-02】asp.net 操作 word(转)oPara1.Format.SpaceAfter = 24;    //24 pt spacing after paragraph.
146【20090319-02】asp.net 操作 word(转)
147【20090319-02】asp.net 操作 word(转)oPara1.Range.InsertParagraphAfter();
148【20090319-02】asp.net 操作 word(转)

 

 

Microsoft Office 2000 开发人员对象模型指南

 

 

相关文章:

  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2021-10-13
  • 2022-12-23
  • 2021-07-14
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2022-02-18
  • 2021-06-23
  • 2021-06-23
  • 2021-12-19
  • 2022-12-23
相关资源
相似解决方案