backwardLink.appendChild( createNoteInline( textIndex + " " ) );
backwardLink.setAttribute( "id", forwardLinkName );
endnote.appendChild( backwardLink );
- processCharacters( doc, Integer.MIN_VALUE, endnoteTextRange, endnote );
+
+ blocksProperies.push( new BlockProperies( "", -1, false, false ) );
+ try
+ {
+ processCharacters( doc, Integer.MIN_VALUE, endnoteTextRange,
+ endnote );
+ }
+ finally
+ {
+ blocksProperies.pop();
+ }
this.endnotes.add( endnote );
}
footnoteBody.appendChild( footnoteBlock );
footNote.appendChild( footnoteBody );
- processCharacters( doc, Integer.MIN_VALUE, footnoteTextRange,
- footnoteBlock );
+ blocksProperies.push( new BlockProperies( "", -1, false, false ) );
+ try
+ {
+ processCharacters( doc, Integer.MIN_VALUE, footnoteTextRange,
+ footnoteBlock );
+ }
+ finally
+ {
+ blocksProperies.pop();
+ }
}
protected void processHyperlink( HWPFDocumentCore wordDocument,
span.setAttribute( "class", type + "notetext" );
note.appendChild( span );
- processCharacters( doc, Integer.MIN_VALUE, noteTextRange, span );
+ this.blocksProperies.add( new BlockProperies( "", -1 ) );
+ try
+ {
+ processCharacters( doc, Integer.MIN_VALUE, noteTextRange, span );
+ }
+ finally
+ {
+ this.blocksProperies.pop();
+ }
}
protected void processPageref( HWPFDocumentCore hwpfDocument,
}
final Element tableElement = htmlDocumentFacade.createTable();
+ tableElement
+ .setAttribute(
+ "class",
+ htmlDocumentFacade.getOrCreateCssClass(
+ tableElement.getTagName(), "t",
+ "table-layout:fixed;border-collapse:collapse;border-spacing:0;" ) );
if ( tableHeader.hasChildNodes() )
{
tableElement.appendChild( tableHeader );