From b58ae4280d1008d5f9d8a1cc1ddfa49c2b330b15 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Tue, 21 Jan 2020 17:49:09 +0100 Subject: [PATCH] Added toPrint in StyleInfo --- src/main/java/writer2latex/xhtml/StyleInfo.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/writer2latex/xhtml/StyleInfo.java b/src/main/java/writer2latex/xhtml/StyleInfo.java index 04fea7c..4783b7f 100644 --- a/src/main/java/writer2latex/xhtml/StyleInfo.java +++ b/src/main/java/writer2latex/xhtml/StyleInfo.java @@ -37,4 +37,8 @@ public class StyleInfo { public boolean hasAttributes() { return !props.isEmpty() || sClass!=null || sLang!=null || sDir!=null; } + public String toString(){ + String out = "sTagName: " + sTagName + "\n sClass: " + sClass + "\n sLang: " + "\n sDir: " + sDir + "\n Props: "+ props; + return out; + } }