mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-18 21:52:34 +08:00
1533 lines
67 KiB
C#
1533 lines
67 KiB
C#
namespace PDFPatcher.Functions
|
|
{
|
|
partial class EditorControl
|
|
{
|
|
/// <summary>
|
|
/// 必需的设计器变量。
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// 清理所有正在使用的资源。
|
|
/// </summary>
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
protected override void Dispose (bool disposing) {
|
|
if (disposing && (components != null)) {
|
|
components.Dispose ();
|
|
}
|
|
base.Dispose (disposing);
|
|
}
|
|
|
|
#region 组件设计器生成的代码
|
|
|
|
/// <summary>
|
|
/// 设计器支持所需的方法 - 不要
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
/// </summary>
|
|
private void InitializeComponent () {
|
|
this.components = new System.ComponentModel.Container();
|
|
System.Windows.Forms.ToolStripMenuItem _AlterPosition;
|
|
System.Windows.Forms.ToolStripMenuItem _ChangeCoordinates;
|
|
System.Windows.Forms.ToolStripMenuItem _ClearPositionX;
|
|
System.Windows.Forms.ToolStripMenuItem _ClearPositionY;
|
|
System.Windows.Forms.ToolStripMenuItem _ClearPositionXY;
|
|
System.Windows.Forms.ToolStripMenuItem _ForceInternalLink;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectNone;
|
|
System.Windows.Forms.ToolStripMenuItem _InvertSelect;
|
|
System.Windows.Forms.ToolStripMenuItem _ShiftPageNumber;
|
|
System.Windows.Forms.ToolStripMenuItem _ShiftMultiPageNumber;
|
|
System.Windows.Forms.ToolStripMenuItem _IncrementPageNumber;
|
|
System.Windows.Forms.ToolStripMenuItem _DecrementPageNumber;
|
|
System.Windows.Forms.ToolStripMenuItem _MergeBookmark;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectAll;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
|
System.Windows.Forms.ToolStripMenuItem dummyToolStripMenuItem;
|
|
System.Windows.Forms.ToolStripButton _Copy;
|
|
System.Windows.Forms.ToolStripButton _Paste;
|
|
System.Windows.Forms.ToolStripButton _DeleteBookmark;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
System.Windows.Forms.ToolStripButton _InsertBookmark;
|
|
System.Windows.Forms.ToolStripButton _LevelUp;
|
|
System.Windows.Forms.ToolStripButton _LevelDown;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectItems;
|
|
System.Windows.Forms.ToolStripMenuItem _SearchReplace;
|
|
System.Windows.Forms.ToolStripMenuItem _BookmarkAction;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem5;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem6;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem7;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem9;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem10;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem11;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem12;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem13;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem14;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem15;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem16;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem17;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem18;
|
|
System.Windows.Forms.ToolStripMenuItem toolStripMenuItem19;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator10;
|
|
System.Windows.Forms.ToolStripButton _FirstPage;
|
|
System.Windows.Forms.ToolStripButton _PreviousPage;
|
|
System.Windows.Forms.ToolStripButton _NextPage;
|
|
System.Windows.Forms.ToolStripButton _LastPage;
|
|
System.Windows.Forms.ToolStripMenuItem _MoveMode;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectionMode;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
System.Windows.Forms.ToolStripMenuItem _ScrollVertical;
|
|
System.Windows.Forms.ToolStripMenuItem _ScrollHorizontal;
|
|
System.Windows.Forms.ToolStripMenuItem _FullPageScroll;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
|
|
System.Windows.Forms.ToolStripMenuItem _TrueColorSpace;
|
|
System.Windows.Forms.ToolStripMenuItem _GrayColorSpace;
|
|
System.Windows.Forms.ToolStripMenuItem _InvertColor;
|
|
System.Windows.Forms.ToolStripMenuItem _BookmarkHere;
|
|
System.Windows.Forms.ToolStripMenuItem _CopySelection;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator11;
|
|
System.Windows.Forms.ToolStripMenuItem _OcrDisabled;
|
|
System.Windows.Forms.ToolStripMenuItem _ShowTextBorders;
|
|
System.Windows.Forms.ToolStripMenuItem _DarkMode;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator12;
|
|
System.Windows.Forms.ToolStripMenuItem _GreenMode;
|
|
System.Windows.Forms.ToolStripMenuItem _ShowBookmarks;
|
|
System.Windows.Forms.ToolStripMenuItem _InsertPageLabel;
|
|
System.Windows.Forms.ToolStripMenuItem _AutoBookmark;
|
|
System.Windows.Forms.ToolStripMenuItem _SetOpenStatusTrue;
|
|
System.Windows.Forms.ToolStripMenuItem _SetOpenStatusFalse;
|
|
System.Windows.Forms.ToolStripMenuItem _OcrDetectPunctuation;
|
|
System.Windows.Forms.ToolStripMenuItem _FullScreen;
|
|
System.Windows.Forms.ToolStripMenuItem _PageProperties;
|
|
System.Windows.Forms.ToolStripMenuItem _EditorOptions;
|
|
System.Windows.Forms.ToolStripMenuItem _MarkBookmark;
|
|
System.Windows.Forms.ToolStripMenuItem _MarkBookmarkRed;
|
|
System.Windows.Forms.ToolStripMenuItem _MarkBookmarkYellow;
|
|
System.Windows.Forms.ToolStripMenuItem _MarkBookmarkGreen;
|
|
System.Windows.Forms.ToolStripMenuItem _MarkBookmarkBlue;
|
|
System.Windows.Forms.ToolStripMenuItem _MarkBookmarkPurple;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
|
|
System.Windows.Forms.ToolStripMenuItem _UnmarkBookmark;
|
|
System.Windows.Forms.ToolStripMenuItem _ClearBookmarkMarks;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectMarkedBookmarks;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectRedMarks;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectYellowMarks;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectGreenMarks;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectCyanMarks;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectBlueMarks;
|
|
System.Windows.Forms.ToolStripMenuItem _SelectPurpleMarks;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator14;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator13;
|
|
System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditorControl));
|
|
this._SetCurrentCoordinates = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._SelectionMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this._CollapseAll = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._CollapseChildren = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._ExpandAll = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
|
|
this._MarkBookmarkCyan = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._ViewerButton = new System.Windows.Forms.ToolStripDropDownButton();
|
|
this._OcrMenu = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._InsertWithOcrOnly = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._ShowAnnotations = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._EditMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this._SetOpenStatus = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._ChangeZoomRate = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._ChangeCase = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._QuickSelect = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._RecentFileMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this._AddFilesButton = new System.Windows.Forms.ToolStripSplitButton();
|
|
this._UndoMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this._UndoButton = new System.Windows.Forms.ToolStripSplitButton();
|
|
this._IncludeDecendantBox = new System.Windows.Forms.CheckBox();
|
|
this._BookmarkBox = new PDFPatcher.Functions.BookmarkEditorView();
|
|
this._MainPanel = new System.Windows.Forms.SplitContainer();
|
|
this._PageInfoBox = new System.Windows.Forms.Label();
|
|
this._ViewerBox = new PDFPatcher.Functions.PdfViewerControl();
|
|
this._ViewerMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this._OcrPage = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._SavePageImage = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._BookmarkToolbar = new System.Windows.Forms.ToolStrip();
|
|
this._SavePDF = new System.Windows.Forms.ToolStripButton();
|
|
this._SaveBookmark = new System.Windows.Forms.ToolStripButton();
|
|
this._BookmarkBoldButton = new System.Windows.Forms.ToolStripButton();
|
|
this._BookmarkItalicButton = new System.Windows.Forms.ToolStripButton();
|
|
this._BookmarkColorButton = new ColorPicker.ToolStripColorPicker();
|
|
this.toolStripMenuItem20 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem21 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem22 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this._ViewerToolbar = new System.Windows.Forms.ToolStrip();
|
|
this._CurrentPageBox = new System.Windows.Forms.ToolStripTextBox();
|
|
this._ZoomBox = new System.Windows.Forms.ToolStripComboBox();
|
|
_AlterPosition = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ChangeCoordinates = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ClearPositionX = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ClearPositionY = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ClearPositionXY = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ForceInternalLink = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectNone = new System.Windows.Forms.ToolStripMenuItem();
|
|
_InvertSelect = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ShiftPageNumber = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ShiftMultiPageNumber = new System.Windows.Forms.ToolStripMenuItem();
|
|
_IncrementPageNumber = new System.Windows.Forms.ToolStripMenuItem();
|
|
_DecrementPageNumber = new System.Windows.Forms.ToolStripMenuItem();
|
|
_MergeBookmark = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectAll = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
|
dummyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
_Copy = new System.Windows.Forms.ToolStripButton();
|
|
_Paste = new System.Windows.Forms.ToolStripButton();
|
|
_DeleteBookmark = new System.Windows.Forms.ToolStripButton();
|
|
toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
_InsertBookmark = new System.Windows.Forms.ToolStripButton();
|
|
_LevelUp = new System.Windows.Forms.ToolStripButton();
|
|
_LevelDown = new System.Windows.Forms.ToolStripButton();
|
|
toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
|
|
_SelectItems = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SearchReplace = new System.Windows.Forms.ToolStripMenuItem();
|
|
_BookmarkAction = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
|
|
toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem10 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem11 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem12 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem13 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem14 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem15 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem16 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem17 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem18 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripMenuItem19 = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();
|
|
_FirstPage = new System.Windows.Forms.ToolStripButton();
|
|
_PreviousPage = new System.Windows.Forms.ToolStripButton();
|
|
_NextPage = new System.Windows.Forms.ToolStripButton();
|
|
_LastPage = new System.Windows.Forms.ToolStripButton();
|
|
_MoveMode = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectionMode = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
_ScrollVertical = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ScrollHorizontal = new System.Windows.Forms.ToolStripMenuItem();
|
|
_FullPageScroll = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
|
|
_TrueColorSpace = new System.Windows.Forms.ToolStripMenuItem();
|
|
_GrayColorSpace = new System.Windows.Forms.ToolStripMenuItem();
|
|
_InvertColor = new System.Windows.Forms.ToolStripMenuItem();
|
|
_BookmarkHere = new System.Windows.Forms.ToolStripMenuItem();
|
|
_CopySelection = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
|
|
_OcrDisabled = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ShowTextBorders = new System.Windows.Forms.ToolStripMenuItem();
|
|
_DarkMode = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator();
|
|
_GreenMode = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ShowBookmarks = new System.Windows.Forms.ToolStripMenuItem();
|
|
_InsertPageLabel = new System.Windows.Forms.ToolStripMenuItem();
|
|
_AutoBookmark = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SetOpenStatusTrue = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SetOpenStatusFalse = new System.Windows.Forms.ToolStripMenuItem();
|
|
_OcrDetectPunctuation = new System.Windows.Forms.ToolStripMenuItem();
|
|
_FullScreen = new System.Windows.Forms.ToolStripMenuItem();
|
|
_PageProperties = new System.Windows.Forms.ToolStripMenuItem();
|
|
_EditorOptions = new System.Windows.Forms.ToolStripMenuItem();
|
|
_MarkBookmark = new System.Windows.Forms.ToolStripMenuItem();
|
|
_MarkBookmarkRed = new System.Windows.Forms.ToolStripMenuItem();
|
|
_MarkBookmarkYellow = new System.Windows.Forms.ToolStripMenuItem();
|
|
_MarkBookmarkGreen = new System.Windows.Forms.ToolStripMenuItem();
|
|
_MarkBookmarkBlue = new System.Windows.Forms.ToolStripMenuItem();
|
|
_MarkBookmarkPurple = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
|
_UnmarkBookmark = new System.Windows.Forms.ToolStripMenuItem();
|
|
_ClearBookmarkMarks = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectMarkedBookmarks = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectRedMarks = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectYellowMarks = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectGreenMarks = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectCyanMarks = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectBlueMarks = new System.Windows.Forms.ToolStripMenuItem();
|
|
_SelectPurpleMarks = new System.Windows.Forms.ToolStripMenuItem();
|
|
toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator();
|
|
toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator();
|
|
toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
|
this._SelectionMenu.SuspendLayout();
|
|
this._EditMenu.SuspendLayout();
|
|
this._RecentFileMenu.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this._BookmarkBox)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this._MainPanel)).BeginInit();
|
|
this._MainPanel.Panel1.SuspendLayout();
|
|
this._MainPanel.Panel2.SuspendLayout();
|
|
this._MainPanel.SuspendLayout();
|
|
this._ViewerMenu.SuspendLayout();
|
|
this._BookmarkToolbar.SuspendLayout();
|
|
this._ViewerToolbar.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// _AlterPosition
|
|
//
|
|
_AlterPosition.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_ChangeCoordinates,
|
|
this._SetCurrentCoordinates,
|
|
_ClearPositionX,
|
|
_ClearPositionY,
|
|
_ClearPositionXY});
|
|
_AlterPosition.Image = global::PDFPatcher.Properties.Resources.ScrollPosition;
|
|
_AlterPosition.Name = "_AlterPosition";
|
|
_AlterPosition.Size = new System.Drawing.Size(211, 22);
|
|
_AlterPosition.Text = "更改目标页面坐标(&Y)";
|
|
_AlterPosition.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _SetCurrentCoordinates
|
|
//
|
|
this._SetCurrentCoordinates.Image = global::PDFPatcher.Properties.Resources.Pin;
|
|
this._SetCurrentCoordinates.Name = "_SetCurrentCoordinates";
|
|
this._SetCurrentCoordinates.Size = new System.Drawing.Size(184, 22);
|
|
this._SetCurrentCoordinates.Text = "设为当前页坐标(&S)";
|
|
//
|
|
// _ChangeCoordinates
|
|
//
|
|
_ChangeCoordinates.Image = global::PDFPatcher.Properties.Resources.ScrollPosition;
|
|
_ChangeCoordinates.Name = "_ChangeCoordinates";
|
|
_ChangeCoordinates.Size = new System.Drawing.Size(184, 22);
|
|
_ChangeCoordinates.Text = "更改坐标(&B)...";
|
|
//
|
|
// _ClearPositionX
|
|
//
|
|
_ClearPositionX.Name = "_ClearPositionX";
|
|
_ClearPositionX.Size = new System.Drawing.Size(184, 22);
|
|
_ClearPositionX.Text = "清除横坐标";
|
|
//
|
|
// _ClearPositionY
|
|
//
|
|
_ClearPositionY.Name = "_ClearPositionY";
|
|
_ClearPositionY.Size = new System.Drawing.Size(184, 22);
|
|
_ClearPositionY.Text = "清除纵坐标";
|
|
//
|
|
// _ClearPositionXY
|
|
//
|
|
_ClearPositionXY.Name = "_ClearPositionXY";
|
|
_ClearPositionXY.Size = new System.Drawing.Size(184, 22);
|
|
_ClearPositionXY.Text = "清除横坐标与纵坐标";
|
|
//
|
|
// _ForceInternalLink
|
|
//
|
|
_ForceInternalLink.Name = "_ForceInternalLink";
|
|
_ForceInternalLink.Size = new System.Drawing.Size(211, 22);
|
|
_ForceInternalLink.Text = "强制设置为文件内链接";
|
|
//
|
|
// _SelectNone
|
|
//
|
|
_SelectNone.Name = "_SelectNone";
|
|
_SelectNone.Size = new System.Drawing.Size(148, 22);
|
|
_SelectNone.Text = "全部不选";
|
|
//
|
|
// _InvertSelect
|
|
//
|
|
_InvertSelect.Name = "_InvertSelect";
|
|
_InvertSelect.Size = new System.Drawing.Size(148, 22);
|
|
_InvertSelect.Text = "反转选择状态";
|
|
//
|
|
// _ShiftPageNumber
|
|
//
|
|
_ShiftPageNumber.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_ShiftMultiPageNumber,
|
|
_IncrementPageNumber,
|
|
_DecrementPageNumber});
|
|
_ShiftPageNumber.Image = global::PDFPatcher.Properties.Resources.PageRange;
|
|
_ShiftPageNumber.Name = "_ShiftPageNumber";
|
|
_ShiftPageNumber.Size = new System.Drawing.Size(211, 22);
|
|
_ShiftPageNumber.Text = "更改目标页码(&M)";
|
|
_ShiftPageNumber.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _ShiftMultiPageNumber
|
|
//
|
|
_ShiftMultiPageNumber.Name = "_ShiftMultiPageNumber";
|
|
_ShiftMultiPageNumber.Size = new System.Drawing.Size(157, 22);
|
|
_ShiftMultiPageNumber.Text = "增减指定数值...";
|
|
//
|
|
// _IncrementPageNumber
|
|
//
|
|
_IncrementPageNumber.Name = "_IncrementPageNumber";
|
|
_IncrementPageNumber.Size = new System.Drawing.Size(157, 22);
|
|
_IncrementPageNumber.Text = "增加页码";
|
|
//
|
|
// _DecrementPageNumber
|
|
//
|
|
_DecrementPageNumber.Name = "_DecrementPageNumber";
|
|
_DecrementPageNumber.Size = new System.Drawing.Size(157, 22);
|
|
_DecrementPageNumber.Text = "减少页码";
|
|
//
|
|
// _MergeBookmark
|
|
//
|
|
_MergeBookmark.Image = global::PDFPatcher.Properties.Resources.Merge;
|
|
_MergeBookmark.Name = "_MergeBookmark";
|
|
_MergeBookmark.Size = new System.Drawing.Size(211, 22);
|
|
_MergeBookmark.Text = "合并书签(&H)";
|
|
//
|
|
// _SelectAll
|
|
//
|
|
_SelectAll.Image = global::PDFPatcher.Properties.Resources.SelectAll;
|
|
_SelectAll.Name = "_SelectAll";
|
|
_SelectAll.Size = new System.Drawing.Size(148, 22);
|
|
_SelectAll.Text = "全部选中";
|
|
//
|
|
// toolStripSeparator3
|
|
//
|
|
toolStripSeparator3.Name = "toolStripSeparator3";
|
|
toolStripSeparator3.Size = new System.Drawing.Size(145, 6);
|
|
//
|
|
// dummyToolStripMenuItem
|
|
//
|
|
dummyToolStripMenuItem.Name = "dummyToolStripMenuItem";
|
|
dummyToolStripMenuItem.Size = new System.Drawing.Size(94, 22);
|
|
dummyToolStripMenuItem.Text = "dummy";
|
|
//
|
|
// _Copy
|
|
//
|
|
_Copy.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_Copy.Image = global::PDFPatcher.Properties.Resources.Copy;
|
|
_Copy.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_Copy.Name = "_Copy";
|
|
_Copy.Size = new System.Drawing.Size(23, 22);
|
|
_Copy.Text = "复制书签";
|
|
_Copy.ToolTipText = "复制书签\r\nCtrl+C";
|
|
//
|
|
// _Paste
|
|
//
|
|
_Paste.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_Paste.Image = global::PDFPatcher.Properties.Resources.Paste;
|
|
_Paste.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_Paste.Name = "_Paste";
|
|
_Paste.Size = new System.Drawing.Size(23, 22);
|
|
_Paste.Text = "粘贴书签";
|
|
_Paste.ToolTipText = "粘贴书签\r\nCtrl+P";
|
|
//
|
|
// _DeleteBookmark
|
|
//
|
|
_DeleteBookmark.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_DeleteBookmark.Image = global::PDFPatcher.Properties.Resources.Delete;
|
|
_DeleteBookmark.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_DeleteBookmark.Name = "_DeleteBookmark";
|
|
_DeleteBookmark.Size = new System.Drawing.Size(23, 22);
|
|
_DeleteBookmark.Text = "删除";
|
|
_DeleteBookmark.ToolTipText = "删除书签项目\r\nDelete";
|
|
//
|
|
// toolStripSeparator2
|
|
//
|
|
toolStripSeparator2.Name = "toolStripSeparator2";
|
|
toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// _InsertBookmark
|
|
//
|
|
_InsertBookmark.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_InsertBookmark.Image = global::PDFPatcher.Properties.Resources.BookmarkFile;
|
|
_InsertBookmark.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_InsertBookmark.Name = "_InsertBookmark";
|
|
_InsertBookmark.Size = new System.Drawing.Size(23, 22);
|
|
_InsertBookmark.Text = "插入(&C)";
|
|
_InsertBookmark.ToolTipText = "插入书签项(按住 Shift 向上插入)\r\nInsert";
|
|
//
|
|
// _LevelUp
|
|
//
|
|
_LevelUp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_LevelUp.Image = global::PDFPatcher.Properties.Resources.MoveLeft;
|
|
_LevelUp.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_LevelUp.Name = "_LevelUp";
|
|
_LevelUp.Size = new System.Drawing.Size(23, 22);
|
|
_LevelUp.Text = "设置为父书签";
|
|
_LevelUp.ToolTipText = "将选中书签向外移一级变成父级书签\r\nShift+Tab";
|
|
//
|
|
// _LevelDown
|
|
//
|
|
_LevelDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_LevelDown.Image = global::PDFPatcher.Properties.Resources.MoveRight;
|
|
_LevelDown.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_LevelDown.Name = "_LevelDown";
|
|
_LevelDown.Size = new System.Drawing.Size(23, 22);
|
|
_LevelDown.Text = "设置为子书签";
|
|
_LevelDown.ToolTipText = "设置选中书签为其上一个同级书签的子书签\r\nTab";
|
|
//
|
|
// toolStripSeparator7
|
|
//
|
|
toolStripSeparator7.Name = "toolStripSeparator7";
|
|
toolStripSeparator7.Size = new System.Drawing.Size(208, 6);
|
|
//
|
|
// _SelectItems
|
|
//
|
|
_SelectItems.DropDown = this._SelectionMenu;
|
|
_SelectItems.Image = global::PDFPatcher.Properties.Resources.SelectItem;
|
|
_SelectItems.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_SelectItems.Name = "_SelectItems";
|
|
_SelectItems.Size = new System.Drawing.Size(211, 22);
|
|
_SelectItems.Text = "选择书签(&S)";
|
|
//
|
|
// _SelectionMenu
|
|
//
|
|
this._SelectionMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_SelectAll,
|
|
_SelectNone,
|
|
_InvertSelect,
|
|
toolStripSeparator3,
|
|
this._CollapseAll,
|
|
this._CollapseChildren,
|
|
this._ExpandAll});
|
|
this._SelectionMenu.Name = "_SelectionMenu";
|
|
this._SelectionMenu.OwnerItem = _SelectItems;
|
|
this._SelectionMenu.Size = new System.Drawing.Size(149, 142);
|
|
this._SelectionMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _CollapseAll
|
|
//
|
|
this._CollapseAll.Name = "_CollapseAll";
|
|
this._CollapseAll.Size = new System.Drawing.Size(148, 22);
|
|
this._CollapseAll.Text = "全部折叠";
|
|
//
|
|
// _CollapseChildren
|
|
//
|
|
this._CollapseChildren.Name = "_CollapseChildren";
|
|
this._CollapseChildren.Size = new System.Drawing.Size(148, 22);
|
|
this._CollapseChildren.Text = "折叠子书签";
|
|
//
|
|
// _ExpandAll
|
|
//
|
|
this._ExpandAll.Name = "_ExpandAll";
|
|
this._ExpandAll.Size = new System.Drawing.Size(148, 22);
|
|
this._ExpandAll.Text = "全部展开";
|
|
//
|
|
// _SearchReplace
|
|
//
|
|
_SearchReplace.Image = global::PDFPatcher.Properties.Resources.SearchReplace;
|
|
_SearchReplace.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_SearchReplace.Name = "_SearchReplace";
|
|
_SearchReplace.Size = new System.Drawing.Size(211, 22);
|
|
_SearchReplace.Text = "查找/替换书签文本(&W)...";
|
|
_SearchReplace.ToolTipText = "查找或替换书签文本\r\nCtrl+F";
|
|
//
|
|
// _BookmarkAction
|
|
//
|
|
_BookmarkAction.Image = global::PDFPatcher.Properties.Resources.EditItem;
|
|
_BookmarkAction.Name = "_BookmarkAction";
|
|
_BookmarkAction.Size = new System.Drawing.Size(211, 22);
|
|
_BookmarkAction.Text = "书签动作属性(&D)...";
|
|
_BookmarkAction.ToolTipText = "修改点击书签后执行的动作";
|
|
//
|
|
// toolStripMenuItem1
|
|
//
|
|
toolStripMenuItem1.Image = global::PDFPatcher.Properties.Resources.SelectAll;
|
|
toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
toolStripMenuItem1.Size = new System.Drawing.Size(158, 22);
|
|
toolStripMenuItem1.Text = "全部选中";
|
|
//
|
|
// toolStripMenuItem2
|
|
//
|
|
toolStripMenuItem2.Name = "toolStripMenuItem2";
|
|
toolStripMenuItem2.Size = new System.Drawing.Size(158, 22);
|
|
toolStripMenuItem2.Text = "全部不选";
|
|
//
|
|
// toolStripMenuItem3
|
|
//
|
|
toolStripMenuItem3.Name = "toolStripMenuItem3";
|
|
toolStripMenuItem3.Size = new System.Drawing.Size(158, 22);
|
|
toolStripMenuItem3.Text = "反转选择状态";
|
|
//
|
|
// toolStripSeparator8
|
|
//
|
|
toolStripSeparator8.Name = "toolStripSeparator8";
|
|
toolStripSeparator8.Size = new System.Drawing.Size(155, 6);
|
|
//
|
|
// toolStripMenuItem4
|
|
//
|
|
toolStripMenuItem4.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
toolStripMenuItem5,
|
|
toolStripMenuItem6,
|
|
toolStripMenuItem7,
|
|
this.toolStripMenuItem8,
|
|
toolStripMenuItem9,
|
|
toolStripMenuItem10,
|
|
this.toolStripSeparator9,
|
|
toolStripMenuItem11,
|
|
toolStripMenuItem12});
|
|
toolStripMenuItem4.Image = global::PDFPatcher.Properties.Resources.Mark;
|
|
toolStripMenuItem4.Name = "toolStripMenuItem4";
|
|
toolStripMenuItem4.Size = new System.Drawing.Size(158, 22);
|
|
toolStripMenuItem4.Text = "标记书签";
|
|
toolStripMenuItem4.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// toolStripMenuItem5
|
|
//
|
|
toolStripMenuItem5.Name = "toolStripMenuItem5";
|
|
toolStripMenuItem5.Size = new System.Drawing.Size(148, 22);
|
|
toolStripMenuItem5.Text = "红色";
|
|
//
|
|
// toolStripMenuItem6
|
|
//
|
|
toolStripMenuItem6.Name = "toolStripMenuItem6";
|
|
toolStripMenuItem6.Size = new System.Drawing.Size(148, 22);
|
|
toolStripMenuItem6.Text = "黄色";
|
|
//
|
|
// toolStripMenuItem7
|
|
//
|
|
toolStripMenuItem7.Name = "toolStripMenuItem7";
|
|
toolStripMenuItem7.Size = new System.Drawing.Size(148, 22);
|
|
toolStripMenuItem7.Text = "绿色";
|
|
//
|
|
// toolStripMenuItem8
|
|
//
|
|
this.toolStripMenuItem8.Name = "toolStripMenuItem8";
|
|
this.toolStripMenuItem8.Size = new System.Drawing.Size(148, 22);
|
|
this.toolStripMenuItem8.Text = "青色";
|
|
//
|
|
// toolStripMenuItem9
|
|
//
|
|
toolStripMenuItem9.Name = "toolStripMenuItem9";
|
|
toolStripMenuItem9.Size = new System.Drawing.Size(148, 22);
|
|
toolStripMenuItem9.Text = "蓝色";
|
|
//
|
|
// toolStripMenuItem10
|
|
//
|
|
toolStripMenuItem10.Name = "toolStripMenuItem10";
|
|
toolStripMenuItem10.Size = new System.Drawing.Size(148, 22);
|
|
toolStripMenuItem10.Text = "紫色";
|
|
//
|
|
// toolStripSeparator9
|
|
//
|
|
this.toolStripSeparator9.Name = "toolStripSeparator9";
|
|
this.toolStripSeparator9.Size = new System.Drawing.Size(145, 6);
|
|
//
|
|
// toolStripMenuItem11
|
|
//
|
|
toolStripMenuItem11.Image = global::PDFPatcher.Properties.Resources.Unmark;
|
|
toolStripMenuItem11.Name = "toolStripMenuItem11";
|
|
toolStripMenuItem11.Size = new System.Drawing.Size(148, 22);
|
|
toolStripMenuItem11.Text = "取消标记";
|
|
//
|
|
// toolStripMenuItem12
|
|
//
|
|
toolStripMenuItem12.Name = "toolStripMenuItem12";
|
|
toolStripMenuItem12.Size = new System.Drawing.Size(148, 22);
|
|
toolStripMenuItem12.Text = "清除所有标记";
|
|
//
|
|
// toolStripMenuItem13
|
|
//
|
|
toolStripMenuItem13.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
toolStripMenuItem14,
|
|
toolStripMenuItem15,
|
|
toolStripMenuItem16,
|
|
toolStripMenuItem17,
|
|
toolStripMenuItem18,
|
|
toolStripMenuItem19});
|
|
toolStripMenuItem13.Image = global::PDFPatcher.Properties.Resources.SelectMarks;
|
|
toolStripMenuItem13.Name = "toolStripMenuItem13";
|
|
toolStripMenuItem13.Size = new System.Drawing.Size(158, 22);
|
|
toolStripMenuItem13.Text = "选择已标记书签";
|
|
toolStripMenuItem13.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// toolStripMenuItem14
|
|
//
|
|
toolStripMenuItem14.Name = "toolStripMenuItem14";
|
|
toolStripMenuItem14.Size = new System.Drawing.Size(100, 22);
|
|
toolStripMenuItem14.Text = "红色";
|
|
//
|
|
// toolStripMenuItem15
|
|
//
|
|
toolStripMenuItem15.Name = "toolStripMenuItem15";
|
|
toolStripMenuItem15.Size = new System.Drawing.Size(100, 22);
|
|
toolStripMenuItem15.Text = "黄色";
|
|
//
|
|
// toolStripMenuItem16
|
|
//
|
|
toolStripMenuItem16.Name = "toolStripMenuItem16";
|
|
toolStripMenuItem16.Size = new System.Drawing.Size(100, 22);
|
|
toolStripMenuItem16.Text = "绿色";
|
|
//
|
|
// toolStripMenuItem17
|
|
//
|
|
toolStripMenuItem17.Name = "toolStripMenuItem17";
|
|
toolStripMenuItem17.Size = new System.Drawing.Size(100, 22);
|
|
toolStripMenuItem17.Text = "青色";
|
|
//
|
|
// toolStripMenuItem18
|
|
//
|
|
toolStripMenuItem18.Name = "toolStripMenuItem18";
|
|
toolStripMenuItem18.Size = new System.Drawing.Size(100, 22);
|
|
toolStripMenuItem18.Text = "蓝色";
|
|
//
|
|
// toolStripMenuItem19
|
|
//
|
|
toolStripMenuItem19.Name = "toolStripMenuItem19";
|
|
toolStripMenuItem19.Size = new System.Drawing.Size(100, 22);
|
|
toolStripMenuItem19.Text = "紫色";
|
|
//
|
|
// toolStripSeparator10
|
|
//
|
|
toolStripSeparator10.Name = "toolStripSeparator10";
|
|
toolStripSeparator10.Size = new System.Drawing.Size(155, 6);
|
|
//
|
|
// _FirstPage
|
|
//
|
|
_FirstPage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_FirstPage.Image = global::PDFPatcher.Properties.Resources.MoveTop;
|
|
_FirstPage.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_FirstPage.Name = "_FirstPage";
|
|
_FirstPage.Size = new System.Drawing.Size(23, 22);
|
|
_FirstPage.Text = "转到文档第一页";
|
|
//
|
|
// _PreviousPage
|
|
//
|
|
_PreviousPage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_PreviousPage.Image = global::PDFPatcher.Properties.Resources.MoveUp;
|
|
_PreviousPage.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_PreviousPage.Name = "_PreviousPage";
|
|
_PreviousPage.Size = new System.Drawing.Size(23, 22);
|
|
_PreviousPage.Text = "转到上一页";
|
|
//
|
|
// _NextPage
|
|
//
|
|
_NextPage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_NextPage.Image = global::PDFPatcher.Properties.Resources.MoveDown;
|
|
_NextPage.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_NextPage.Name = "_NextPage";
|
|
_NextPage.Size = new System.Drawing.Size(23, 22);
|
|
_NextPage.Text = "转到下一页";
|
|
//
|
|
// _LastPage
|
|
//
|
|
_LastPage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
_LastPage.Image = global::PDFPatcher.Properties.Resources.MoveBottom;
|
|
_LastPage.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
_LastPage.Name = "_LastPage";
|
|
_LastPage.Size = new System.Drawing.Size(23, 22);
|
|
_LastPage.Text = "转到文档最后一页";
|
|
//
|
|
// _MoveMode
|
|
//
|
|
_MoveMode.Checked = true;
|
|
_MoveMode.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
_MoveMode.Image = global::PDFPatcher.Properties.Resources.Move;
|
|
_MoveMode.Name = "_MoveMode";
|
|
_MoveMode.Size = new System.Drawing.Size(208, 22);
|
|
_MoveMode.Text = "移动页面模式(&Y)";
|
|
_MoveMode.ToolTipText = "使用鼠标拖动页面";
|
|
//
|
|
// _SelectionMode
|
|
//
|
|
_SelectionMode.Image = global::PDFPatcher.Properties.Resources.SelectItem;
|
|
_SelectionMode.Name = "_SelectionMode";
|
|
_SelectionMode.Size = new System.Drawing.Size(208, 22);
|
|
_SelectionMode.Text = "框选模式(&K)";
|
|
_SelectionMode.ToolTipText = "框选文档内容,可复制所选内容、添加书签";
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
toolStripSeparator1.Name = "toolStripSeparator1";
|
|
toolStripSeparator1.Size = new System.Drawing.Size(205, 6);
|
|
//
|
|
// _ScrollVertical
|
|
//
|
|
_ScrollVertical.Checked = true;
|
|
_ScrollVertical.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
_ScrollVertical.Image = global::PDFPatcher.Properties.Resources.ScrollVertical;
|
|
_ScrollVertical.Name = "_ScrollVertical";
|
|
_ScrollVertical.Size = new System.Drawing.Size(208, 22);
|
|
_ScrollVertical.Text = "从上到下阅读(&S)";
|
|
//
|
|
// _ScrollHorizontal
|
|
//
|
|
_ScrollHorizontal.Image = global::PDFPatcher.Properties.Resources.ScrollHorizontal;
|
|
_ScrollHorizontal.Name = "_ScrollHorizontal";
|
|
_ScrollHorizontal.Size = new System.Drawing.Size(208, 22);
|
|
_ScrollHorizontal.Text = "从右到左阅读(&Y)";
|
|
//
|
|
// _FullPageScroll
|
|
//
|
|
_FullPageScroll.Name = "_FullPageScroll";
|
|
_FullPageScroll.Size = new System.Drawing.Size(208, 22);
|
|
_FullPageScroll.Text = "整页翻页(&Z)";
|
|
_FullPageScroll.ToolTipText = "按翻页键翻页时,按整页来翻页而不是按显示窗口翻页";
|
|
//
|
|
// toolStripSeparator6
|
|
//
|
|
toolStripSeparator6.Name = "toolStripSeparator6";
|
|
toolStripSeparator6.Size = new System.Drawing.Size(205, 6);
|
|
//
|
|
// _TrueColorSpace
|
|
//
|
|
_TrueColorSpace.Checked = true;
|
|
_TrueColorSpace.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
_TrueColorSpace.Image = global::PDFPatcher.Properties.Resources.ColorDisplay;
|
|
_TrueColorSpace.Name = "_TrueColorSpace";
|
|
_TrueColorSpace.Size = new System.Drawing.Size(208, 22);
|
|
_TrueColorSpace.Text = "彩色显示(&C)";
|
|
//
|
|
// _GrayColorSpace
|
|
//
|
|
_GrayColorSpace.Image = global::PDFPatcher.Properties.Resources.GrayScaleDisplay;
|
|
_GrayColorSpace.Name = "_GrayColorSpace";
|
|
_GrayColorSpace.Size = new System.Drawing.Size(208, 22);
|
|
_GrayColorSpace.Text = "黑白显示(&H)";
|
|
//
|
|
// _InvertColor
|
|
//
|
|
_InvertColor.Image = global::PDFPatcher.Properties.Resources.InvertColor;
|
|
_InvertColor.Name = "_InvertColor";
|
|
_InvertColor.Size = new System.Drawing.Size(208, 22);
|
|
_InvertColor.Text = "反转颜色(&F)";
|
|
//
|
|
// _BookmarkHere
|
|
//
|
|
_BookmarkHere.Image = global::PDFPatcher.Properties.Resources.BookmarkFile;
|
|
_BookmarkHere.Name = "_BookmarkHere";
|
|
_BookmarkHere.Size = new System.Drawing.Size(225, 22);
|
|
_BookmarkHere.Text = "在此插入书签(&S)...";
|
|
_BookmarkHere.ToolTipText = "插入书签,指向当前位置";
|
|
//
|
|
// _CopySelection
|
|
//
|
|
_CopySelection.Image = global::PDFPatcher.Properties.Resources.Copy;
|
|
_CopySelection.Name = "_CopySelection";
|
|
_CopySelection.Size = new System.Drawing.Size(225, 22);
|
|
_CopySelection.Text = "复制选中内容(&F)";
|
|
_CopySelection.ToolTipText = "复制选中部分的图像";
|
|
//
|
|
// toolStripSeparator11
|
|
//
|
|
toolStripSeparator11.Name = "toolStripSeparator11";
|
|
toolStripSeparator11.Size = new System.Drawing.Size(205, 6);
|
|
//
|
|
// _OcrDisabled
|
|
//
|
|
_OcrDisabled.Name = "_OcrDisabled";
|
|
_OcrDisabled.Size = new System.Drawing.Size(164, 22);
|
|
_OcrDisabled.Text = "不要识别文本(&B)";
|
|
//
|
|
// _ShowTextBorders
|
|
//
|
|
_ShowTextBorders.Name = "_ShowTextBorders";
|
|
_ShowTextBorders.Size = new System.Drawing.Size(208, 22);
|
|
_ShowTextBorders.Text = "显示文本边框";
|
|
//
|
|
// _DarkMode
|
|
//
|
|
_DarkMode.Image = global::PDFPatcher.Properties.Resources.DarkMode;
|
|
_DarkMode.Name = "_DarkMode";
|
|
_DarkMode.Size = new System.Drawing.Size(208, 22);
|
|
_DarkMode.Text = "暗黑阅读模式(&A)";
|
|
//
|
|
// toolStripSeparator12
|
|
//
|
|
toolStripSeparator12.Name = "toolStripSeparator12";
|
|
toolStripSeparator12.Size = new System.Drawing.Size(205, 6);
|
|
//
|
|
// _GreenMode
|
|
//
|
|
_GreenMode.Image = global::PDFPatcher.Properties.Resources.GreenMode;
|
|
_GreenMode.Name = "_GreenMode";
|
|
_GreenMode.Size = new System.Drawing.Size(208, 22);
|
|
_GreenMode.Text = "绿色阅读模式(&L)";
|
|
//
|
|
// _ShowBookmarks
|
|
//
|
|
_ShowBookmarks.Name = "_ShowBookmarks";
|
|
_ShowBookmarks.Size = new System.Drawing.Size(208, 22);
|
|
_ShowBookmarks.Text = "显示书签栏(&Q)";
|
|
//
|
|
// _InsertPageLabel
|
|
//
|
|
_InsertPageLabel.Image = global::PDFPatcher.Properties.Resources.PageRange;
|
|
_InsertPageLabel.Name = "_InsertPageLabel";
|
|
_InsertPageLabel.Size = new System.Drawing.Size(225, 22);
|
|
_InsertPageLabel.Text = "插入页码标签(&Y)...";
|
|
_InsertPageLabel.Visible = false;
|
|
//
|
|
// _AutoBookmark
|
|
//
|
|
_AutoBookmark.Enabled = false;
|
|
_AutoBookmark.Image = global::PDFPatcher.Properties.Resources.AutoBookmark;
|
|
_AutoBookmark.Name = "_AutoBookmark";
|
|
_AutoBookmark.Size = new System.Drawing.Size(225, 22);
|
|
_AutoBookmark.Text = "设置自动书签标题格式(&Z)";
|
|
//
|
|
// _SetOpenStatusTrue
|
|
//
|
|
_SetOpenStatusTrue.Name = "_SetOpenStatusTrue";
|
|
_SetOpenStatusTrue.Size = new System.Drawing.Size(100, 22);
|
|
_SetOpenStatusTrue.Text = "打开";
|
|
//
|
|
// _SetOpenStatusFalse
|
|
//
|
|
_SetOpenStatusFalse.Name = "_SetOpenStatusFalse";
|
|
_SetOpenStatusFalse.Size = new System.Drawing.Size(100, 22);
|
|
_SetOpenStatusFalse.Text = "关闭";
|
|
//
|
|
// _OcrDetectPunctuation
|
|
//
|
|
_OcrDetectPunctuation.Name = "_OcrDetectPunctuation";
|
|
_OcrDetectPunctuation.Size = new System.Drawing.Size(208, 22);
|
|
_OcrDetectPunctuation.Text = "增强识别目录页标点";
|
|
//
|
|
// _FullScreen
|
|
//
|
|
_FullScreen.Name = "_FullScreen";
|
|
_FullScreen.Size = new System.Drawing.Size(208, 22);
|
|
_FullScreen.Text = "全屏显示(&Q)";
|
|
//
|
|
// _PageProperties
|
|
//
|
|
_PageProperties.Image = global::PDFPatcher.Properties.Resources.Property;
|
|
_PageProperties.Name = "_PageProperties";
|
|
_PageProperties.Size = new System.Drawing.Size(225, 22);
|
|
_PageProperties.Text = "查看页面属性(&X)...";
|
|
//
|
|
// _EditorOptions
|
|
//
|
|
_EditorOptions.Image = global::PDFPatcher.Properties.Resources.PdfOptions;
|
|
_EditorOptions.Name = "_EditorOptions";
|
|
_EditorOptions.Size = new System.Drawing.Size(208, 22);
|
|
_EditorOptions.Text = "设置文件修改方式(X)...";
|
|
//
|
|
// _MarkBookmark
|
|
//
|
|
_MarkBookmark.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_MarkBookmarkRed,
|
|
_MarkBookmarkYellow,
|
|
_MarkBookmarkGreen,
|
|
this._MarkBookmarkCyan,
|
|
_MarkBookmarkBlue,
|
|
_MarkBookmarkPurple,
|
|
toolStripSeparator5,
|
|
_UnmarkBookmark,
|
|
_ClearBookmarkMarks});
|
|
_MarkBookmark.Image = global::PDFPatcher.Properties.Resources.Mark;
|
|
_MarkBookmark.Name = "_MarkBookmark";
|
|
_MarkBookmark.Size = new System.Drawing.Size(211, 22);
|
|
_MarkBookmark.Text = "标记书签";
|
|
_MarkBookmark.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _MarkBookmarkRed
|
|
//
|
|
_MarkBookmarkRed.Name = "_MarkBookmarkRed";
|
|
_MarkBookmarkRed.Size = new System.Drawing.Size(148, 22);
|
|
_MarkBookmarkRed.Text = "红色";
|
|
//
|
|
// _MarkBookmarkYellow
|
|
//
|
|
_MarkBookmarkYellow.Name = "_MarkBookmarkYellow";
|
|
_MarkBookmarkYellow.Size = new System.Drawing.Size(148, 22);
|
|
_MarkBookmarkYellow.Text = "黄色";
|
|
//
|
|
// _MarkBookmarkGreen
|
|
//
|
|
_MarkBookmarkGreen.Name = "_MarkBookmarkGreen";
|
|
_MarkBookmarkGreen.Size = new System.Drawing.Size(148, 22);
|
|
_MarkBookmarkGreen.Text = "绿色";
|
|
//
|
|
// _MarkBookmarkCyan
|
|
//
|
|
this._MarkBookmarkCyan.Name = "_MarkBookmarkCyan";
|
|
this._MarkBookmarkCyan.Size = new System.Drawing.Size(148, 22);
|
|
this._MarkBookmarkCyan.Text = "青色";
|
|
//
|
|
// _MarkBookmarkBlue
|
|
//
|
|
_MarkBookmarkBlue.Name = "_MarkBookmarkBlue";
|
|
_MarkBookmarkBlue.Size = new System.Drawing.Size(148, 22);
|
|
_MarkBookmarkBlue.Text = "蓝色";
|
|
//
|
|
// _MarkBookmarkPurple
|
|
//
|
|
_MarkBookmarkPurple.Name = "_MarkBookmarkPurple";
|
|
_MarkBookmarkPurple.Size = new System.Drawing.Size(148, 22);
|
|
_MarkBookmarkPurple.Text = "紫色";
|
|
//
|
|
// toolStripSeparator5
|
|
//
|
|
toolStripSeparator5.Name = "toolStripSeparator5";
|
|
toolStripSeparator5.Size = new System.Drawing.Size(145, 6);
|
|
//
|
|
// _UnmarkBookmark
|
|
//
|
|
_UnmarkBookmark.Image = global::PDFPatcher.Properties.Resources.Unmark;
|
|
_UnmarkBookmark.Name = "_UnmarkBookmark";
|
|
_UnmarkBookmark.Size = new System.Drawing.Size(148, 22);
|
|
_UnmarkBookmark.Text = "取消标记";
|
|
//
|
|
// _ClearBookmarkMarks
|
|
//
|
|
_ClearBookmarkMarks.Name = "_ClearBookmarkMarks";
|
|
_ClearBookmarkMarks.Size = new System.Drawing.Size(148, 22);
|
|
_ClearBookmarkMarks.Text = "清除所有标记";
|
|
//
|
|
// _SelectMarkedBookmarks
|
|
//
|
|
_SelectMarkedBookmarks.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_SelectRedMarks,
|
|
_SelectYellowMarks,
|
|
_SelectGreenMarks,
|
|
_SelectCyanMarks,
|
|
_SelectBlueMarks,
|
|
_SelectPurpleMarks});
|
|
_SelectMarkedBookmarks.Image = global::PDFPatcher.Properties.Resources.SelectMarks;
|
|
_SelectMarkedBookmarks.Name = "_SelectMarkedBookmarks";
|
|
_SelectMarkedBookmarks.Size = new System.Drawing.Size(211, 22);
|
|
_SelectMarkedBookmarks.Text = "选择已标记书签";
|
|
_SelectMarkedBookmarks.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _SelectRedMarks
|
|
//
|
|
_SelectRedMarks.Name = "_SelectRedMarks";
|
|
_SelectRedMarks.Size = new System.Drawing.Size(100, 22);
|
|
_SelectRedMarks.Text = "红色";
|
|
//
|
|
// _SelectYellowMarks
|
|
//
|
|
_SelectYellowMarks.Name = "_SelectYellowMarks";
|
|
_SelectYellowMarks.Size = new System.Drawing.Size(100, 22);
|
|
_SelectYellowMarks.Text = "黄色";
|
|
//
|
|
// _SelectGreenMarks
|
|
//
|
|
_SelectGreenMarks.Name = "_SelectGreenMarks";
|
|
_SelectGreenMarks.Size = new System.Drawing.Size(100, 22);
|
|
_SelectGreenMarks.Text = "绿色";
|
|
//
|
|
// _SelectCyanMarks
|
|
//
|
|
_SelectCyanMarks.Name = "_SelectCyanMarks";
|
|
_SelectCyanMarks.Size = new System.Drawing.Size(100, 22);
|
|
_SelectCyanMarks.Text = "青色";
|
|
//
|
|
// _SelectBlueMarks
|
|
//
|
|
_SelectBlueMarks.Name = "_SelectBlueMarks";
|
|
_SelectBlueMarks.Size = new System.Drawing.Size(100, 22);
|
|
_SelectBlueMarks.Text = "蓝色";
|
|
//
|
|
// _SelectPurpleMarks
|
|
//
|
|
_SelectPurpleMarks.Name = "_SelectPurpleMarks";
|
|
_SelectPurpleMarks.Size = new System.Drawing.Size(100, 22);
|
|
_SelectPurpleMarks.Text = "紫色";
|
|
//
|
|
// toolStripSeparator14
|
|
//
|
|
toolStripSeparator14.Name = "toolStripSeparator14";
|
|
toolStripSeparator14.Size = new System.Drawing.Size(205, 6);
|
|
//
|
|
// toolStripSeparator13
|
|
//
|
|
toolStripSeparator13.Name = "toolStripSeparator13";
|
|
toolStripSeparator13.Size = new System.Drawing.Size(208, 6);
|
|
//
|
|
// toolStripSeparator4
|
|
//
|
|
toolStripSeparator4.Name = "toolStripSeparator4";
|
|
toolStripSeparator4.Size = new System.Drawing.Size(208, 6);
|
|
//
|
|
// _ViewerButton
|
|
//
|
|
this._ViewerButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this._ViewerButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_EditorOptions,
|
|
_MoveMode,
|
|
_SelectionMode,
|
|
toolStripSeparator11,
|
|
this._OcrMenu,
|
|
this._InsertWithOcrOnly,
|
|
_OcrDetectPunctuation,
|
|
toolStripSeparator1,
|
|
_ScrollVertical,
|
|
_ScrollHorizontal,
|
|
_FullPageScroll,
|
|
toolStripSeparator6,
|
|
_TrueColorSpace,
|
|
_GrayColorSpace,
|
|
toolStripSeparator12,
|
|
_InvertColor,
|
|
_DarkMode,
|
|
_GreenMode,
|
|
toolStripSeparator14,
|
|
_FullScreen,
|
|
_ShowBookmarks,
|
|
_ShowTextBorders,
|
|
this._ShowAnnotations});
|
|
this._ViewerButton.Image = global::PDFPatcher.Properties.Resources.CreateDocument;
|
|
this._ViewerButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this._ViewerButton.Name = "_ViewerButton";
|
|
this._ViewerButton.Size = new System.Drawing.Size(29, 22);
|
|
this._ViewerButton.Text = "阅读器";
|
|
this._ViewerButton.ToolTipText = "设置阅读器的操作方式";
|
|
this._ViewerButton.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _OcrMenu
|
|
//
|
|
this._OcrMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_OcrDisabled});
|
|
this._OcrMenu.Image = global::PDFPatcher.Properties.Resources.Ocr;
|
|
this._OcrMenu.Name = "_OcrMenu";
|
|
this._OcrMenu.Size = new System.Drawing.Size(208, 22);
|
|
this._OcrMenu.Text = "识别文本语言(&W)";
|
|
this._OcrMenu.ToolTipText = "设置插入书签、识别页面文本时的识别引擎";
|
|
//
|
|
// _InsertWithOcrOnly
|
|
//
|
|
this._InsertWithOcrOnly.Name = "_InsertWithOcrOnly";
|
|
this._InsertWithOcrOnly.Size = new System.Drawing.Size(208, 22);
|
|
this._InsertWithOcrOnly.Text = "插入书签仅使用识别引擎";
|
|
//
|
|
// _ShowAnnotations
|
|
//
|
|
this._ShowAnnotations.Name = "_ShowAnnotations";
|
|
this._ShowAnnotations.Size = new System.Drawing.Size(208, 22);
|
|
this._ShowAnnotations.Text = "显示文档批注(&P)";
|
|
//
|
|
// _EditMenu
|
|
//
|
|
this._EditMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_BookmarkAction,
|
|
toolStripSeparator13,
|
|
this._SetOpenStatus,
|
|
_ShiftPageNumber,
|
|
_AlterPosition,
|
|
this._ChangeZoomRate,
|
|
_ForceInternalLink,
|
|
toolStripSeparator7,
|
|
_MergeBookmark,
|
|
this._ChangeCase,
|
|
_SearchReplace,
|
|
toolStripSeparator4,
|
|
_SelectItems,
|
|
this._QuickSelect,
|
|
_MarkBookmark,
|
|
_SelectMarkedBookmarks});
|
|
this._EditMenu.Name = "_EditMenu";
|
|
this._EditMenu.Size = new System.Drawing.Size(212, 330);
|
|
this._EditMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _SetOpenStatus
|
|
//
|
|
this._SetOpenStatus.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_SetOpenStatusTrue,
|
|
_SetOpenStatusFalse});
|
|
this._SetOpenStatus.Image = global::PDFPatcher.Properties.Resources.Open;
|
|
this._SetOpenStatus.Name = "_SetOpenStatus";
|
|
this._SetOpenStatus.Size = new System.Drawing.Size(211, 22);
|
|
this._SetOpenStatus.Text = "设置书签默认打开状态(&T)";
|
|
//
|
|
// _ChangeZoomRate
|
|
//
|
|
this._ChangeZoomRate.Image = global::PDFPatcher.Properties.Resources.Zoom;
|
|
this._ChangeZoomRate.Name = "_ChangeZoomRate";
|
|
this._ChangeZoomRate.Size = new System.Drawing.Size(211, 22);
|
|
this._ChangeZoomRate.Text = "设置目标显示方式(&X)";
|
|
//
|
|
// _ChangeCase
|
|
//
|
|
this._ChangeCase.Image = global::PDFPatcher.Properties.Resources.ChangeCase;
|
|
this._ChangeCase.Name = "_ChangeCase";
|
|
this._ChangeCase.Size = new System.Drawing.Size(211, 22);
|
|
this._ChangeCase.Text = "更改书签文本大小写";
|
|
this._ChangeCase.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _QuickSelect
|
|
//
|
|
this._QuickSelect.Image = global::PDFPatcher.Properties.Resources.SelectItem;
|
|
this._QuickSelect.Name = "_QuickSelect";
|
|
this._QuickSelect.Size = new System.Drawing.Size(211, 22);
|
|
this._QuickSelect.Text = "快速选择书签(&K)";
|
|
this._QuickSelect.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _RecentFileMenu
|
|
//
|
|
this._RecentFileMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
dummyToolStripMenuItem});
|
|
this._RecentFileMenu.Name = "_RecentFileMenu";
|
|
this._RecentFileMenu.OwnerItem = this._AddFilesButton;
|
|
this._RecentFileMenu.ShowImageMargin = false;
|
|
this._RecentFileMenu.Size = new System.Drawing.Size(95, 26);
|
|
//
|
|
// _AddFilesButton
|
|
//
|
|
this._AddFilesButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this._AddFilesButton.DropDown = this._RecentFileMenu;
|
|
this._AddFilesButton.Image = global::PDFPatcher.Properties.Resources.OpenFile;
|
|
this._AddFilesButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this._AddFilesButton.Name = "_AddFilesButton";
|
|
this._AddFilesButton.Size = new System.Drawing.Size(32, 22);
|
|
this._AddFilesButton.Text = "打开";
|
|
this._AddFilesButton.ToolTipText = "打开需要编辑的PDF文件";
|
|
this._AddFilesButton.ButtonClick += new System.EventHandler(this.ButtonClicked);
|
|
this._AddFilesButton.DropDownOpening += new System.EventHandler(this._OpenButton_DropDownOpening);
|
|
this._AddFilesButton.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._OpenButton_DropDownItemClicked);
|
|
//
|
|
// _UndoMenu
|
|
//
|
|
this._UndoMenu.Name = "_UndoMenu";
|
|
this._UndoMenu.OwnerItem = this._UndoButton;
|
|
this._UndoMenu.ShowImageMargin = false;
|
|
this._UndoMenu.Size = new System.Drawing.Size(36, 4);
|
|
//
|
|
// _UndoButton
|
|
//
|
|
this._UndoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this._UndoButton.DropDown = this._UndoMenu;
|
|
this._UndoButton.Enabled = false;
|
|
this._UndoButton.Image = global::PDFPatcher.Properties.Resources.Undo;
|
|
this._UndoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this._UndoButton.Name = "_UndoButton";
|
|
this._UndoButton.Size = new System.Drawing.Size(32, 22);
|
|
this._UndoButton.Text = "撤销";
|
|
this._UndoButton.ToolTipText = "撤销\r\nCtrl+Z";
|
|
this._UndoButton.ButtonClick += new System.EventHandler(this.ButtonClicked);
|
|
//
|
|
// _IncludeDecendantBox
|
|
//
|
|
this._IncludeDecendantBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this._IncludeDecendantBox.AutoSize = true;
|
|
this._IncludeDecendantBox.Location = new System.Drawing.Point(3, 277);
|
|
this._IncludeDecendantBox.Name = "_IncludeDecendantBox";
|
|
this._IncludeDecendantBox.Size = new System.Drawing.Size(192, 16);
|
|
this._IncludeDecendantBox.TabIndex = 1;
|
|
this._IncludeDecendantBox.Text = "修改操作包含未选中的内部书签";
|
|
this._IncludeDecendantBox.UseVisualStyleBackColor = true;
|
|
//
|
|
// _BookmarkBox
|
|
//
|
|
this._BookmarkBox.AllowDrop = true;
|
|
this._BookmarkBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this._BookmarkBox.CellEditActivation = BrightIdeasSoftware.ObjectListView.CellEditActivateMode.SingleClick;
|
|
this._BookmarkBox.CellEditUseWholeCell = false;
|
|
this._BookmarkBox.ContextMenuStrip = this._EditMenu;
|
|
this._BookmarkBox.CopySelectionOnControlC = false;
|
|
this._BookmarkBox.Cursor = System.Windows.Forms.Cursors.Default;
|
|
this._BookmarkBox.GridLines = true;
|
|
this._BookmarkBox.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
|
this._BookmarkBox.HideSelection = false;
|
|
this._BookmarkBox.IsSimpleDragSource = true;
|
|
this._BookmarkBox.IsSimpleDropSink = true;
|
|
this._BookmarkBox.LabelEdit = true;
|
|
this._BookmarkBox.Location = new System.Drawing.Point(3, 3);
|
|
this._BookmarkBox.Name = "_BookmarkBox";
|
|
this._BookmarkBox.OperationAffectsDescendants = false;
|
|
this._BookmarkBox.RevealAfterExpand = false;
|
|
this._BookmarkBox.ShowGroups = false;
|
|
this._BookmarkBox.Size = new System.Drawing.Size(260, 268);
|
|
this._BookmarkBox.TabIndex = 0;
|
|
this._BookmarkBox.UseCellFormatEvents = true;
|
|
this._BookmarkBox.UseCompatibleStateImageBehavior = false;
|
|
this._BookmarkBox.UseHyperlinks = true;
|
|
this._BookmarkBox.UseOverlays = false;
|
|
this._BookmarkBox.View = System.Windows.Forms.View.Details;
|
|
this._BookmarkBox.VirtualMode = true;
|
|
this._BookmarkBox.DragDrop += new System.Windows.Forms.DragEventHandler(this._BookmarkBox_DragDrop);
|
|
this._BookmarkBox.DragEnter += new System.Windows.Forms.DragEventHandler(this._BookmarkBox_DragEnter);
|
|
//
|
|
// _MainPanel
|
|
//
|
|
this._MainPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this._MainPanel.Location = new System.Drawing.Point(3, 29);
|
|
this._MainPanel.Name = "_MainPanel";
|
|
//
|
|
// _MainPanel.Panel1
|
|
//
|
|
this._MainPanel.Panel1.Controls.Add(this._IncludeDecendantBox);
|
|
this._MainPanel.Panel1.Controls.Add(this._BookmarkBox);
|
|
//
|
|
// _MainPanel.Panel2
|
|
//
|
|
this._MainPanel.Panel2.Controls.Add(this._PageInfoBox);
|
|
this._MainPanel.Panel2.Controls.Add(this._ViewerBox);
|
|
this._MainPanel.Size = new System.Drawing.Size(623, 296);
|
|
this._MainPanel.SplitterDistance = 267;
|
|
this._MainPanel.TabIndex = 1;
|
|
//
|
|
// _PageInfoBox
|
|
//
|
|
this._PageInfoBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this._PageInfoBox.AutoEllipsis = true;
|
|
this._PageInfoBox.Location = new System.Drawing.Point(3, 278);
|
|
this._PageInfoBox.Name = "_PageInfoBox";
|
|
this._PageInfoBox.Size = new System.Drawing.Size(346, 15);
|
|
this._PageInfoBox.TabIndex = 1;
|
|
this._PageInfoBox.Text = "PDF 页面信息";
|
|
//
|
|
// _ViewerBox
|
|
//
|
|
this._ViewerBox.AllowUnfocusedMouseWheel = true;
|
|
this._ViewerBox.AllowZoom = false;
|
|
this._ViewerBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this._ViewerBox.BackColor = System.Drawing.Color.DarkGray;
|
|
this._ViewerBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this._ViewerBox.GridDisplayMode = Cyotek.Windows.Forms.ImageBoxGridDisplayMode.None;
|
|
this._ViewerBox.LiteralZoom = null;
|
|
this._ViewerBox.Location = new System.Drawing.Point(3, 3);
|
|
this._ViewerBox.Name = "_ViewerBox";
|
|
this._ViewerBox.OcrLanguage = 2052;
|
|
this._ViewerBox.PinPoint = new System.Drawing.Point(0, 0);
|
|
this._ViewerBox.Size = new System.Drawing.Size(346, 268);
|
|
this._ViewerBox.TabIndex = 0;
|
|
this._ViewerBox.TintColor = System.Drawing.Color.Transparent;
|
|
this._ViewerBox.VirtualMode = true;
|
|
//
|
|
// _ViewerMenu
|
|
//
|
|
this._ViewerMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_BookmarkHere,
|
|
_AutoBookmark,
|
|
_CopySelection,
|
|
this._OcrPage,
|
|
_InsertPageLabel,
|
|
_PageProperties,
|
|
this._SavePageImage});
|
|
this._ViewerMenu.Name = "_ViewerMenu";
|
|
this._ViewerMenu.Size = new System.Drawing.Size(226, 158);
|
|
this._ViewerMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _OcrPage
|
|
//
|
|
this._OcrPage.Image = global::PDFPatcher.Properties.Resources.Ocr;
|
|
this._OcrPage.Name = "_OcrPage";
|
|
this._OcrPage.Size = new System.Drawing.Size(225, 22);
|
|
this._OcrPage.Text = "复制本页文本识别结果(&W)...";
|
|
this._OcrPage.ToolTipText = "调用图像识别引擎识别选中图像内容的文本";
|
|
//
|
|
// _SavePageImage
|
|
//
|
|
this._SavePageImage.Image = global::PDFPatcher.Properties.Resources.RenderImage;
|
|
this._SavePageImage.Name = "_SavePageImage";
|
|
this._SavePageImage.Size = new System.Drawing.Size(225, 22);
|
|
this._SavePageImage.Text = "保存为图片(&P)...";
|
|
//
|
|
// _BookmarkToolbar
|
|
//
|
|
this._BookmarkToolbar.Dock = System.Windows.Forms.DockStyle.None;
|
|
this._BookmarkToolbar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this._AddFilesButton,
|
|
this._SavePDF,
|
|
this._SaveBookmark,
|
|
this._UndoButton,
|
|
_Copy,
|
|
_Paste,
|
|
_DeleteBookmark,
|
|
toolStripSeparator2,
|
|
_InsertBookmark,
|
|
_LevelUp,
|
|
_LevelDown,
|
|
this._BookmarkBoldButton,
|
|
this._BookmarkItalicButton,
|
|
this._BookmarkColorButton});
|
|
this._BookmarkToolbar.Location = new System.Drawing.Point(0, 0);
|
|
this._BookmarkToolbar.Name = "_BookmarkToolbar";
|
|
this._BookmarkToolbar.Size = new System.Drawing.Size(344, 25);
|
|
this._BookmarkToolbar.TabIndex = 2;
|
|
this._BookmarkToolbar.Text = "menuStrip1";
|
|
this._BookmarkToolbar.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _SavePDF
|
|
//
|
|
this._SavePDF.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this._SavePDF.Image = global::PDFPatcher.Properties.Resources.Save;
|
|
this._SavePDF.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this._SavePDF.Name = "_SavePDF";
|
|
this._SavePDF.Size = new System.Drawing.Size(23, 22);
|
|
this._SavePDF.Text = "保存PDF文件";
|
|
this._SavePDF.ToolTipText = "保存PDF文件\r\nCtrl+S";
|
|
//
|
|
// _SaveBookmark
|
|
//
|
|
this._SaveBookmark.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this._SaveBookmark.Image = global::PDFPatcher.Properties.Resources.ExportInfoFile;
|
|
this._SaveBookmark.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this._SaveBookmark.Name = "_SaveBookmark";
|
|
this._SaveBookmark.Size = new System.Drawing.Size(23, 22);
|
|
this._SaveBookmark.Text = "保存书签文件";
|
|
this._SaveBookmark.ToolTipText = "保存书签文件\r\nCtrl+Q";
|
|
//
|
|
// _BookmarkBoldButton
|
|
//
|
|
this._BookmarkBoldButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this._BookmarkBoldButton.Image = global::PDFPatcher.Properties.Resources.Bold;
|
|
this._BookmarkBoldButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this._BookmarkBoldButton.Name = "_BookmarkBoldButton";
|
|
this._BookmarkBoldButton.Size = new System.Drawing.Size(23, 22);
|
|
this._BookmarkBoldButton.Text = "粗体";
|
|
this._BookmarkBoldButton.ToolTipText = "切换书签文本的粗体样式\r\nCtrl+B";
|
|
//
|
|
// _BookmarkItalicButton
|
|
//
|
|
this._BookmarkItalicButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this._BookmarkItalicButton.Image = global::PDFPatcher.Properties.Resources.Italic;
|
|
this._BookmarkItalicButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this._BookmarkItalicButton.Name = "_BookmarkItalicButton";
|
|
this._BookmarkItalicButton.Size = new System.Drawing.Size(23, 22);
|
|
this._BookmarkItalicButton.Text = "斜体";
|
|
this._BookmarkItalicButton.ToolTipText = "切换书签文本的斜体样式\r\nCtrl+I";
|
|
//
|
|
// _BookmarkColorButton
|
|
//
|
|
this._BookmarkColorButton.ButtonDisplayStyle = ColorPicker.ToolStripColorPickerDisplayType.UnderLineAndImage;
|
|
this._BookmarkColorButton.Color = System.Drawing.Color.Black;
|
|
this._BookmarkColorButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this._BookmarkColorButton.Image = ((System.Drawing.Image)(resources.GetObject("_BookmarkColorButton.Image")));
|
|
this._BookmarkColorButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this._BookmarkColorButton.Name = "_BookmarkColorButton";
|
|
this._BookmarkColorButton.Size = new System.Drawing.Size(32, 22);
|
|
this._BookmarkColorButton.Text = "颜色";
|
|
this._BookmarkColorButton.ToolTipText = "设置书签文本的颜色";
|
|
this._BookmarkColorButton.SelectedColorChanged += new System.EventHandler(this._BookmarkColorButton_SelectedColorChanged);
|
|
this._BookmarkColorButton.ButtonClick += new System.EventHandler(this._BookmarkColorButton_SelectedColorChanged);
|
|
//
|
|
// toolStripMenuItem20
|
|
//
|
|
this.toolStripMenuItem20.Name = "toolStripMenuItem20";
|
|
this.toolStripMenuItem20.Size = new System.Drawing.Size(158, 22);
|
|
this.toolStripMenuItem20.Text = "全部折叠";
|
|
//
|
|
// toolStripMenuItem21
|
|
//
|
|
this.toolStripMenuItem21.Name = "toolStripMenuItem21";
|
|
this.toolStripMenuItem21.Size = new System.Drawing.Size(158, 22);
|
|
this.toolStripMenuItem21.Text = "折叠子书签";
|
|
//
|
|
// toolStripMenuItem22
|
|
//
|
|
this.toolStripMenuItem22.Name = "toolStripMenuItem22";
|
|
this.toolStripMenuItem22.Size = new System.Drawing.Size(158, 22);
|
|
this.toolStripMenuItem22.Text = "全部展开";
|
|
//
|
|
// _ViewerToolbar
|
|
//
|
|
this._ViewerToolbar.Dock = System.Windows.Forms.DockStyle.None;
|
|
this._ViewerToolbar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
_FirstPage,
|
|
_PreviousPage,
|
|
this._CurrentPageBox,
|
|
_NextPage,
|
|
_LastPage,
|
|
this._ZoomBox,
|
|
this._ViewerButton});
|
|
this._ViewerToolbar.Location = new System.Drawing.Point(342, 0);
|
|
this._ViewerToolbar.Name = "_ViewerToolbar";
|
|
this._ViewerToolbar.Size = new System.Drawing.Size(262, 25);
|
|
this._ViewerToolbar.TabIndex = 4;
|
|
this._ViewerToolbar.Text = "toolStrip1";
|
|
this._ViewerToolbar.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._MainToolbar_ItemClicked);
|
|
//
|
|
// _CurrentPageBox
|
|
//
|
|
this._CurrentPageBox.Name = "_CurrentPageBox";
|
|
this._CurrentPageBox.Size = new System.Drawing.Size(50, 25);
|
|
this._CurrentPageBox.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// _ZoomBox
|
|
//
|
|
this._ZoomBox.Items.AddRange(new object[] {
|
|
"适合页面",
|
|
"适合页宽",
|
|
"适合页高",
|
|
"20%",
|
|
"30%",
|
|
"50%",
|
|
"75%",
|
|
"100%",
|
|
"133%",
|
|
"150%",
|
|
"200%",
|
|
"300%",
|
|
"400%"});
|
|
this._ZoomBox.Name = "_ZoomBox";
|
|
this._ZoomBox.Size = new System.Drawing.Size(75, 25);
|
|
//
|
|
// EditorControl
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this._MainPanel);
|
|
this.Controls.Add(this._ViewerToolbar);
|
|
this.Controls.Add(this._BookmarkToolbar);
|
|
this.Font = new System.Drawing.Font("SimSun", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.Name = "EditorControl";
|
|
this.Size = new System.Drawing.Size(629, 325);
|
|
this._SelectionMenu.ResumeLayout(false);
|
|
this._EditMenu.ResumeLayout(false);
|
|
this._RecentFileMenu.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this._BookmarkBox)).EndInit();
|
|
this._MainPanel.Panel1.ResumeLayout(false);
|
|
this._MainPanel.Panel1.PerformLayout();
|
|
this._MainPanel.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this._MainPanel)).EndInit();
|
|
this._MainPanel.ResumeLayout(false);
|
|
this._ViewerMenu.ResumeLayout(false);
|
|
this._BookmarkToolbar.ResumeLayout(false);
|
|
this._BookmarkToolbar.PerformLayout();
|
|
this._ViewerToolbar.ResumeLayout(false);
|
|
this._ViewerToolbar.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ContextMenuStrip _EditMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem _ChangeZoomRate;
|
|
private System.Windows.Forms.ToolStripMenuItem _SetOpenStatus;
|
|
private System.Windows.Forms.ContextMenuStrip _UndoMenu;
|
|
private PDFPatcher.Functions.BookmarkEditorView _BookmarkBox;
|
|
private System.Windows.Forms.ContextMenuStrip _SelectionMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem _CollapseAll;
|
|
private System.Windows.Forms.ToolStripMenuItem _ExpandAll;
|
|
private System.Windows.Forms.ContextMenuStrip _RecentFileMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem _CollapseChildren;
|
|
private System.Windows.Forms.ToolStripMenuItem _ChangeCase;
|
|
private System.Windows.Forms.CheckBox _IncludeDecendantBox;
|
|
private System.Windows.Forms.SplitContainer _MainPanel;
|
|
private PdfViewerControl _ViewerBox;
|
|
private System.Windows.Forms.Label _PageInfoBox;
|
|
private System.Windows.Forms.ToolStrip _BookmarkToolbar;
|
|
private System.Windows.Forms.ToolStripSplitButton _UndoButton;
|
|
private System.Windows.Forms.ToolStripButton _BookmarkBoldButton;
|
|
private System.Windows.Forms.ToolStripButton _BookmarkItalicButton;
|
|
private ColorPicker.ToolStripColorPicker _BookmarkColorButton;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem8;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator9;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem20;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem21;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem22;
|
|
private System.Windows.Forms.ToolStrip _ViewerToolbar;
|
|
private System.Windows.Forms.ToolStripTextBox _CurrentPageBox;
|
|
private System.Windows.Forms.ToolStripComboBox _ZoomBox;
|
|
private System.Windows.Forms.ToolStripSplitButton _AddFilesButton;
|
|
private System.Windows.Forms.ContextMenuStrip _ViewerMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem _OcrPage;
|
|
private System.Windows.Forms.ToolStripButton _SavePDF;
|
|
private System.Windows.Forms.ToolStripButton _SaveBookmark;
|
|
private System.Windows.Forms.ToolStripMenuItem _OcrMenu;
|
|
private System.Windows.Forms.ToolStripDropDownButton _ViewerButton;
|
|
private System.Windows.Forms.ToolStripMenuItem _QuickSelect;
|
|
private System.Windows.Forms.ToolStripMenuItem _MarkBookmarkCyan;
|
|
private System.Windows.Forms.ToolStripMenuItem _SavePageImage;
|
|
private System.Windows.Forms.ToolStripMenuItem _ShowAnnotations;
|
|
private System.Windows.Forms.ToolStripMenuItem _InsertWithOcrOnly;
|
|
private System.Windows.Forms.ToolStripMenuItem _SetCurrentCoordinates;
|
|
}
|
|
}
|