forked from 1b-agent/opencadstudio-upstream
PDFSHXTEXT: recognise SHX text geometry as MText
Adds PDFSHXTEXT with the PDF Text Recognition Settings dialog, its command-line form, the PDFSHXLAYER / PDFSHXBESTFONT / PDFSHXTEXTSETTINGS variables and the profile settings they are kept in. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
39c3e9af58
commit
907e501765
17 files changed
+2140
No files matched your search
@@ -44,6 +44,7 @@ impl OpenCADStudio {
|
||||
),
|
||||
Some(K::ImageAdjust) => crate::tr!("image-adjust", "title"),
|
||||
Some(K::RefEdit) => crate::tr!("ref-edit", "dialog-title"),
|
||||
Some(K::PdfShxSettings) => crate::tr!("pdf-shx", "title"),
|
||||
Some(K::UnderlayLayers) => crate::t!("Underlay Layers").into_owned(),
|
||||
Some(K::PdfImportSettings) => crate::t!("PDF Import Settings").into_owned(),
|
||||
Some(K::PdfImportFile) => crate::t!("Import PDF").into_owned(),
|
||||
@@ -557,6 +558,12 @@ impl OpenCADStudio {
|
||||
crate::ui::window::pdf_dialogs::image_adjust(state, flow)
|
||||
})
|
||||
}
|
||||
super::super::ModalKind::PdfShxSettings => {
|
||||
let state = self.pdf_shx_dialog.as_ref()?;
|
||||
sized_flow(ex, 780, 600, |flow| {
|
||||
crate::ui::window::pdf_shx_dialog::view(state, flow)
|
||||
})
|
||||
}
|
||||
super::super::ModalKind::RefEdit => {
|
||||
let state = self.refedit_dialog.as_ref()?;
|
||||
sized_flow(ex, 560, 470, |flow| {
|
||||
|
||||
Reference in new issue
Block a user