|
@@ -1097,6 +1097,25 @@ namespace Compdfkit_Tools.PDFControl
|
|
{
|
|
{
|
|
PdfViewControl.SetIsShowStampMouse(false);
|
|
PdfViewControl.SetIsShowStampMouse(false);
|
|
}
|
|
}
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ int PageIndex = -1;
|
|
|
|
+ CPDFEditArea editAreaArea = PdfViewControl.PDFToolManager.GetSelectedEditAreaObject(ref PageIndex);
|
|
|
|
+ if (editAreaArea == null)
|
|
|
|
+ {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ if (editAreaArea.Type == CPDFEditType.EditText)
|
|
|
|
+ {
|
|
|
|
+ PDFEditParam pDFEditParam = ParamConverter.CPDFDataConverterToPDFEitParam(PdfViewControl.PDFToolManager.GetDocument(), editAreaArea, PageIndex);
|
|
|
|
+ pdfContentEditControl.SetPDFTextEditData((TextEditParam)pDFEditParam, true);
|
|
|
|
+ PropertyContainer.Child = pdfContentEditControl;
|
|
|
|
+ }
|
|
|
|
+ panelState.RightPanel = PanelState.RightPanelState.PropertyPanel;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
private void PDFToolManager_MouseLeftButtonDownHandler(object sender, MouseEventObject e)
|
|
private void PDFToolManager_MouseLeftButtonDownHandler(object sender, MouseEventObject e)
|