* dc:subject}.
*
* @param subject set the specified document subject. NULL will remove the element from the meta.xml.
*/
public void setSubject(String subject) {
DcSubjectElement subjectEle = OdfElement.findFirstChildNode(
DcSubjectElement.class, mOfficeMetaElement);
if (subject == null) {
if (subjectEle != null) {
mOfficeMetaElement.removeChild(subjectEle);
}
} else {
if (subjectEle == null) {
subjectEle = mOfficeMetaElement.newDcSubjectElement();
}
subjectEle.setTextContent(subject);
}
}