[208] Plakat: Situation 1:500, Kennzahlen- und Baurecht-Tabelle, 3D-Bild-Rahmen auf dem Spaltenraster, weitere Plakate statt kleinerem Massstab, kein Schriftfeld bei Plakat-Vorlage
This commit is contained in:
14 files changed
+806
-33
No files matched your search
@@ -12,7 +12,7 @@ export function createPresentationSheet(o: PresentationOptions): string | null {
|
||||
const res = presentationSheetOps(
|
||||
st.project,
|
||||
o,
|
||||
{ sheetName: t("presentation.sheetName"), masterName: t("presentation.masterName", { format }), north: t("presentation.north"), northGroup: t("presentation.northGroup"), scaleBarGroup: t("presentation.scaleBarGroup") },
|
||||
{ sheetName: t("presentation.sheetName"), masterName: t("presentation.masterName", { format }), north: t("presentation.north"), northGroup: t("presentation.northGroup"), scaleBarGroup: t("presentation.scaleBarGroup"), situation: t("presentation.situation"), tableAreas: t("presentation.table.areas"), tableSiteProof: t("presentation.table.siteProof"), imagePlaceholder: t("presentation.image.placeholder"), imageHint: t("presentation.image.hint") },
|
||||
String(Date.now()),
|
||||
);
|
||||
if (!res) {
|
||||
@@ -20,7 +20,9 @@ export function createPresentationSheet(o: PresentationOptions): string | null {
|
||||
return null;
|
||||
}
|
||||
st.applyChange(res.ops);
|
||||
if (res.plan.fits) st.notify(t("presentation.done", { scale: res.plan.scale, n: res.plan.items.length }), "info");
|
||||
const pages = res.plan.pages ?? 1;
|
||||
if (res.plan.fits && pages > 1) st.notify(t("presentation.donePages", { scale: res.plan.scale, pages }), "info");
|
||||
else if (res.plan.fits) st.notify(t("presentation.done", { scale: res.plan.scale, n: res.plan.items.length }), "info");
|
||||
else st.notify(t("presentation.tooBig", { scale: res.plan.scale }), "warning");
|
||||
return res.layoutId;
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user