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
{
///
/// 父类大纲
///
private OutlineNode parent = null;
public OutlineNode Parent
{
get { return parent; }
set
{
SetProperty(ref parent, value);
}
}
///
/// 当前大纲对象
///
private CPDFOutline outline = null;
public CPDFOutline Outline
{
get { return outline; }
set
{
SetProperty(ref outline, value);
}
}
///
/// 子类大纲集合
///
private ObservableCollection chlidlist = new ObservableCollection();
public ObservableCollection Chlidlist
{
get { return chlidlist; }
set
{
SetProperty(ref chlidlist, value);
}
}
///
/// 控制虚线的显示
///
private bool isInsertNextLayer = false;
public bool IsInsertNextLayer
{
get { return isInsertNextLayer; }
set
{
SetProperty(ref isInsertNextLayer, value);
}
}
///
/// 控制实线的显示
///
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);
}
}
}
}