Text source satisfying

Improved layout options, better UI, tested features.
This commit is contained in:
Bruno Herbelin
2023-11-13 12:41:37 +01:00
parent d39064b209
commit 58371c36d3
12 changed files with 368 additions and 70 deletions

View File

@@ -866,8 +866,13 @@ void SessionVisitor::visit (TextSource& s)
}
contents->SetAttribute("font-desc", s.contents()->fontDescriptor().c_str() );
contents->SetAttribute("halignment", s.contents()->halignment() );
contents->SetAttribute("valignment", s.contents()->valignment() );
contents->SetAttribute("color", s.contents()->color() );
contents->SetAttribute("halignment", s.contents()->horizontalAlignment() );
contents->SetAttribute("valignment", s.contents()->verticalAlignment() );
contents->SetAttribute("outline", s.contents()->outline() );
contents->SetAttribute("outline-color", s.contents()->outlineColor() );
contents->SetAttribute("x", s.contents()->horizontalPadding() );
contents->SetAttribute("y", s.contents()->verticalPadding() );
xmlCurrent_->InsertEndChild(contents);
}