Merge pull request #1814 from ramox81/codex/pdf-shx-text

PDFSHXTEXT: recognise SHX text geometry as MText

# Conflicts:
#	locales/en-US/opencadstudio.ftl
#	locales/tr-TR/opencadstudio.ftl
#	src/app/commands/blocks.rs
#	src/app/control/actions.rs
#	src/modules/draw/select.rs
This commit is contained in:
Hakan Seven committed 2026-10-15 21:39:53 +03:00
commit 1efc82bad2
36 files changed
+2510

No files matched your search

+7
View File
@@ -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::Txt2MtxtSettings) => crate::tr!("txt2mtxt", "title"),
@@ -569,6 +570,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| {