I am trying to to put some html code in docx header, but it just appear as simple text.
1 - It is possible to renderize html code in header part?
2 - If does, how can I do it?
It is currently Tue Aug 19, 2025 8:49 am
PresentationMLPackage ppt = (PresentationMLPackage) OpcPackage.load(inputPptxFile);
SlidePart slide = ppt.getMainPresentationPart().getSlide(0);
HashMap h = new HashMap<String, String>();
h.put("key", "green");
slide.variableReplace(h);
Total posts 10189 • Total topics 2867 • Total members 2097