Fpdf

class Fpdf

class Fpdf {}

Constructors

this
this(char orientation, string unit, string size)
Undocumented in source.
this
this(char orientation, string unit, float[2] sz)
Undocumented in source.

Members

Functions

AcceptPageBreak
bool AcceptPageBreak()
Undocumented in source. Be warned that the author may not have intended to support it.
AddFont
void AddFont(string family, string style, string file)
Undocumented in source. Be warned that the author may not have intended to support it.
AddLink
size_t AddLink()
Undocumented in source. Be warned that the author may not have intended to support it.
AddPage
void AddPage(char orientation, float[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
AddPage
void AddPage(char orientation, string size)
Undocumented in source. Be warned that the author may not have intended to support it.
AddPage
void AddPage()
Undocumented in source. Be warned that the author may not have intended to support it.
AliasNbPages
void AliasNbPages(string nbAlias)
Undocumented in source. Be warned that the author may not have intended to support it.
Cell
void Cell(float w, float h, string txt, string border, size_t ln, string algn, bool fill, string link)
Undocumented in source. Be warned that the author may not have intended to support it.
Cell
void Cell(float w, float h, string txt, string border, size_t ln, string algn, bool fill, size_t link)
Undocumented in source. Be warned that the author may not have intended to support it.
Close
void Close()
Undocumented in source. Be warned that the author may not have intended to support it.
Footer
void Footer()
Undocumented in source. Be warned that the author may not have intended to support it.
GetStringWidth
float GetStringWidth(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
GetX
float GetX()
Undocumented in source. Be warned that the author may not have intended to support it.
GetY
float GetY()
Undocumented in source. Be warned that the author may not have intended to support it.
Header
void Header()
Undocumented in source. Be warned that the author may not have intended to support it.
Image
void Image(string file, float x, float y, float w, float h, string type, string link)
Undocumented in source. Be warned that the author may not have intended to support it.
Image
void Image(string file, float x, float y, float w, float h, string type, size_t link)
Undocumented in source. Be warned that the author may not have intended to support it.
Line
void Line(float x1, float y1, float x2, float y2)
Undocumented in source. Be warned that the author may not have intended to support it.
Link
void Link(float x, float y, float w, float h, string link)
Undocumented in source. Be warned that the author may not have intended to support it.
Link
void Link(float x, float y, float w, float h, size_t link)
Undocumented in source. Be warned that the author may not have intended to support it.
Ln
void Ln(float h)
Undocumented in source. Be warned that the author may not have intended to support it.
Ln
void Ln()
Undocumented in source. Be warned that the author may not have intended to support it.
MultiCell
void MultiCell(float w, float h, string txt, string border, string algn, bool fill)
Undocumented in source. Be warned that the author may not have intended to support it.
Open
void Open()
Undocumented in source. Be warned that the author may not have intended to support it.
Output
immutable(ubyte)[] Output()
Undocumented in source. Be warned that the author may not have intended to support it.
PageNo
ulong PageNo()
Undocumented in source. Be warned that the author may not have intended to support it.
Rect
void Rect(float x, float y, float w, float h, string style)
Undocumented in source. Be warned that the author may not have intended to support it.
SetAuthor
void SetAuthor(string author)
Undocumented in source. Be warned that the author may not have intended to support it.
SetAutoPageBreak
void SetAutoPageBreak(bool isAuto, float margin)
Undocumented in source. Be warned that the author may not have intended to support it.
SetCompression
void SetCompression(bool compress)
Undocumented in source. Be warned that the author may not have intended to support it.
SetCreator
void SetCreator(string creator)
Undocumented in source. Be warned that the author may not have intended to support it.
SetDisplayMode
void SetDisplayMode(float zoom, string layout)
Undocumented in source. Be warned that the author may not have intended to support it.
SetDisplayMode
void SetDisplayMode(string zoom, string layout)
Undocumented in source. Be warned that the author may not have intended to support it.
SetDrawColor
void SetDrawColor(ulong r, ulong g, ulong b)
Undocumented in source. Be warned that the author may not have intended to support it.
SetDrawColor
void SetDrawColor(ulong r)
Undocumented in source. Be warned that the author may not have intended to support it.
SetFillColor
void SetFillColor(ulong r, ulong g, ulong b)
Undocumented in source. Be warned that the author may not have intended to support it.
SetFillColor
void SetFillColor(ulong r)
Undocumented in source. Be warned that the author may not have intended to support it.
SetFont
void SetFont(string family, string style, float size)
Undocumented in source. Be warned that the author may not have intended to support it.
SetFontSize
void SetFontSize(float size)
Undocumented in source. Be warned that the author may not have intended to support it.
SetKeywords
void SetKeywords(string[] keywords)
Undocumented in source. Be warned that the author may not have intended to support it.
SetLeftMargin
void SetLeftMargin(float margin)
Undocumented in source. Be warned that the author may not have intended to support it.
SetLineWidth
void SetLineWidth(float width)
Undocumented in source. Be warned that the author may not have intended to support it.
SetLink
void SetLink(size_t link, float y, size_t page)
Undocumented in source. Be warned that the author may not have intended to support it.
SetMargins
void SetMargins(float left, float top, float right)
Undocumented in source. Be warned that the author may not have intended to support it.
SetRightMargin
void SetRightMargin(float margin)
Undocumented in source. Be warned that the author may not have intended to support it.
SetSubject
void SetSubject(string subject)
Undocumented in source. Be warned that the author may not have intended to support it.
SetTextColor
void SetTextColor(ulong r, ulong g, ulong b)
Undocumented in source. Be warned that the author may not have intended to support it.
SetTextColor
void SetTextColor(ulong r)
Undocumented in source. Be warned that the author may not have intended to support it.
SetTitle
void SetTitle(string title)
Undocumented in source. Be warned that the author may not have intended to support it.
SetTopMargin
void SetTopMargin(float margin)
Undocumented in source. Be warned that the author may not have intended to support it.
SetX
void SetX(float x)
Undocumented in source. Be warned that the author may not have intended to support it.
SetXY
void SetXY(float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
SetY
void SetY(float y)
Undocumented in source. Be warned that the author may not have intended to support it.
Text
void Text(float x, float y, string txt)
Undocumented in source. Be warned that the author may not have intended to support it.
Write
void Write(float h, string txt, size_t link)
Undocumented in source. Be warned that the author may not have intended to support it.
Write
void Write(float h, string txt, string link)
Undocumented in source. Be warned that the author may not have intended to support it.
_beginpage
void _beginpage(char orientation, float[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
_cell
_rect _cell(float w, float h, string txt, string border, size_t ln, string algn, bool fill)
Undocumented in source. Be warned that the author may not have intended to support it.
_dounderline
string _dounderline(float x, float y, string txt)
Undocumented in source. Be warned that the author may not have intended to support it.
_enddoc
void _enddoc()
Undocumented in source. Be warned that the author may not have intended to support it.
_endpage
void _endpage()
Undocumented in source. Be warned that the author may not have intended to support it.
_escape
string _escape(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
_getpagesize
float[2] _getpagesize(string size)
Undocumented in source. Be warned that the author may not have intended to support it.
_getpagesize
float[2] _getpagesize(float[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
_newobj
void _newobj()
Undocumented in source. Be warned that the author may not have intended to support it.
_out
void _out(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
_parsejpg
ImageInfo _parsejpg(string file)
Undocumented in source. Be warned that the author may not have intended to support it.
_parsepng
ImageInfo _parsepng(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
_putcatalog
void _putcatalog()
Undocumented in source. Be warned that the author may not have intended to support it.
_putfonts
void _putfonts()
Undocumented in source. Be warned that the author may not have intended to support it.
_putheader
void _putheader()
Undocumented in source. Be warned that the author may not have intended to support it.
_putimage
void _putimage(ImageInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
_putimages
void _putimages()
Undocumented in source. Be warned that the author may not have intended to support it.
_putinfo
void _putinfo()
Undocumented in source. Be warned that the author may not have intended to support it.
_putpages
void _putpages()
Undocumented in source. Be warned that the author may not have intended to support it.
_putresourcedict
void _putresourcedict()
Undocumented in source. Be warned that the author may not have intended to support it.
_putresources
void _putresources()
Undocumented in source. Be warned that the author may not have intended to support it.
_putstream
void _putstream(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
_puttrailer
void _puttrailer()
Undocumented in source. Be warned that the author may not have intended to support it.
_putxobjectdict
void _putxobjectdict()
Undocumented in source. Be warned that the author may not have intended to support it.
_readint
uint _readint(File f)
Undocumented in source. Be warned that the author may not have intended to support it.
_readstream
ubyte[] _readstream(File f, uint n)
Undocumented in source. Be warned that the author may not have intended to support it.
_textstring
string _textstring(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
_write
void _write(float h, string txt, T link)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ImageInfo
struct ImageInfo
Undocumented in source.
LinkDest
struct LinkDest
Undocumented in source.
LinkInfo
struct LinkInfo
Undocumented in source.
_rect
struct _rect
Undocumented in source.

Variables

AutoPageBreak
bool AutoPageBreak;
Undocumented in source.
ColorFlag
bool ColorFlag;
Undocumented in source.
CoreFonts
string[] CoreFonts;
Undocumented in source.
CurOrientation
char CurOrientation;
Undocumented in source.
CurPageSize
float[2] CurPageSize;
Undocumented in source.
CurrentFont
FontInfo CurrentFont;
Undocumented in source.
DefOrientation
char DefOrientation;
Undocumented in source.
DefPageSize
float[2] DefPageSize;
Undocumented in source.
DrawColor
string DrawColor;
Undocumented in source.
FillColor
string FillColor;
Undocumented in source.
FontFamily
string FontFamily;
Undocumented in source.
FontFiles
FontFileInfo[string] FontFiles;
Undocumented in source.
FontSize
float FontSize;
Undocumented in source.
FontSizePt
float FontSizePt;
Undocumented in source.
FontStyle
string FontStyle;
Undocumented in source.
InFooter
bool InFooter;
Undocumented in source.
InHeader
bool InHeader;
Undocumented in source.
LineWidth
float LineWidth;
Undocumented in source.
PageBreakTrigger
float PageBreakTrigger;
Undocumented in source.
PageLinks
LinkInfo[][size_t] PageLinks;
Undocumented in source.
PageSizes
float[2][size_t] PageSizes;
Undocumented in source.
TextColor
string TextColor;
Undocumented in source.
aliasNbPages
string aliasNbPages;
Undocumented in source.
author
string author;
Undocumented in source.
bMargin
float bMargin;
Undocumented in source.
buffer
Appender!string buffer;
Undocumented in source.
cMargin
float cMargin;
Undocumented in source.
compress
bool compress;
Undocumented in source.
creator
string creator;
Undocumented in source.
diffs
string[] diffs;
Undocumented in source.
fontInfoIdx
size_t[string] fontInfoIdx;
Undocumented in source.
fontpath
string fontpath;
Undocumented in source.
fonts
FontInfo[] fonts;
h
float h;
hPt
float hPt;
Undocumented in source.
imageInfoIdx
size_t[string] imageInfoIdx;
Undocumented in source.
images
ImageInfo[] images;
Undocumented in source.
k
float k;
Undocumented in source.
keywords
string[] keywords;
Undocumented in source.
lMargin
float lMargin;
Undocumented in source.
lasth
float lasth;
Undocumented in source.
layoutMode
string layoutMode;
Undocumented in source.
links
LinkDest[] links;
Undocumented in source.
n
size_t n;
Undocumented in source.
offsets
size_t[] offsets;
Undocumented in source.
page
size_t page;
Undocumented in source.
pages
Appender!(string)[size_t] pages;
Undocumented in source.
pdfVersion
float pdfVersion;
Undocumented in source.
rMargin
float rMargin;
Undocumented in source.
state
uint state;
Undocumented in source.
subject
string subject;
Undocumented in source.
tMargin
float tMargin;
Undocumented in source.
title
string title;
Undocumented in source.
underline
bool underline;
Undocumented in source.
w
float w;
Undocumented in source.
wPt
float wPt;
Undocumented in source.
ws
float ws;
Undocumented in source.
x
float x;
y
float y;
Undocumented in source.
zoom
float zoom;
Undocumented in source.
zoomMode
string zoomMode;
Undocumented in source.

Meta