<?xml version="1.0" encoding="UTF-8"?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0">
    <tlib-version>1.0.1</tlib-version>
    <jspversion>1.1</jspversion>
    <shortname>pdf</shortname>
    <info>Used for embbeding PDF making TAGS</info>
    <tag>
        <name>makepdf</name>
        <tagclass>com.meehnia.basic.MakePDF</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>make tag for making PDF, all other tags inthis library should be between this tag.</info>
        <attribute>
            <name>pageSize</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description></description>
        </attribute>
        <attribute>
            <name>filepath</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>specify the path to store the pdf</description></attribute>
        <attribute>
            <name>margins</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>specifies the margins of the document.</description>
        </attribute>
        <attribute>
            <name>save</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description></description>
        </attribute>
        <attribute>
            <name>head</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>if set the PDF will contain header</description>
        </attribute>
        <attribute>
            <name>imgpath</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>path of the image in the header.</description>
        </attribute>
        <attribute>
            <name>headname</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>name of the header e.g. company name etc.</description>
        </attribute>
        <attribute>
            <name>author</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description></description>
        </attribute>
        <attribute>
            <name>title</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description></description>
        </attribute>
        <attribute>
            <name>filename</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description></description>
        </attribute>
    </tag>
    
    <tag>
        <name>h</name>
        <tagclass>com.meehnia.basic.Heading</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>heading tag for making a heading.</info>
        <attribute>
            <name>underline</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>true to underline the text else false</description>
        </attribute>
        <attribute>
            <name>align</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>CENTER, JUSTIFIED,LEFT, RIGHT.</description>
        </attribute>
        <attribute>
            <name>fontSize</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>set floating point font-size e.g. 10.0f</description>
        </attribute>
        <attribute>
            <name>font</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>set a String font like Times New Roman, Helvetica, etc.</description>
        </attribute>
        <attribute>
            <name>fontWeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set BOLD, ITALIC, BOLDITALIC, NORMAL.</description></attribute>
        <attribute>
            <name>color</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set the color of the heading.</description></attribute>
    </tag>
    <tag>
        <name>p</name>
        <tagclass>com.meehnia.basic.Paragph</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>para tag for creating paragraphs.</info>
        <attribute>
            <name>align</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
    <description>CENTER, JUSTIFIED,LEFT, RIGHT.</description></attribute></tag>	
    <tag>
        <name>uLn</name>
        <tagclass>com.meehnia.basic.UnderLine</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>this tag underlines the text within.</info>
        <attribute>
            <name>fontSize</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set floating point font-size e.g. 10.0f</description></attribute>
        <attribute>
            <name>font</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set a String font like Times New Roman, Helvetica, etc.</description></attribute>
        <attribute>
            <name>fontWeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>set BOLD, ITALIC, BOLDITALIC, NORMAL.</description>
        </attribute>
        <attribute>
            <name>color</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
    <description>set the color.</description></attribute></tag>
    <tag>
        <name>pLn</name>
        <tagclass>com.meehnia.basic.ParaLine</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>this tag underlines the text within.</info>
        <attribute>
            <name>fontSize</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set floating point font-size e.g. 10.0f</description></attribute>
        <attribute>
            <name>font</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set a String font like Times New Roman, Helvetica, etc.</description></attribute>
        <attribute>
            <name>fontWeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>set BOLD, ITALIC, BOLDITALIC, NORMAL.</description>
        </attribute>
        <attribute>
            <name>color</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
    <description>set the color.</description></attribute></tag>
    <tag>
        <name>nLn</name>
        <tagclass>com.meehnia.basic.NewLine</tagclass>
        <bodycontent>empty</bodycontent>
    <info>this tag introduces a new Line in the pdf.</info></tag>
    <tag>
        <name>nPage</name>
        <tagclass>com.meehnia.basic.NewPage</tagclass>
        <bodycontent>empty</bodycontent>
    <info>this tag creates a new page in the PDF.</info></tag>
    <tag>
        <name>table</name>
        <tagclass>com.meehnia.basic.Table</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>this tag creates a table in the PDF.</info>
        <attribute>
            <name>columns</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
    <description>specifies the no. of columns in the table.</description></attribute></tag>
    <tag>
        <name>rCell</name>
        <tagclass>com.meehnia.basic.TableCell</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>this tag enter the columns to a table tag.</info>
        <attribute>
            <name>defBorder</name><required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>set false to use default border or true to  define it.</description>
        </attribute>
        <attribute>
            <name>valign</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set the vertical alignment of the cell element as BASELINE, BOTTOM, MIDDLE, TOP.</description></attribute>
        <attribute>
            <name>halign</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set the horizontal alignment of the cell element as LEFT, RIGHT, CENTER, JUSTIFIED.</description></attribute>
        <attribute><name>border</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set border like left, bottom, right, top, border_color,background_color. For example "1f,1f,1f,1f,BLACK,GRAY"</description></attribute>
        <attribute>
            <name>fontSize</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set the font size of the cell element.</description></attribute>
        <attribute>
            <name>font</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set the font of the cell element.</description></attribute>
        <attribute>
            <name>fontWeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set the font weight of the cell element.</description></attribute>
        <attribute>
            <name>color</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set the color of the cell element.</description></attribute>
        <attribute><name>padding</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
    <description>set padding of the cell element.</description></attribute></tag>
    <tag>
        <name>sup</name>
        <tagclass>com.meehnia.basic.SuperScript</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>this tag superscripts the text within.</info>
        <attribute>
            <name>fontSize</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set floating point font-size e.g. 10.0f</description></attribute>
        <attribute>
            <name>font</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set a String font like Times New Roman, Helvetica, etc.</description></attribute>
        <attribute>
            <name>fontWeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>set BOLD, ITALIC, BOLDITALIC, NORMAL.</description>
        </attribute>
        <attribute>
            <name>color</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
    <description>set the color.</description></attribute></tag>
    <tag>
        <name>sub</name>
        <tagclass>com.meehnia.basic.SubScript</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>this tag subscripts the text within.</info>
        <attribute>
            <name>fontSize</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set floating point font-size e.g. 10.0f</description></attribute>
        <attribute>
            <name>font</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set a String font like Times New Roman, Helvetica, etc.</description></attribute>
        <attribute>
            <name>fontWeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>set BOLD, ITALIC, BOLDITALIC, NORMAL.</description>
        </attribute>
        <attribute>
            <name>color</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
    <description>set the color.</description></attribute></tag>
    <tag>
        <name>list</name>
        <tagclass>com.meehnia.basic.ListTag</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>creates a list.</info>
        <attribute>
            <name>indent</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>specify floating point indent.</description></attribute>
        <attribute><name>numbered</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>specify boolean value to whether number the list or not</description></attribute>
        <attribute><name>lettered</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
    <description>specify boolean value to whether letter the list or not</description></attribute></tag>
    <tag>
        <name>li</name>
        <tagclass>com.meehnia.basic.ListItemTag</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>creates a listitem.</info>
        <attribute>
            <name>fontSize</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set floating point font-size e.g. 10.0f</description></attribute>
        <attribute>
            <name>font</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set a String font like Times New Roman, Helvetica, etc.</description></attribute>
        <attribute>
            <name>fontWeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>set BOLD, ITALIC, BOLDITALIC, NORMAL.</description>
        </attribute>
        <attribute>
            <name>color</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set the color.</description></attribute>
        <attribute>
            <name>align</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
    <description>CENTER, JUSTIFIED,LEFT, RIGHT.</description></attribute></tag>
    <tag>
        <name>img</name>
        <tagclass>com.meehnia.basic.ImageTag</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>adds a image to the document, paragraph and list. the images can be jpg,jpeg,gif,png,tiff,bmp,wmf</info>
        <attribute>
            <name>path</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set path of the image</description></attribute>
        <attribute>
            <name>name</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        <description>name of the image file</description></attribute>
        <attribute>
            <name>align</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>set LEFT, RIGHT or MIDDLE. if not set LEFT by default</description>
        </attribute>
        <attribute>
            <name>effect</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        <description>set TEXTWRAP or UNDERLYING. if not set TEXTWRAP by default</description></attribute>
        <attribute>
            <name>scale</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
    <description>set percentage scaling of the image</description></attribute></tag>
</taglib>