コード例 #1
0
 public static BookmarkReplaced getTableValue(List<List<string>> items)
 {
     BookmarkReplaced bookmarkReplaced = new BookmarkReplaced();
     bookmarkReplaced.Type = ReplaceType.Table;
     TableValue value = new TableValue();
     value.Items = items;
     bookmarkReplaced.Value = value;
     return bookmarkReplaced;
 }
コード例 #2
0
 public static BookmarkReplaced getInLineValue(string item)
 {
     BookmarkReplaced bookmarkReplaced = new BookmarkReplaced();
     bookmarkReplaced.Type = ReplaceType.InLine;
     InLineValue value = new InLineValue();
     value.Item = item;
     bookmarkReplaced.Value = value;
     return bookmarkReplaced;
 }
コード例 #3
0
 public static BookmarkReplaced getListValue(string listStyle, short listLevel, List<string> items)
 {
     BookmarkReplaced bookmarkReplaced = new BookmarkReplaced();
     bookmarkReplaced.Type = ReplaceType.List;
     ListValue value = new ListValue();
     value.ListStyle = listStyle;
     value.ListLevel = listLevel;
     value.Items = items;
     bookmarkReplaced.Value = value;
     return bookmarkReplaced;
 }