11#ifdef PDK_FRAMEWORK_PDFWRITER
38 FCPDFPage(
void* pPageStruct,
void* pDocStruct);
127 void SetMargins(
float leftmargin,
float rightmargin,
float topmargin,
float bottommargin);
139 void DrawLine(
float x1,
float y1,
float x2,
float y2);
145 void DrawBlackLine(
float x1,
float y1,
float x2,
float y2,
float linewidth);
221#ifndef DOXYGEN_SHOULD_IGNORE_THIS
222 static int _lasterrorcode;
223 static int _lasterrordetail;
224 static float _defaultpagewidth;
225 static float _defaultpageheight;
Base class for the Finale Framework classes.
Definition ff_base.h:71
Base class for all collection classes. A collection is a storage that can store multiple objects of s...
Definition ff_basecollection.h:26
A representation of a page in a created PDF file.
Definition ff_pdfwriter.h:22
void DrawLine(float x1, float y1, float x2, float y2)
Draws a line using the current stroke color value.
Definition finaleframework.cpp:39356
void SetGrayFill(float value)
Sets the gray fill value for the subsequent drawing operations on the page.
Definition finaleframework.cpp:39326
void SetHeight(float height)
Sets the height for the page.
Definition finaleframework.cpp:39301
float GetInnerRight() const
Returns the horizontal coordinate at the right margin.
Definition finaleframework.cpp:39420
void SetLineWidth(float linewidth)
Sets the line width (in points) for all subsequent drawing operations.
Definition finaleframework.cpp:39311
void DrawTextRect(FCString *pString, float left, float top, float right, float bottom)
Draws text within a rectangle. Word-wrapping if needed.
Definition finaleframework.cpp:39390
float GetInnerLeft() const
Returns the horizontal coordinate at the left margin.
Definition finaleframework.cpp:39410
float GetGrayFill() const
Returns the current gray fill value for the page.
Definition finaleframework.cpp:39331
FCPDFPage(void *pPageStruct, void *pDocStruct)
The constructor.
Definition finaleframework.cpp:39279
float GetHeight() const
Returns the height of the page.
Definition finaleframework.cpp:39306
float GetLastTextPosX() const
Returns the horizontal end position after a DrawTextRect call.
Definition finaleframework.cpp:39400
void SetMargins(float leftmargin, float rightmargin, float topmargin, float bottommargin)
Sets all the margins for the page.
Definition finaleframework.cpp:39382
float GetLineWidth() const
Returns the current line width for the page (in points).
Definition finaleframework.cpp:39316
float GetInnerBottom() const
Returns the horizontal coordinate at the bottom margin.
Definition finaleframework.cpp:39425
void SetGrayStroke(float value)
Sets the gray stroke value for the subsequent drawing operations on the page.
Definition finaleframework.cpp:39336
float GetInnerTop() const
Returns the horizontal coordinate at the top margin.
Definition finaleframework.cpp:39415
void DrawBlackLine(float x1, float y1, float x2, float y2, float linewidth)
Draws a black solid line with a specified line width.
Definition finaleframework.cpp:39363
float GetWidth() const
Returns the width of the page (in points).
Definition finaleframework.cpp:39296
void DrawString(FCString *pString, int x, int y)
Draws a FCString object at a specific position, using the current font, size and color.
Definition finaleframework.cpp:39347
float GetLastTextPosY() const
Returns the vertical end position after a DrawTextRect call.
Definition finaleframework.cpp:39405
float GetGrayStroke() const
Returns the current gray stroke value for the page.
Definition finaleframework.cpp:39321
void SetWidth(float width)
Sets the width for the page (in points).
Definition finaleframework.cpp:39291
bool SetFontAndSize(const char *pszFontName, float size)
Sets the stock font and size for subsequent text operations on the page.
Definition finaleframework.cpp:39341
void DrawBlackBorderRect(float x1, float y1, float x2, float y2, float linewidth)
Draws a black solid rectangle border with a specified line width.
Definition finaleframework.cpp:39374
Class to create a PDF and write it to disk. This is also a collection of FCPDFPage objects.
Definition ff_pdfwriter.h:216
void GetFileName(FCString *pString)
Copies the file name path to the FCString object.
Definition finaleframework.cpp:39486
static void SetDefaultPageSize(float width, float height)
Static method that sets the default page size that will be used for all subsequent calls to the AddPa...
Definition finaleframework.cpp:39505
bool IsOpened()
Returns true if the PDF file is accessible to data creation and saves.
Definition ff_pdfwriter.h:255
bool Close()
Closes the PDF file. After a call to this method, the object can no longer be used to create or save ...
Definition finaleframework.cpp:39466
static int GetLastError()
Static method that returns the last error code for a PDF call. This is a standard LibHaru error code.
Definition finaleframework.cpp:39493
FCPDFPage * AddPage()
Appends a page to the PDF.
Definition finaleframework.cpp:39474
static int GetLastErrorDetail()
Static method that returns the last error detail for a PDF error. This is a standard LibHaru error de...
Definition finaleframework.cpp:39499
bool Save()
Definition finaleframework.cpp:39460
virtual ~FCPDFWriter()
The destructor.
Definition finaleframework.cpp:39455
FCPDFWriter(FCString *pFileName)
The constructor.
Definition finaleframework.cpp:39445
Class that provides storage for text. This is to achieve platform-transparent text handling,...
Definition ff_base.h:1931