[89] Layout-Blatt: Zeichnen wie im Grundriss (Blatt-Ebene statt eigener Annotationen)

Jedes Layout hat eine Blatt-Ebene (DrawingLevel.layoutId, Papier 1:1 in Metern); ein offenes Blatt
macht sie zur aktiven Ebene in derselben PlanView: gleiche Befehle, Fang, Griffe, Vorschau/HUD,
Auswahl, Undo und dasselbe Rendering. Das Blatt liefert nur den Hintergrund (PlanView.backdrop) und
das Platzieren der Viewports. Format 3 migriert Layout.annotations zu drawings2d. Layout-PDF legt die
Blatt-Ebene über planToPrintSvg aufs Papier. Alter Annotations-Pfad gelöscht. e2e layoutSheet.spec.ts.
This commit is contained in:
Claude committed 2026-10-29 20:29:55 +00:00
1 parent c78021473b
commit 3ff123773a
43 files changed
+1245 -2756

No files matched your search

-17
View File
@@ -435,8 +435,6 @@ export const de = {
"objinfo.kind.column": "Stütze",
"objinfo.kind.roof": "Dach",
"objinfo.kind.contextObject": "Kontext-Objekt",
"objinfo.kind.layoutAnnotation": "Blatt-Markup",
"objinfo.layoutAnnotationHint": "Position/Grösse in mm direkt am Rahmen auf dem Blatt bearbeiten (Greifpunkte oder die Felder dort).",
// ── Kontext-Objekt-Attribute (Object-Info-Panel) ────────────────────────
"objinfo.contextObject.section": "Georeferenzierung",
"objinfo.contextObject.type": "Art",
@@ -2427,7 +2425,6 @@ export const de = {
// Editor
"layouts.editorTitle": "Layout-Editor",
"layouts.fit": "Einpassen",
"layouts.zoom100": "Echte Grösse (100 %, 1:1 auf dem Bildschirm)",
"layouts.addViewport": "Viewport hinzufügen",
"layouts.pickSnapshot": "Ausschnitt wählen …",
"layouts.noSnapshots": "Keine Ausschnitte vorhanden. Zuerst einen Ausschnitt speichern.",
@@ -2446,23 +2443,9 @@ export const de = {
"layouts.placeViewport": "Viewport aufziehen",
"layouts.placeHint": "Rechteck auf dem Blatt aufziehen, dann Ausschnitt binden.",
"layouts.bindSnapshot": "Ausschnitt binden",
"layouts.emptyViewports":
"Noch keine Viewports. „Viewport aufziehen\" wählen und ein Rechteck auf dem Blatt ziehen.",
// Annotationen (Linie/Rechteck/Text/Bild) direkt auf dem Blatt — gezeichnet
// mit denselben Werkzeugen wie im Grundriss (linkes Werkzeugpanel), kein
// eigenes Werkzeug nur fürs Layout.
"layouts.annotTextTitle": "Text",
"layouts.annotTextLabel": "Textinhalt:",
"layouts.annotEditText": "Text ändern",
"layouts.annotRemove": "Annotation entfernen",
"layouts.annotX": "X (mm)",
"layouts.annotY": "Y (mm)",
"layouts.annotWidth": "Breite (mm)",
"layouts.annotHeight": "Höhe (mm)",
"layouts.annot.line": "Linie",
"layouts.annot.rect": "Rechteck",
"layouts.annot.text": "Text",
"layouts.annot.image": "Bild",
// Baum / „+"-Menü / Ordner
"layouts.add": "Neu …",
"layouts.addFolder": "Ordner erstellen",
-17
View File
@@ -433,8 +433,6 @@ export const en: Record<TranslationKey, string> = {
"objinfo.kind.column": "Column",
"objinfo.kind.roof": "Roof",
"objinfo.kind.contextObject": "Context object",
"objinfo.kind.layoutAnnotation": "Sheet markup",
"objinfo.layoutAnnotationHint": "Edit position/size in mm directly on the frame on the sheet (grips or the fields there).",
// ── Context object attributes (object info panel) ───────────────────────
"objinfo.contextObject.section": "Georeferencing",
"objinfo.contextObject.type": "Type",
@@ -2414,7 +2412,6 @@ export const en: Record<TranslationKey, string> = {
// Editor
"layouts.editorTitle": "Layout editor",
"layouts.fit": "Fit",
"layouts.zoom100": "True size (100%, 1:1 on screen)",
"layouts.addViewport": "Add viewport",
"layouts.pickSnapshot": "Pick a view …",
"layouts.noSnapshots": "No views available. Save a view first.",
@@ -2433,22 +2430,8 @@ export const en: Record<TranslationKey, string> = {
"layouts.placeViewport": "Draw viewport",
"layouts.placeHint": "Drag a rectangle on the sheet, then bind a snapshot.",
"layouts.bindSnapshot": "Bind snapshot",
"layouts.emptyViewports":
"No viewports yet. Choose “Draw viewport” and drag a rectangle on the sheet.",
// Annotations (line/rect/text/image) drawn directly on the sheet — with the
// same tools as the plan (left tools panel), no layout-only tool.
"layouts.annotTextTitle": "Text",
"layouts.annotTextLabel": "Text content:",
"layouts.annotEditText": "Edit text",
"layouts.annotRemove": "Remove annotation",
"layouts.annotX": "X (mm)",
"layouts.annotY": "Y (mm)",
"layouts.annotWidth": "Width (mm)",
"layouts.annotHeight": "Height (mm)",
"layouts.annot.line": "Line",
"layouts.annot.rect": "Rectangle",
"layouts.annot.text": "Text",
"layouts.annot.image": "Image",
// Tree / “+” menu / folders
"layouts.add": "New …",
"layouts.addFolder": "Create folder",