ExtensionSet<TextFlowExtension> extensions = from.getExtensions(true);
if (enabledExtensions.contains(PotEntryHeader.ID)) {
PotEntryHeader entryHeader =
extensions.findByType(PotEntryHeader.class);
if (entryHeader != null) {
HPotEntryData hEntryHeader = to.getPotEntryData();
if (hEntryHeader == null) {
changed = true;
hEntryHeader = new HPotEntryData();
to.setPotEntryData(hEntryHeader);
log.debug("set potentryheader");
}
changed |=
transferFromPotEntryHeader(entryHeader, hEntryHeader,