Skip to content

Commit

Permalink
* added heading4 to
Browse files Browse the repository at this point in the history
   AsciiDoc export
  • Loading branch information
festo-i40 committed Sep 6, 2024
1 parent 3c0aec1 commit cda3ac6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AasxPluginExportTable/Smt/ExportSmt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ public void ExportSmtToFile(
ProcessTextBlob("=== ", blob);
if (semId.Matches(defs.CD_Heading3.GetCdReference(), mm))
ProcessTextBlob("==== ", blob);
if (semId.Matches(defs.CD_Heading4.GetCdReference(), mm))
ProcessTextBlob("===== ", blob);
}
if (sme is Aas.IFile || sme is Aas.IBlob)
Expand Down
6 changes: 6 additions & 0 deletions src/AasxPredefinedConcepts/Definitions/DefinitionsAsciiDoc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public Aas.ConceptDescription
CD_Heading1,
CD_Heading2,
CD_Heading3,
CD_Heading4,
CD_ImageFile,
CD_GenerateUml,
CD_GenerateTables;
Expand Down Expand Up @@ -67,6 +68,11 @@ public AsciiDoc()
"http://admin-shell.io/aasx-package-explorer/functions/asciidoc/heading3/1/0",
@"Heading with level 3 in AsciiDoc. That is: sub sub section.");

CD_Heading4 = CreateSparseConceptDescription("en", "IRI",
"Heading4",
"http://admin-shell.io/aasx-package-explorer/functions/asciidoc/heading4/1/0",
@"Heading with level 4 in AsciiDoc. That is: sub sub sub section.");

CD_ImageFile = CreateSparseConceptDescription("en", "IRI",
"ImageFile",
"http://admin-shell.io/aasx-package-explorer/functions/asciidoc/imagefile/1/0",
Expand Down

0 comments on commit cda3ac6

Please sign in to comment.