(Re)adding the usability of having a list ODF style family for easier/consistent access to style properties
@@ -1013,6 +1013,8 @@ public class Component {
familyProperties.put("column", OdfStylePropertiesSet.TableColumnProperties);
} else if (styleFamily.equals(OdfStyleFamily.Section)) {
familyProperties.put("section", OdfStylePropertiesSet.SectionProperties);
+ } else if (styleFamily.equals(OdfStyleFamily.List)) {
+ familyProperties.put("list", OdfStylePropertiesSet.ListLevelProperties);
} else if (styleFamily.equals(OdfStyleFamily.Chart)) {
familyProperties.put("chart", OdfStylePropertiesSet.ChartProperties);
familyProperties.put(
@@ -1067,6 +1069,8 @@ public class Component {
familyID = "column";
} else if (styleFamily.equals(OdfStyleFamily.Section)) {
familyID = "section";
+ } else if (styleFamily.equals(OdfStyleFamily.List)) {
+ familyID = "list";
} else if (styleFamily.equals(OdfStyleFamily.Chart)) {
familyID = "chart";
} else if (styleFamily.equals(OdfStyleFamily.Graphic)
@@ -1086,6 +1090,7 @@ public class Component {
if (styleFamily.equals(OdfStyleFamily.Paragraph)
|| styleFamily.equals(OdfStyleFamily.Text)
|| styleFamily.equals(OdfStyleFamily.Section)
+ || styleFamily.equals(OdfStyleFamily.List)
|| styleFamily.equals(OdfStyleFamily.Ruby)) {
familyID = "text";
} else if (styleFamily.equals(OdfStyleFamily.Table)
@@ -1122,6 +1127,8 @@ public class Component {
familyID = "column";
} else if (styleFamily.equals(OdfStyleFamily.Section)) {
familyID = "section";
+ } else if (styleFamily.equals(OdfStyleFamily.List)) {
+ familyID = "list";
} else if (styleFamily.equals(OdfStyleFamily.Chart)) {
familyID = "chart";
} else if (styleFamily.equals(OdfStyleFamily.Graphic)
@@ -1152,6 +1159,8 @@ public class Component {
familyID = "Column";
} else if (styleFamily.equals(OdfStyleFamily.Section)) {
familyID = "Section";
+ } else if (styleFamily.equals(OdfStyleFamily.List)) {
+ familyID = "List";
} else if (styleFamily.equals(OdfStyleFamily.Presentation)) {
familyID = "Presentation";
} else if (styleFamily.equals(OdfStyleFamily.Chart)) {
