diff --git a/CHANGELOG.md b/CHANGELOG.md index a5f73bd..886ce62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # X.X.X.X (XX.XX.XXXX) - Set generation working directory to current file to allow relative includes -- SVG.NET library updated to 3.4.6, dependent ExCSS library updated to 4.2.3 +- SVG.NET library updated to 3.4.7, dependent ExCSS library updated to 4.2.3 to fix SVG export namespace prefix not set accordingly # 1.6.0.10 (13.07.2023) - PlantUML version updated to 1.2023.10 diff --git a/PlantUmlViewer/PlantUmlViewer/Forms/PreviewWindow.cs b/PlantUmlViewer/PlantUmlViewer/Forms/PreviewWindow.cs index 91492f4..ec479b7 100644 --- a/PlantUmlViewer/PlantUmlViewer/Forms/PreviewWindow.cs +++ b/PlantUmlViewer/PlantUmlViewer/Forms/PreviewWindow.cs @@ -541,14 +541,14 @@ private void AddMetadata(SvgDocument svg) //Add metadata SvgUnknownElement metadata = new SvgUnknownElement("metadata"); - NonSvgElement rdfMetadata = new NonSvgElement("RDF", "rdf"); + NonSvgElement rdfMetadata = new NonSvgElement("RDF", NAMESPACE_RDF); rdfMetadata.Namespaces["rdf"] = NAMESPACE_RDF; rdfMetadata.Namespaces["dc"] = NAMESPACE_DC; rdfMetadata.Namespaces["puv"] = NAMESPACE_PUV; rdfMetadata.Children.Add(new NonSvgElement("product", NAMESPACE_PUV) { Content = AssemblyAttributes.Product }); rdfMetadata.Children.Add(new NonSvgElement("version", NAMESPACE_PUV) { Content = AssemblyAttributes.Version }); - rdfMetadata.Children.Add(new NonSvgElement("plantuml", NAMESPACE_PUV) { Content = PlantUmlViewer.PLANT_UML_VERSION }); + rdfMetadata.Children.Add(new NonSvgElement("plantumlviewer", NAMESPACE_PUV) { Content = PlantUmlViewer.PLANT_UML_VERSION }); NonSvgElement rdfMetadataDescription = new NonSvgElement("Description", NAMESPACE_RDF); rdfMetadataDescription.Children.Add(new NonSvgElement("creator", NAMESPACE_DC) { Content = WindowsIdentity.GetCurrent().Name }); diff --git a/PlantUmlViewer/PlantUmlViewer/PlantUmlViewer.csproj b/PlantUmlViewer/PlantUmlViewer/PlantUmlViewer.csproj index db87b92..602645a 100644 --- a/PlantUmlViewer/PlantUmlViewer/PlantUmlViewer.csproj +++ b/PlantUmlViewer/PlantUmlViewer/PlantUmlViewer.csproj @@ -80,7 +80,7 @@ ..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll - ..\packages\Svg.3.4.6\lib\net462\Svg.dll + ..\packages\Svg.3.4.7\lib\net462\Svg.dll @@ -183,12 +183,15 @@ AboutWindow.cs + Designer PreviewWindow.cs + Designer OptionsWindow.cs + Designer ResXFileCodeGenerator diff --git a/PlantUmlViewer/PlantUmlViewer/Properties/AssemblyInfo.cs b/PlantUmlViewer/PlantUmlViewer/Properties/AssemblyInfo.cs index ad9fed3..b56aab4 100644 --- a/PlantUmlViewer/PlantUmlViewer/Properties/AssemblyInfo.cs +++ b/PlantUmlViewer/PlantUmlViewer/Properties/AssemblyInfo.cs @@ -2,7 +2,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following +// General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("PlantUmlViewer")] @@ -10,12 +10,12 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Schmidt")] [assembly: AssemblyProduct("PlantUML Viewer by Philipp Schmidt")] -[assembly: AssemblyCopyright("Copyright © 2022 - 2023, all rights reserved")] +[assembly: AssemblyCopyright("Copyright © 2022 - 2024, all rights reserved")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] @@ -25,11 +25,11 @@ // Version information for an assembly consists of the following four values: // // Major Version -// Minor Version +// Minor Version // Build Number // Revision // -// You can specify all the values or you can default the Build and Revision Numbers +// You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.6.0.10")] diff --git a/PlantUmlViewer/PlantUmlViewer/packages.config b/PlantUmlViewer/PlantUmlViewer/packages.config index fbf6339..4c84294 100644 --- a/PlantUmlViewer/PlantUmlViewer/packages.config +++ b/PlantUmlViewer/PlantUmlViewer/packages.config @@ -1,4 +1,4 @@ - + @@ -6,7 +6,7 @@ - +