📄 dictionarypage.cs
字号:
using System;
using System.Diagnostics;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using PdfSharp.Pdf;
using PdfSharp.Pdf.Advanced;
using PdfSharp.Pdf.Internal;
namespace PdfSharp.Explorer.Pages
{
/// <summary>
/// Viewer for PdfDictionary objects.
/// </summary>
public class DictionaryPage : PageBase
{
private System.ComponentModel.Container components = null;
public DictionaryPage(ExplorerPanel explorer)
{
this.explorer = explorer;
InitializeComponent();
}
private System.Windows.Forms.ListView lvKeys;
private System.Windows.Forms.ColumnHeader clmKey;
private System.Windows.Forms.ColumnHeader clmValue;
private System.Windows.Forms.ColumnHeader clmType;
private System.Windows.Forms.ColumnHeader clmIndirect;
private System.Windows.Forms.RichTextBox tbxStream;
private System.Windows.Forms.Panel pnlTop;
private System.Windows.Forms.Splitter splitter;
private System.Windows.Forms.Panel pnlBottom;
private System.Windows.Forms.RadioButton btnHexdump;
private System.Windows.Forms.RadioButton btnRawString;
private System.Windows.Forms.CheckBox btnNoFilter;
private System.Windows.Forms.Label lblObjectID;
private System.Windows.Forms.TextBox tbxObjectID;
private System.Windows.Forms.Label txtType;
private System.Windows.Forms.Label lblType;
ExplorerPanel explorer;
internal override void SetObject(PdfItem obj)
{
PdfDictionary dict = (PdfDictionary)obj;
if (PdfInternals.GetObjectID(dict).IsEmpty)
this.tbxObjectID.Text = "玠irect
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -