FontSizeSection fontSizeSection = new FontSizeSection( fontFamilyProvider.getDisplayName( ),
FontSizeSection fontSizeSection = new FontSizeSection( fontSizeProvider.getDisplayName( ),
	void buildContent( )	{		// Defines providers.		IDescriptorProvider nameProvider = new TextPropertyDescriptorProvider( ReportItemHandle.NAME_PROP,				ReportDesignConstants.TEXT_ITEM );		IDescriptorProvider contentTypeProvider = new ComboPropertyDescriptorProvider( TextItemHandle.CONTENT_TYPE_PROP,				ReportDesignConstants.TEXT_ITEM );		IDescriptorProvider styleProvider = new SimpleComboPropertyDescriptorProvider( ReportItemHandle.STYLE_PROP,				ReportDesignConstants.REPORT_ITEM );		IDescriptorProvider fontFamilyProvider = new ComboPropertyDescriptorProvider( StyleHandle.FONT_FAMILY_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider fontSizeProvider = new FontSizePropertyDescriptorProvider( StyleHandle.FONT_SIZE_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider colorProvider = new ColorPropertyDescriptorProvider( StyleHandle.COLOR_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider bgColorProvider = new ColorPropertyDescriptorProvider( StyleHandle.BACKGROUND_COLOR_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider[] fontStyleProviders = createFontStyleProviders( );		// Defines sections.		TextSection nameSection = new TextSection( nameProvider.getDisplayName( ),				container,				true );		Section seperator1Section = new SeperatorSection( container, SWT.HORIZONTAL );		ComboSection contentTypeSection = new ComboSection( contentTypeProvider.getDisplayName( ),				container,				true );		SimpleComboSection styleSection = new SimpleComboSection( styleProvider.getDisplayName( ),				container,				true );		Section seperator2Section = new SeperatorSection( container, SWT.HORIZONTAL );		ComboSection fontFamilySection = new ComboSection( fontFamilyProvider.getDisplayName( ),				container,				true );		FontSizeSection fontSizeSection = new FontSizeSection( fontFamilyProvider.getDisplayName( ),				container,				true );		ColorSection colorSection = new ColorSection( colorProvider.getDisplayName( ),				container,				true );		ColorSection bgColorSection = new ColorSection( bgColorProvider.getDisplayName( ),				container,				true );		FontStyleSection fontStyleSection = new FontStyleSection( container,				true,				true );		// Sets providers.		nameSection.setProvider( nameProvider );		contentTypeSection.setProvider( contentTypeProvider );		styleSection.setProvider( styleProvider );		fontFamilySection.setProvider( fontFamilyProvider );		fontSizeSection.setProvider( fontSizeProvider );		colorSection.setProvider( colorProvider );		bgColorSection.setProvider( bgColorProvider );		fontStyleSection.setProviders( fontStyleProviders );		// Sets widths.		nameSection.setWidth( 200 );		contentTypeSection.setWidth( 200 );		styleSection.setWidth( 200 );		fontFamilySection.setWidth( 200 );		fontSizeSection.setWidth( 200 );		colorSection.setWidth( 200 );		bgColorSection.setWidth( 200 );		fontStyleSection.setWidth( 200 );		// Sets layout num.		nameSection.setLayoutNum( 6 );		contentTypeSection.setLayoutNum( 2 );		styleSection.setLayoutNum( 4 );		fontFamilySection.setLayoutNum( 2 );		fontSizeSection.setLayoutNum( 4 );		colorSection.setLayoutNum( 2 );		bgColorSection.setLayoutNum( 4 );		fontStyleSection.setLayoutNum( 6 );		// Sets fill grid num.		nameSection.setGridPlaceholder( 4, true );		contentTypeSection.setGridPlaceholder( 0, true );		styleSection.setGridPlaceholder( 2, true );		fontFamilySection.setGridPlaceholder( 0, true );		fontSizeSection.setGridPlaceholder( 2, true );		colorSection.setGridPlaceholder( 0, true );		bgColorSection.setGridPlaceholder( 2, true );		fontStyleSection.setGridPlaceholder( 3, true );		// Adds sections into container page.		addSection( PageSectionId.TEXT_NAME, nameSection ); //$NON-NLS-1$		addSection( PageSectionId.TEXT_SEPERATOR_1, seperator1Section ); //$NON-NLS-1$		addSection( PageSectionId.TEXT_CONTENT_TYPE, contentTypeSection ); //$NON-NLS-1$		addSection( PageSectionId.TEXT_STYLE, styleSection ); //$NON-NLS-1$		addSection( PageSectionId.TEXT_FONT_FAMILY, fontFamilySection ); //$NON-NLS-1$		addSection( PageSectionId.TEXT_FONT_SIZE, fontSizeSection ); //$NON-NLS-1$		addSection( PageSectionId.TEXT_COLOR, colorSection ); //$NON-NLS-1$		addSection( PageSectionId.TEXT_BACKGROUND_COLOR, bgColorSection ); //$NON-NLS-1$		addSection( PageSectionId.TEXT_FONT_STYLE, fontStyleSection ); //$NON-NLS-1$		createSections( );		layoutSections( );	}