]> Overlap Attached Space tests (define please!) This page tests out a number of attributes of the paraStyle tag. This paragraph is in a style we have called "style1". It should be a normal paragraph, set in Courier 12 pt. It should be a normal paragraph, set in Courier (not bold). It should be a normal paragraph, set in Courier 12 pt. Paragraph 2: Indent Left This paragraph is in a style we have called "style2". It should be indented on the left. It should be indented on the left by 1 inch. It should be indented on the left. Paragraph 3: Indent Right This paragraph is in a style we have called "style3". It should be indented on the right. It should be indented on the right by 1 inch. It should be indented on the right. Paragraph 4: Space Before This paragraph is in a style we have called "style4". It should be have a space before it. It should be have a space before it of 2 centimeters. It should be have a space before it. Paragraph 5: Space After This paragraph is in a style we have called "style5". It should be have a space after it. It should be have a space after it of 2 centimeters. It should be have a space after it. Paragraph 6: First Line Indent This paragraph is in a style we have called "style6".It should be have an indented first line. It should be have an first line indented by 2 centimeters. It should be have an indented first line. Paragraph 7: Leading This paragraph is in a style we have called "style7". It should be using leading. It should have a gap of 5 points between each line. It should be using leading. It should have a gap of 5 pt between each line. It should be using leading. The gap between lines should be half of the height of a line. This paragraph should look like it has a line spacing of "1.5 lines" Paragraphs 8-12: Simple Bullet Points Parastyle name="style8" parent="style1" bulletFontName = "ZapfDingbats" bulletFontSize = "5" These paragraphs are in a style we have called "style8" These five lines should have bullet points. The bullet font is ZapfDingbats. The bullet size is 5 points This is a long line to see how multi-line bullets look: These paragraphs are in a style we have called "style8". These four lines should have bullet points. The bullet font is ZapfDingbats. The bullet size is 5 points Paragraph 13-18: Indented Bullet Points bulletFontName = "ZapfDingbats" bulletFontSize = "10" bulletIndent = "20" These paragraphs are in a style we have called "style9" These five lines should have indented bullet points. Bullet points should look like a pointing hand. Bullet font is still ZapfDingbats, and bullet size is 10 points. The bullet indent is 20 points This is a long line to see how multi-line bullets look: These paragraphs are in a style we have called "style9". These four lines should have indented bullet points. Bullet points should look like a pointing hand. Bullet font is still ZapfDingbats, and bullet size is 10 points. The bullet indent is 20 points Paragraph 19-24: Indented Bullet Points with a Left Indent for the Text bulletFontName = "ZapfDingbats" bulletFontSize = "10" bulletIndent = "20" leftIndent = "35" These paragraphs are in a style we have called "style10" These four lines should have indented bullet points, with the text indented as well. Bullet points should look like a pointing hand. Bullet font is still ZapfDingbats, and bullet size is 10 points. The bullet indent is 20 points, and the text indent is 35 points This is a long line to see how multi-line bullets look: These paragraphs are in a style we have called "style10". These four lines should have indented bullet points, with the text indented as well. Bullet points should look like a pointing hand. Bullet font is still ZapfDingbats, and bullet size is 10 points. Paragraph 25: Left Justified Paragraphs This paragraph is in a style we have called "style11". It should be left justified. It has an argument which states 'alignment = "left"'. It should be left justified. It should be aligned to the left. Paragraph 26: Right Justified Paragraphs This paragraph is in a style we have called "style12". It should be right justified. It has an argument which states 'alignment = "right"'. It should be right justified. It should be aligned to the right. Paragraph 27: Centered Paragraphs This paragraph is in a style we have called "style13".It should be center justified. It has an argument which states 'alignment = "center"'. It should be centered. It should be aligned to the center. Paragraph 28: Justified Paragraphs This paragraph is in a style we have called "style14". It should be justified. It has an argument which states 'alignment = "justify"'. It should be justified. Paragraphs 29-32: Bullets using left align, right align, centered and justify. bulletFontName = "ZapfDingbats" bulletFontSize = "5" bulletIndent = "20" leftIndent = "35" alignment = "left" This is "style15", bullets with a left alignment. (The bullets in this style are based on "style10") bulletFontName = "ZapfDingbats" bulletFontSize = "5" bulletIndent = "20" leftIndent = "35" alignment = "right" This is "style16", bullets with a right alignment.(The bullets in this style are based on "style10") bulletFontName = "ZapfDingbats" bulletFontSize = "5" bulletIndent = "20" leftIndent = "35" alignment = "center" This is "style17", bullets with a center alignment.(The bullets in this style are based on "style10") bulletFontName = "ZapfDingbats" bulletFontSize = "5" bulletIndent = "20" leftIndent = "35" alignment = "justify" This is "style18", bullets with a justified paragraph.(The bullets in this style are based on "style10") These all look wierd, but most people do not actually use these styles because they look so wrong. Paragraph 33-35: Using Colours by Colour Name This text should be RED This text should be GREEN This text should be BLUE Paragraph 36-38: Using Colours by Hex Value This text should be RED This text should be GREEN This text should be BLUE Paragraph 39-41: Using Colours by RGB Value This text should be RED This text should be GREEN This text should be BLUE You SHOULD be able to specify colours by all the means available to reportlab.lib.colors. Currently, you cannot use RGB or HEX values... Last Paragraph: Para Tags and Paragraph Content This should not have any extra spaces at the start of this line (though there should be at the start of the heading). RML should ignore additional whitespace, and you should be able to format the actual paragraphs as you like. The text in this paragraph starts on a different line to the actual "para" tag. Quoting and escaping This checks for all the possible quotes: &amp; = &, &lt; = <, &gt; = >, &apos; = ', &quot; = ", &pound; = £. If this is not italic, and this is not bold, even normal angle brackets are broken.