Share via


ReportOutputUser Class

The ReportOutputUser class implements a user-defined target for report formatting.

Syntax

class ReportOutputUser extends ReportOutput

Run On

Called

Methods

  Method Description
Gg916892.pubmethod(en-us,AX.60).gif abort (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif description (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif dialogAndPrint (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif endBodySection
Gg916892.pubmethod(en-us,AX.60).gif endColumnHeadingsSection
Gg916892.pubmethod(en-us,AX.60).gif endColumnSection
Gg916892.pubmethod(en-us,AX.60).gif endEpilogSection
Gg916892.pubmethod(en-us,AX.60).gif endFooterSection
Gg916892.pubmethod(en-us,AX.60).gif endHeaderSection
Gg916892.pubmethod(en-us,AX.60).gif endPage
Gg916892.pubmethod(en-us,AX.60).gif endPageFooterSection
Gg916892.pubmethod(en-us,AX.60).gif endPageHeaderSection
Gg916892.pubmethod(en-us,AX.60).gif endProgrammableSection
Gg916892.pubmethod(en-us,AX.60).gif endPrologSection
Gg916892.pubmethod(en-us,AX.60).gif endReport
Gg916892.pubmethod(en-us,AX.60).gif endSection
Gg916892.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif getCopyNo (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif getDeclineOverwrite (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif getLastCopyNo (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif getLastPageNo (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif getPageNo (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif getTempFileName (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif jobStatus (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Overrides the new Method.)
Gg916892.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif pageCreated
Gg916892.pubmethod(en-us,AX.60).gif pagesTotal
Gg916892.pubmethod(en-us,AX.60).gif print (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif printAscii (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif printHTML (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif printJobSettings (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif printPageViaClass
Gg916892.pubmethod(en-us,AX.60).gif printPDF (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif printRTF (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif printTextUTF8 Prints a report to a UTF-8 format. (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif printToTarget (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif printViaClass
Gg916892.pubmethod(en-us,AX.60).gif result
Gg916892.pubmethod(en-us,AX.60).gif setNumberOfPages (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif startBodySection
Gg916892.pubmethod(en-us,AX.60).gif startColumnHeadingsSection
Gg916892.pubmethod(en-us,AX.60).gif startColumnSection
Gg916892.pubmethod(en-us,AX.60).gif startEpilogSection
Gg916892.pubmethod(en-us,AX.60).gif startFooterSection
Gg916892.pubmethod(en-us,AX.60).gif startHeaderSection
Gg916892.pubmethod(en-us,AX.60).gif startPage
Gg916892.pubmethod(en-us,AX.60).gif startPageFooterSection
Gg916892.pubmethod(en-us,AX.60).gif startPageHeaderSection
Gg916892.pubmethod(en-us,AX.60).gif startProgrammableSection
Gg916892.pubmethod(en-us,AX.60).gif startPrologSection
Gg916892.pubmethod(en-us,AX.60).gif startReport
Gg916892.pubmethod(en-us,AX.60).gif startSection
Gg916892.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif type (Inherited from ReportOutput.)
Gg916892.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg916892.pubmethod(en-us,AX.60).gif writeAutoLabel
Gg916892.pubmethod(en-us,AX.60).gif writeBitmap
Gg916892.pubmethod(en-us,AX.60).gif writeDate
Gg916892.pubmethod(en-us,AX.60).gif writeDateTime
Gg916892.pubmethod(en-us,AX.60).gif writeEnum
Gg916892.pubmethod(en-us,AX.60).gif writeField
Gg916892.pubmethod(en-us,AX.60).gif writeInt64
Gg916892.pubmethod(en-us,AX.60).gif writeInteger
Gg916892.pubmethod(en-us,AX.60).gif writeLabel
Gg916892.pubmethod(en-us,AX.60).gif writeReal
Gg916892.pubmethod(en-us,AX.60).gif writeShape
Gg916892.pubmethod(en-us,AX.60).gif writeStaticText
Gg916892.pubmethod(en-us,AX.60).gif writeString
Gg916892.pubmethod(en-us,AX.60).gif writeSum
Gg916892.pubmethod(en-us,AX.60).gif writeTime
Gg916892.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

By default, Microsoft Dynamics AX prints reports to a screen, printer, file, or email address.

The following API items support a user-defined target:

  • ReportOutputUserType system enumeration

  • ViewerClass value for the PrintMedium system enumeration

  • ClassFactory::createViewer method

When a report is run, the print method creates a reportOutputUser object if the target is PrintMedium::Viewer class. This object will be created by calling the createViewer method and giving reportOutputUserType as one of the arguments. The report will then be printed by calling methods on the object: startReport, startPage, startSection, writeField, and so on.

In general, if the target is, for example, a printer, the reportRun::print method will create a reportOutput object and call its print method to print the report to a printer. If the target is viewerClass, it will instead call the createViewer method to get a ReportOutputUser object. Then it will call methods on the object: startReport, startPage, startSection, startField, outputStringField, and so on.

When the report is run, the Text property of the text controls of the report will be written to the print window.

Inheritance Hierarchy

Object Class
  ReportOutput Class
    ReportOutputUser Class
      PDFViewer Class
      SysDummyPrintViewer Class
      WebReportBase Class

See Also

ClassFactory.createViewer Method