Four Js Genero Report Writer
FourjsReportRuntime Class Reference
Inheritance diagram for FourjsReportRuntime:
FourjsReportRuntimeProps

Public Member Functions

 run (SerializableRecord $obj)
 
- Public Member Functions inherited from FourjsReportRuntimeProps
 setProcessLevelDataFile ($dataFileName)
 
 setAutoformatType ($type)
 
 setSharePortWithGDC ($share)
 
 setCallbackLocalization ($value)
 
 configureLocalization ($charSet, $resourcePath, $numberFormat, $dateFormat)
 
 selectLogicalPageMapping ($mapping)
 
 configureLabelOutput ($paperWidth, $paperHeight, $labelWidth, $labelHeight, $labelsPerRow, $labelsPerColumn)
 
 configureSVGDevice ($antialiasFonts, $antialiasShapes, $embedFonts, $charsetToEmbed)
 
 setSVGCompression ($compressOutput)
 
 setBrowserDocumentDirectory ($directory)
 
 setBrowserDocumentDirectoryURL ($directory)
 
 setBrowserFontDirectory ($directory)
 
 setBrowserFontDirectoryURL ($directory)
 
 setBrowserFontFileFormat ($format)
 
 configureImageDevice ($antialiasFonts, $antialiasShapes, $monochrome, $fromPage, $toPage, $fileType, $filePath, $fileNamePrefix, $resolution)
 
 setImageUsePageNamesAsFileNames ($value)
 
 setImageShrinkImagesToPageContent ($value)
 
 configurePDFDevice ($fontDirectory, $antialiasFonts, $antialiasShapes, $monochrome, $fromPage, $toPage)
 
 configurePDFFontEmbedding ($preferUnicodeEncoding)
 
 setPDFJPEGImageEncoding ($encodeImagesAsJPEG, $jpegQuality)
 
 setPDFImageResolution ($imagesResolution)
 
 configureXLSDevice ($fromPage, $toPage, $removeWhitespace, $ignoreRowAlignment, $ignoreColumnAlignment, $removeBackgroundImages, $mergePages)
 
 setXLSMergeCells ($mergeCells)
 
 setXLSHandleBorders ($handleBorders)
 
 configureXLSXDevice ($fromPage, $toPage, $removeWhitespace, $ignoreRowAlignment, $ignoreColumnAlignment, $removeBackgroundImages, $mergePages)
 
 setXLSXMergeCells ($mergeCells)
 
 setXLSXHandleBorders ($handleBorders)
 
 configureHTMLDevice ($fromPage, $toPage, $embedImages, $imageGenerationDirectory, $imageURLPrefix, $removeWhitespace, $ignoreRowAlignment, $ignoreColumnAlignment, $removeBackgroundImages)
 
 configureRTFDevice ($fromPage, $toPage, $imagesResolution, $imagesFormat)
 
 configureOORTFDevice ($fromPage, $toPage, $imagesResolution, $imagesFormat)
 
 setRTFMemoryThreshold ($memoryThreshold)
 
 configureCompatibilityOutput ($pageWidthInCharacters, $fontName, $fidelity, $reportName, $reportCategory, $systemId)
 
 configureAutoformatOutput ($fontName, $fontSize, $fidelity, $reportTitle, $fieldNamePatterns, $systemId)
 
 configureCompatibilityOutput1 ($pageWidthInCharacters, $fontName, $fidelity, $reportName, $reportCategory, $systemId, $outputCompleteLines, $ignoreLeftMargin, $ignoreTopMargin)
 
 configurePageSize ($pageWidth, $pageHeight)
 
 setTitle ($title)
 
 setAuthor ($author)
 
 setCreator ($creator)
 
 setSubject ($subject)
 
 setKeywords ($keywords)
 
 setOutputFileName ($fileName)
 
 setPageMargins ($topMargin, $bottomMargin, $leftMargin, $rightMargin)
 
 markOverfullBoxesInDocument ($value)
 
 setPageSwappingThreshold ($value)
 
 setPaperMargins ($topMargin, $bottomMargin, $leftMargin, $rightMargin)
 
 configureMultipageOutput ($pageExponent, $isoNumber, $portrait)
 
 selectDevice ($device)
 
 selectPreview ($preview)
 
 configureSVGPreview ($type)
 
 setSVGPageRange ($fromPage, $toPage)
 
 setPrinterFidelity ($fidelity)
 
 setPrinterName ($printerName)
 
 setSVGPrinterName ($printerName)
 
 setPrinterChromaticity ($chromaticity)
 
 setPrinterMediaSizeName ($mediaSizeName)
 
 setPrinterMediaTray ($mediaTray)
 
 setSVGPaperSource ($paperSource)
 
 setPrinterMediaName ($mediaName)
 
 setPrinterJobSheets ($jobSheets)
 
 setPrinterOrientationRequested ($orientationRequested)
 
 setSVGOrientationRequested ($orientationRequested)
 
 setPrinterPrintQuality ($printQuality)
 
 setPrinterSheetCollate ($sheetCollate)
 
 setSVGSheetCollate ($sheetCollate)
 
 setPrinterCopies ($copies)
 
 setSVGCopies ($copies)
 
 setPrinterSides ($sides)
 
 setPrinterJobMediaSheets ($jobMediaSheets)
 
 setPrinterJobImpressions ($jobImpressions)
 
 setPrinterJobName ($jobName)
 
 setPrinterJobPriority ($jobPriority)
 
 setPrinterNumberUp ($numberUp)
 
 setPrinterPageRanges ($pageRanges)
 
 setPrinterResolution ($resolution)
 
 setPrinterRequestingUserName ($requestingUserName)
 
 setPrinterDestinationUrl ($destination)
 
 setPrinterWriteToFile ($file)
 
 configureDistributedProcessing ($host, $port)
 
 configureDistributedEnvironment ($FGLDIR, $FGLPROFILE, $FGLRESOURCEPATH, $DBPATH)
 
 setDistributedRequestingUserName ($requestingUserName)
 
 setEnvironment ($values)
 
 setRenderingHints ($values)
 
 setPrinterPJLVariables ($values)
 

Detailed Description

Class representing a runnable report. To run a report, instantiate this class, configure options using various methods and then call the run method. Example:

$runtime = new FourjsReportRuntime($designFile, 'Accounts');
$runtime->selectDevice('PDF');
$runtime->selectPreview(true);
$runtime->configureDistributedProcessing("127.0.0.1",7000);
$runtime->run(new Accounts($pdo));

Member Function Documentation

run ( SerializableRecord  $obj)

Establishes the processing pipe and serializes obj

Exceptions