kz.greetgo.msoffice.docx.DocumentHeader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greetgo.msoffice Show documentation
Show all versions of greetgo.msoffice Show documentation
greetgo library to generate or parse MS Office files
package kz.greetgo.msoffice.docx;
import java.io.PrintStream;
public class DocumentHeader extends DocumentFlow {
public DocumentHeader(String partName, MSHelper msHelper) {
super(partName, msHelper);
}
@Override
public ContentType getContentType() {
return ContentType.HEADER;
}
@Override
protected void writeTopXml(PrintStream out) {
out.print("\n");
out.print("");
}
@Override
protected void writeBottomXml(PrintStream out) {
out.print(" ");
}
}