style.setTextUnderline( getMemberProperty( highlight, HighlightRule.TEXT_UNDERLINE_MEMBER ) ); style.setTextLineThrough( getMemberProperty( highlight, HighlightRule.TEXT_LINE_THROUGH_MEMBER ) ); style.setTextOverline( getMemberProperty( highlight, HighlightRule.TEXT_OVERLINE_MEMBER ) );
if ( "underline".equalsIgnoreCase( getMemberProperty( highlight, Style.TEXT_UNDERLINE_PROP ) ) ) { style.setTextUnderline( "true" ); } if ( "line-through".equalsIgnoreCase( getMemberProperty( highlight, Style.TEXT_LINE_THROUGH_PROP ) ) ) { style.setTextLineThrough( "true" ); } if ( "overline".equalsIgnoreCase( getMemberProperty( highlight, Style.TEXT_OVERLINE_PROP ) ) ) { style.setTextOverline( "true" ); }
	IStyle setupStyle( StructureHandle highlight, IStyle style )	{		// Background		style.setBackgroundColor( getMemberProperty( highlight,				HighlightRule.BACKGROUND_COLOR_MEMBER ) );		// style.setBackgroundPositionX(getMemberProperty(highlight,		// HighlightRule.BACKGROUND_POSITION_X_MEMBER));		// style.setBackgroundPositionY(getMemberProperty(highlight,		// HighlightRule.BACKGROUND_POSITION_Y_MEMBER));		// style.setBackgroundRepeat(getMemberProperty(highlight,		// HighlightRule.BACKGROUND_REPEAT_MEMBER));		// Text related		style.setTextAlign( getMemberProperty( highlight,				HighlightRule.TEXT_ALIGN_MEMBER ) );		style.setTextIndent( getMemberProperty( highlight,				HighlightRule.TEXT_INDENT_MEMBER ) );		style.setTextUnderline( getMemberProperty( highlight,				HighlightRule.TEXT_UNDERLINE_MEMBER ) );		style.setTextLineThrough( getMemberProperty( highlight,				HighlightRule.TEXT_LINE_THROUGH_MEMBER ) );		style.setTextOverline( getMemberProperty( highlight,				HighlightRule.TEXT_OVERLINE_MEMBER ) );		// style.setLetterSpacing(getMemberProperty(highlight,		// HighlightRule.LETTER_SPACING_MEMBER));		// style.setLineHeight(getMemberProperty(highlight,		// HighlightRule.LINE_HEIGHT_MEMBER));		// style.setOrphans(getMemberProperty(highlight,		// HighlightRule.ORPHANS_MEMBER));		style.setTextTransform( getMemberProperty( highlight,				HighlightRule.TEXT_TRANSFORM_MEMBER ) );		// style.setVerticalAlign(getMemberProperty(highlight,		// HighlightRule.VERTICAL_ALIGN_MEMBER));		// style.setWhiteSpace(getMemberProperty(highlight,		// HighlightRule.WHITE_SPACE_MEMBER));		// style.setWidows(getMemberProperty(highlight,		// HighlightRule.WIDOWS_MEMBER));		// style.setWordSpacing(getMemberProperty(highlight,		// HighlightRule.WORD_SPACING_MEMBER));		// Section properties		// style.setDisplay(getMemberProperty(highlight,		// HighlightRule.DISPLAY_MEMBER));		// style.setMasterPage(getMemberProperty(highlight,		// HighlightRule.MASTER_PAGE_MEMBER));		// style.setPageBreakAfter(getMemberProperty(highlight,		// HighlightRule.PAGE_BREAK_AFTER_MEMBER));		// style.setPageBreakBefore(getMemberProperty(highlight,		// HighlightRule.PAGE_BREAK_BEFORE_MEMBER));		// style.setPageBreakInside(getMemberProperty(highlight,		// HighlightRule.PAGE_BREAK_INSIDE_MEMBER));		// Font related		style.setFontFamily( getMemberProperty( highlight,				HighlightRule.FONT_FAMILY_MEMBER ) );		style.setColor( getMemberProperty( highlight,				HighlightRule.COLOR_MEMBER ) );		style.setFontSize( getMemberProperty( highlight,				HighlightRule.FONT_SIZE_MEMBER ) );		style.setFontStyle( getMemberProperty( highlight,				HighlightRule.FONT_STYLE_MEMBER ) );		style.setFontWeight( getMemberProperty( highlight,				HighlightRule.FONT_WEIGHT_MEMBER ) );		style.setFontVariant( getMemberProperty( highlight,				HighlightRule.FONT_VARIANT_MEMBER ) );		// Text decoration		style.setTextLineThrough( getMemberProperty( highlight,				HighlightRule.TEXT_LINE_THROUGH_MEMBER ) );		style.setTextOverline( getMemberProperty( highlight,				HighlightRule.TEXT_OVERLINE_MEMBER ) );		style.setTextUnderline( getMemberProperty( highlight,				HighlightRule.TEXT_UNDERLINE_MEMBER ) );		// Border		style.setBorderBottomColor( getMemberProperty( highlight,				HighlightRule.BORDER_BOTTOM_COLOR_MEMBER ) );		style.setBorderBottomStyle( getMemberProperty( highlight,				HighlightRule.BORDER_BOTTOM_STYLE_MEMBER ) );		style.setBorderBottomWidth( getMemberProperty( highlight,				HighlightRule.BORDER_BOTTOM_WIDTH_MEMBER ) );		style.setBorderLeftColor( getMemberProperty( highlight,				HighlightRule.BORDER_LEFT_COLOR_MEMBER ) );		style.setBorderLeftStyle( getMemberProperty( highlight,				HighlightRule.BORDER_LEFT_STYLE_MEMBER ) );		style.setBorderLeftWidth( getMemberProperty( highlight,				HighlightRule.BORDER_LEFT_WIDTH_MEMBER ) );		style.setBorderRightColor( getMemberProperty( highlight,				HighlightRule.BORDER_RIGHT_COLOR_MEMBER ) );		style.setBorderRightStyle( getMemberProperty( highlight,				HighlightRule.BORDER_RIGHT_STYLE_MEMBER ) );		style.setBorderRightWidth( getMemberProperty( highlight,				HighlightRule.BORDER_RIGHT_WIDTH_MEMBER ) );		style.setBorderTopColor( getMemberProperty( highlight,				HighlightRule.BORDER_TOP_COLOR_MEMBER ) );		style.setBorderTopStyle( getMemberProperty( highlight,				HighlightRule.BORDER_TOP_STYLE_MEMBER ) );		style.setBorderTopWidth( getMemberProperty( highlight,				HighlightRule.BORDER_TOP_WIDTH_MEMBER ) );		// Margin		// style.setMarginTop(getMemberProperty(highlight,		// HighlightRule.MARGIN_TOP_MEMBER));		// style.setMarginLeft(getMemberProperty(highlight,		// HighlightRule.MARGIN_LEFT_MEMBER));		// style.setMarginBottom(getMemberProperty(highlight,		// HighlightRule.MARGIN_BOTTOM_MEMBER));		// style.setMarginRight(getMemberProperty(highlight,		// HighlightRule.MARGIN_RIGHT_MEMBER));		// Padding		// style.setPaddingTop(getMemberProperty(highlight,		// HighlightRule.PADDING_TOP_MEMBER));		// style.setPaddingLeft(getMemberProperty(highlight,		// HighlightRule.PADDING_LEFT_MEMBER));		// style.setPaddingBottom(getMemberProperty(highlight,		// HighlightRule.PADDING_BOTTOM_MEMBER));		// style.setPaddingRight(getMemberProperty(highlight,		// HighlightRule.PADDING_RIGHT_MEMBER));		// Data Formatting		style.setNumberAlign( getMemberProperty( highlight,				HighlightRule.NUMBER_ALIGN_MEMBER ) );		style.setDateFormat( getMemberProperty( highlight,				HighlightRule.DATE_TIME_FORMAT_MEMBER ) );		style.setNumberFormat( getMemberProperty( highlight,				HighlightRule.NUMBER_FORMAT_MEMBER ) );		style.setStringFormat( getMemberProperty( highlight,				HighlightRule.STRING_FORMAT_MEMBER ) );		// Others		// style.setCanShrink(getMemberProperty(highlight,		// HighlightRule.CAN_SHRINK_MEMBER));		// style.setShowIfBlank(getMemberProperty(highlight,		// HighlightRule.SHOW_IF_BLANK_MEMBER));		return style;	}