This commit is contained in:
Simon Martens
2022-01-27 21:57:17 +01:00
parent 0d1905c761
commit 8b84b6785a
472 changed files with 95 additions and 42746 deletions

View File

@@ -78,11 +78,10 @@ namespace HaDocument.Reactors
{
_page = tag["index"];
if (!CreatedStructure[Index].ContainsKey(_page))
{
CreatedStructure[Index].Add(_page, new HashSet<string>());
}
}
else if (
_active &&
!tag.EndTag &&
!tag.IsEmpty &&
tag.Name == "hand" &&
@@ -94,14 +93,13 @@ namespace HaDocument.Reactors
_handstartpg = _page;
}
else if (
_active &&
tag.EndTag &&
tag.Name == "hand"
)
{
if (_hands == null)
{
_hands = new List<Hand>();
}
_hands.Add(new Hand(Index, _person, _handstartpg, _handstartln, _page, _line));
}
}