How does an excel template get data form a map?

Worksheet w = …
w.getCells().get(“A1”).putValue("&=table.name w1");
w.getCells().get(“B1”).putValue("&=table.name w2"); //With spaces in the middle of name and w2

Map<String,String> m = new HashMap();
m.put(“name w1”, “a1”);
m.put(“name w2”, “a2”);

List ls = new ArrayList();
ls.put(m);
wb.setDataSource(“table”, ls);

report.process();

The above code,the result has no data fill, how to transform to get the data with space in the label.

@huawei,

I am unable to execute the shared code because of some undefined objects. Please share a working sample application while using Aspose.Cells for Java 18.7 on your end. Also mention your JDK version for our reference.