0
單詞列表我有這個方法重新啓動甚至不編號的段落C#重新編號與互操作或閱讀Aspose
編號我用這個代碼ApplyListTemplate的互操作, 一個問題:
this.Application.ActiveDocument.Range().ListFormat.ApplyListTemplateWithLevel(
ListTemplate: this.Application.ActiveDocument.ListTemplates[listNumber],
ContinuePreviousList: false,
ApplyTo: Microsoft.Office.Interop.Word.WdListApplyTo.wdListApplyToWholeList,
DefaultListBehavior: Microsoft.Office.Interop.Word.WdDefaultListBehavior.wdWord10ListBehavior);
問題是沒有應用列表編號的段落返回1 - 而它確實應該不返回0或10或9999,或者表示它沒有列表級別 - 但肯定不是1.這是一個錯誤。
此外,如果您有解決方案,我有一個Aspose清單。
請參閱http://www.aspose.com/community/forums/thread/439438/aspose-word-list-number-restart-continue-control.aspx是否可以幫助使用Aspose.Words。是否要重新啓動所有編號的段落或選擇?示例文檔和所需的操作將有所幫助。 –