sivarajankumar / alivepdf

Automatically exported from code.google.com/p/alivepdf
0 stars 0 forks source link

Error in asdoc for addCell method #171

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?

The documentation for the addCell method seems to have the descriptions of
the parameters shifted out of place by one position. Parameters on the page
are listed as such:

    width:Number (default = 0) — Cell width
    height:Number (default = 0) — Cell height
    text:String (default = "") — Text to add into the cell
    border:Number (default = 0) — Sets the new position after cell is drawn,
default value is 0
    ln:String (default = "0") — Lets you center or align the text into the cell
    align:Number — Lets you specify if the cell is colored (1) or transparent (0)
    fill:String (default = "0") — Any http link, like http://www.mylink.com
    link:*

I imagine this was meant to display as:

    width:Number (default = 0) — Cell width
    height:Number (default = 0) — Cell height
    text:String (default = "") — Text to add into the cell
    border:Number (default = 0) — Lets you specify if a border should be
drawn around the cell
    ln:Number (default = "0") — Sets the new position after cell is drawn,
default value is 0
    align:String — Lets you center or align the text into the cell
    fill:Number (default = "0") — Lets you specify if the cell is colored (1)
or transparent (0)
    link:String -- Any http link, like http://www.mylink.com

What version of the product are you using? On what operating system?

The asdoc code is missing the parameter directive for "border" on both
version 0.1.4.9 and the latest version in the repository.

Please provide any additional information below.

I've attached the latest repository version with the necessary change to
the asdoc comments.

Original issue reported on code.google.com by dmon...@gmail.com on 12 Nov 2009 at 8:00

Attachments: