- Cleanup output folders before processing
- New GenMac code - Anchors on form design - Exclude list to eliminate unsupported formats - Added namespace to svg element - Added black stroke attribute to line element Added Checkoffs Changed ChangeBar structures
This commit is contained in:
@@ -146,7 +146,7 @@ namespace fmtxml
|
||||
private static bool AddSvgPrefix(FileInfo file, StringBuilder sb, bool svg)
|
||||
{
|
||||
sb.Append("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n");
|
||||
sb.Append("<svg width=\"8in\" height=\"10in\" viewBox=\"0 0 576 720\">\r\n");
|
||||
sb.Append("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8in\" height=\"10in\" viewBox=\"0 0 576 720\">\r\n");
|
||||
sb.Append(string.Format(" <desc>{0}</desc>\r\n", file.Name.ToLower().Replace(".rtf", "")));
|
||||
svg = true;
|
||||
return svg;
|
||||
@@ -265,7 +265,7 @@ namespace fmtxml
|
||||
private static void AddLine(StringBuilder sb, string text)
|
||||
{
|
||||
Match lineMatch = regLine.Match(text);
|
||||
sb.Append(string.Format(" <line x1=\"{0}\" y1=\"{1}\" x2=\"{2}\" y2=\"{3}\" stroke-width=\"{4}\" />\r\n",
|
||||
sb.Append(string.Format(" <line x1=\"{0}\" y1=\"{1}\" x2=\"{2}\" y2=\"{3}\" stroke=\"black\" stroke-width=\"{4}\" />\r\n",
|
||||
TwipsToPoints(lineMatch.Groups[1].Value),
|
||||
TwipsToPoints(lineMatch.Groups[2].Value),
|
||||
TwipsToPoints(lineMatch.Groups[3].Value) + TwipsToPoints(lineMatch.Groups[1].Value),
|
||||
|
Reference in New Issue
Block a user