1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- namespace compdfkit_tools.PDFControlUI
- {
- /// <summary>
- /// CPDFOutlineUI.xaml 的交互逻辑
- /// </summary>
- public partial class CPDFOutlineUI : UserControl
- {
- public CPDFOutlineUI()
- {
- InitializeComponent();
- }
- }
- internal class CPDFOutlineNode
- {
- /// <summary>
- /// 大纲父节点
- /// </summary>
- private CPDFOutlineNode parentNode = null;
- /// <summary>
- /// 当前节点
- /// </summary>
- private CPDFOutlineNode currentNode = null;
- /// <summary>
- /// 大纲子节点
- /// </summary>
- private ObservableCollection<CPDFOutlineNode> childNode = null;
- /// <summary>
- /// 当前展开状态
- /// </summary>
- private bool isExpanded = false;
- /// <summary>
- /// 当前节点页面
- /// </summary>
- private int pageIndex = 0;
- /// <summary>
- /// 当前节点所在页面中的水平位置
- /// </summary>
- private double positionX;
- /// <summary>
- /// 当前节点所在页面中的垂直位置
- /// </summary>
- private double positionY;
- }
- }
|