123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- using ComPDFKit.PDFDocument;
- using Prism.Mvvm;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PDF_Office.Model.BOTA
- {
- public class OutlineNode : BindableBase
- {
- /// <summary>
- /// 父类大纲
- /// </summary>
- private OutlineNode parent = null;
- public OutlineNode Parent
- {
- get { return parent; }
- set
- {
- SetProperty(ref parent, value);
- }
- }
- /// <summary>
- /// 当前大纲对象
- /// </summary>
- private CPDFOutline outline = null;
- public CPDFOutline Outline
- {
- get { return outline; }
- set
- {
- SetProperty(ref outline, value);
- }
- }
- /// <summary>
- /// 子类大纲集合
- /// </summary>
- private ObservableCollection<OutlineNode> chlidlist = new ObservableCollection<OutlineNode>();
- public ObservableCollection<OutlineNode> Chlidlist
- {
- get { return chlidlist; }
- set
- {
- SetProperty(ref chlidlist, value);
- }
- }
- /// <summary>
- /// 控制虚线的显示
- /// </summary>
- private bool isInsertNextLayer = false;
- public bool IsInsertNextLayer
- {
- get { return isInsertNextLayer; }
- set
- {
- SetProperty(ref isInsertNextLayer, value);
- }
- }
- /// <summary>
- /// 控制实线的显示
- /// </summary>
- private bool isInsertCurrentLayer = false;
- public bool IsInsertCurrentLayer
- {
- get { return isInsertCurrentLayer; }
- set
- {
- SetProperty(ref isInsertCurrentLayer, value);
- }
- }
- private bool isExpanded = false;
- public bool IsExpanded
- {
- get { return isExpanded; }
- set
- {
- SetProperty(ref isExpanded, value);
- }
- }
- private string pageIndex ="";
- public string PageIndex
- {
- get { return pageIndex; }
- set
- {
- SetProperty(ref pageIndex, value);
- }
- }
- }
- }
|