public class TagSingleBox
extends SdtTagHandler
In Word, adjacent paragraphs with the same borders are enclosed in a single border
(unless bullets/numbering apply).
Similarly with shading. (If the 2 paragraphs are shaded different colors, then the
color of the first extends to the start of the second, so there is no white strip
between them).
To do the same in HTML, Containerization puts matching paragraphs into a content
control.
It is the job of this class to make a div out of that content control, and
set the border/shading on that as a style, copying the style value from
the first paragraph enclosed.
TODO: Note that there will typically be 2 content controls and therefore divs,
one for borders and one for shading. But the style will be the same on
each, so one is redundant.
- Author:
- jason