property( obj, Style.DISPLAY_PROP ); property( obj, Style.MASTER_PAGE_PROP ); property( obj, Style.PAGE_BREAK_AFTER_PROP ); property( obj, Style.PAGE_BREAK_BEFORE_PROP ); property( obj, Style.PAGE_BREAK_INSIDE_PROP ); property( obj, Style.SHOW_IF_BLANK_PROP ); property( obj, Style.CAN_SHRINK_PROP );
property( obj, IStyleModel.DISPLAY_PROP ); property( obj, IStyleModel.MASTER_PAGE_PROP ); property( obj, IStyleModel.PAGE_BREAK_AFTER_PROP ); property( obj, IStyleModel.PAGE_BREAK_BEFORE_PROP ); property( obj, IStyleModel.PAGE_BREAK_INSIDE_PROP ); property( obj, IStyleModel.SHOW_IF_BLANK_PROP ); property( obj, IStyleModel.CAN_SHRINK_PROP );
	private void writeStyleProps( DesignElement obj )	{		// Background		property( obj, Style.BACKGROUND_ATTACHMENT_PROP );		property( obj, Style.BACKGROUND_COLOR_PROP );		property( obj, Style.BACKGROUND_IMAGE_PROP );		property( obj, Style.BACKGROUND_POSITION_X_PROP );		property( obj, Style.BACKGROUND_POSITION_Y_PROP );		property( obj, Style.BACKGROUND_REPEAT_PROP );		// Font		property( obj, Style.FONT_FAMILY_PROP );		property( obj, Style.FONT_SIZE_PROP );		property( obj, Style.FONT_WEIGHT_PROP );		property( obj, Style.FONT_STYLE_PROP );		property( obj, Style.FONT_VARIANT_PROP );		property( obj, Style.COLOR_PROP );		property( obj, Style.TEXT_LINE_THROUGH_PROP );		property( obj, Style.TEXT_OVERLINE_PROP );		property( obj, Style.TEXT_UNDERLINE_PROP );		// Border		property( obj, Style.BORDER_BOTTOM_COLOR_PROP );		property( obj, Style.BORDER_BOTTOM_STYLE_PROP );		property( obj, Style.BORDER_BOTTOM_WIDTH_PROP );		property( obj, Style.BORDER_LEFT_COLOR_PROP );		property( obj, Style.BORDER_LEFT_STYLE_PROP );		property( obj, Style.BORDER_LEFT_WIDTH_PROP );		property( obj, Style.BORDER_RIGHT_COLOR_PROP );		property( obj, Style.BORDER_RIGHT_STYLE_PROP );		property( obj, Style.BORDER_RIGHT_WIDTH_PROP );		property( obj, Style.BORDER_TOP_COLOR_PROP );		property( obj, Style.BORDER_TOP_STYLE_PROP );		property( obj, Style.BORDER_TOP_WIDTH_PROP );		// Margin		property( obj, Style.MARGIN_TOP_PROP );		property( obj, Style.MARGIN_LEFT_PROP );		property( obj, Style.MARGIN_BOTTOM_PROP );		property( obj, Style.MARGIN_RIGHT_PROP );		// Padding		property( obj, Style.PADDING_TOP_PROP );		property( obj, Style.PADDING_LEFT_PROP );		property( obj, Style.PADDING_BOTTOM_PROP );		property( obj, Style.PADDING_RIGHT_PROP );		// Formats		property( obj, Style.NUMBER_ALIGN_PROP );		writeStructure( obj, Style.DATE_TIME_FORMAT_PROP );		writeStructure( obj, Style.NUMBER_FORMAT_PROP );		writeStructure( obj, Style.STRING_FORMAT_PROP );		// Text format		property( obj, Style.TEXT_ALIGN_PROP );		property( obj, Style.TEXT_INDENT_PROP );		property( obj, Style.LETTER_SPACING_PROP );		property( obj, Style.LINE_HEIGHT_PROP );		property( obj, Style.ORPHANS_PROP );		property( obj, Style.TEXT_TRANSFORM_PROP );		property( obj, Style.VERTICAL_ALIGN_PROP );		property( obj, Style.WHITE_SPACE_PROP );		property( obj, Style.WIDOWS_PROP );		property( obj, Style.WORD_SPACING_PROP );		// Section Options		property( obj, Style.DISPLAY_PROP );		property( obj, Style.MASTER_PAGE_PROP );		property( obj, Style.PAGE_BREAK_AFTER_PROP );		property( obj, Style.PAGE_BREAK_BEFORE_PROP );		property( obj, Style.PAGE_BREAK_INSIDE_PROP );		property( obj, Style.SHOW_IF_BLANK_PROP );		property( obj, Style.CAN_SHRINK_PROP );		// Highlight		List list = (ArrayList) obj.getLocalProperty( getModule( ),				Style.HIGHLIGHT_RULES_PROP );		if ( list != null && list.size( ) > 0 )		{			writer.startElement( DesignSchemaConstants.LIST_PROPERTY_TAG );			writer.attribute( DesignSchemaConstants.NAME_ATTRIB,					Style.HIGHLIGHT_RULES_PROP );			for ( int i = 0; i < list.size( ); i++ )			{				HighlightRule rule = (HighlightRule) list.get( i );				writer.startElement( DesignSchemaConstants.STRUCTURE_TAG );				property( rule, HighlightRule.OPERATOR_MEMBER );				property( rule, HighlightRule.BACKGROUND_COLOR_MEMBER );				// Border				property( rule, HighlightRule.BORDER_TOP_STYLE_MEMBER );				property( rule, HighlightRule.BORDER_TOP_WIDTH_MEMBER );				property( rule, HighlightRule.BORDER_TOP_COLOR_MEMBER );				property( rule, HighlightRule.BORDER_LEFT_STYLE_MEMBER );				property( rule, HighlightRule.BORDER_LEFT_WIDTH_MEMBER );				property( rule, HighlightRule.BORDER_LEFT_COLOR_MEMBER );				property( rule, HighlightRule.BORDER_BOTTOM_STYLE_MEMBER );				property( rule, HighlightRule.BORDER_BOTTOM_WIDTH_MEMBER );				property( rule, HighlightRule.BORDER_BOTTOM_COLOR_MEMBER );				property( rule, HighlightRule.BORDER_RIGHT_STYLE_MEMBER );				property( rule, HighlightRule.BORDER_RIGHT_WIDTH_MEMBER );				property( rule, HighlightRule.BORDER_RIGHT_COLOR_MEMBER );				// Font				property( rule, HighlightRule.FONT_FAMILY_MEMBER );				property( rule, HighlightRule.FONT_SIZE_MEMBER );				property( rule, HighlightRule.FONT_STYLE_MEMBER );				property( rule, HighlightRule.FONT_WEIGHT_MEMBER );				property( rule, HighlightRule.FONT_VARIANT_MEMBER );				property( rule, HighlightRule.COLOR_MEMBER );				property( rule, HighlightRule.TEXT_UNDERLINE_MEMBER );				property( rule, HighlightRule.TEXT_OVERLINE_MEMBER );				property( rule, HighlightRule.TEXT_LINE_THROUGH_MEMBER );				property( rule, HighlightRule.TEXT_ALIGN_MEMBER );				property( rule, HighlightRule.TEXT_TRANSFORM_MEMBER );				property( rule, HighlightRule.TEXT_INDENT_MEMBER );				// Format				property( rule, HighlightRule.NUMBER_ALIGN_MEMBER );				writeStructure( rule, HighlightRule.DATE_TIME_FORMAT_MEMBER );				writeStructure( rule, HighlightRule.NUMBER_FORMAT_MEMBER );				writeStructure( rule, HighlightRule.STRING_FORMAT_MEMBER );				property( rule, HighlightRule.TEST_EXPR_MEMBER );				property( rule, HighlightRule.VALUE1_MEMBER );				property( rule, HighlightRule.VALUE2_MEMBER );				writer.endElement( );			}			writer.endElement( );		}		// Map		list = (ArrayList) obj.getLocalProperty( getModule( ),				Style.MAP_RULES_PROP );		if ( list != null && list.size( ) > 0 )		{			writer.startElement( DesignSchemaConstants.LIST_PROPERTY_TAG );			writer.attribute( DesignSchemaConstants.NAME_ATTRIB,					Style.MAP_RULES_PROP );			for ( int i = 0; i < list.size( ); i++ )			{				MapRule rule = (MapRule) list.get( i );				writer.startElement( DesignSchemaConstants.STRUCTURE_TAG );				property( rule, MapRule.TEST_EXPR_MEMBER );				property( rule, MapRule.OPERATOR_MEMBER );				property( rule, MapRule.VALUE1_MEMBER );				property( rule, MapRule.VALUE2_MEMBER );				resourceKey( rule, MapRule.DISPLAY_ID_MEMBER,						MapRule.DISPLAY_MEMBER );				writer.endElement( );			}			writer.endElement( );		}	}