Compartir a través de


ReportOutputUser Class

Definition

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

public ref class ReportOutputUser : Dynamics::AX::Application::ReportOutput
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public class ReportOutputUser : Dynamics.AX.Application.ReportOutput
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
type ReportOutputUser = class
    inherit ReportOutput
Public Class ReportOutputUser
Inherits ReportOutput
Inheritance
Microsoft.Dynamics.AX.KernelInterop.ProxyBase
ReportOutputUser
Attributes
KernelClassAttribute Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute

Remarks

By default, Finance and Operations 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.

Constructors

ReportOutputUser()
ReportOutputUser(IntPtr)
ReportOutputUser(PrintJobHeader, PrintJobPages, Object[])
ReportOutputUser(PrintJobHeader, PrintJobPages)
ReportOutputUser(PrintJobHeader)

Fields

__k_ReportOutputUserId
kernelClass (Inherited from XppObjectBase)

Methods

__shouldCallNew(Type)
abort() (Inherited from ReportOutput)
addXppProxyReference(Type, Object) (Inherited from XppObjectBase)
Call(String, Object[], Type[], Object[]) (Inherited from XppObjectBase)
cancelTimeOut(Int32) (Inherited from XppObjectBase)
createKernelClass(Object[], Type[], Object[]) (Inherited from XppObjectBase)
description() (Inherited from ReportOutput)
description(String) (Inherited from ReportOutput)
dialogAndPrint() (Inherited from ReportOutput)
endBodySection(OutputBodySection)
endColumnHeadingsSection(OutputColumnHeadingsSection)
endColumnSection()
endEpilogSection(OutputEpilogSection)
endFooterSection(OutputFooterSection)
endHeaderSection(OutputHeaderSection)
endPage()
endPageFooterSection(OutputPageFooterSection)
endPageHeaderSection(OutputPageHeaderSection)
endProgrammableSection(OutputProgrammableSection)
endPrologSection(OutputPrologSection)
endReport(PrintJobStatus)
endSection(OuputSection)
equal(XppObjectBase) (Inherited from XppObjectBase)
finalize() (Inherited from XppObjectBase)
getCopyNo() (Inherited from ReportOutput)
getDeclineOverwrite() (Inherited from ReportOutput)
GetIntPtr() (Inherited from XppObjectBase)
GetKernelInstanceUniqueId() (Inherited from XppObjectBase)
getLastCopyNo() (Inherited from ReportOutput)
getLastPageNo() (Inherited from ReportOutput)
getPageNo() (Inherited from ReportOutput)
getTempFileName(String) (Inherited from ReportOutput)
getTimeOutTimerHandle() (Inherited from XppObjectBase)
getXppProxyReference(Type) (Inherited from XppObjectBase)
handle()
IsManagedValid() (Inherited from XppObjectBase)
jobStatus() (Inherited from ReportOutput)
kernelhandle()
KernelInstanceDisposed() (Inherited from XppObjectBase)
MakeReflectionCall(String, Object[]) (Inherited from XppObjectBase)
newmethod() (Inherited from XppObjectBase)
newmethod(PrintJobHeader, PrintJobPages, Object[])
newmethod(PrintJobHeader, PrintJobPages)
newmethod(PrintJobHeader)

Initializes a new instance of the Object class.

notify() (Inherited from XppObjectBase)
notifyAll() (Inherited from XppObjectBase)
objectOnServer()
Obsolete.
(Inherited from XppObjectBase)
pageCreated(Int32)
pagesTotal(Int32)
print() (Inherited from ReportOutput)
printAscii(String) (Inherited from ReportOutput)
printHTML(String) (Inherited from ReportOutput)
printJobSettings() (Inherited from ReportOutput)
printPageViaClass(Int32)
printPDF(String, Boolean) (Inherited from ReportOutput)
printPDF(String) (Inherited from ReportOutput)
printRTF(String) (Inherited from ReportOutput)
printTextUTF8(String)

Prints a report to a UTF-8 format.

(Inherited from ReportOutput)
printToTarget() (Inherited from ReportOutput)
printViaClass()
result()
setNumberOfPages(Int32) (Inherited from ReportOutput)
setTimeOut(String, Int32, Boolean)
Obsolete.
(Inherited from XppObjectBase)
setTimeOut(String, Int32)
Obsolete.
(Inherited from XppObjectBase)
startBodySection(OutputBodySection)
startColumnHeadingsSection(OutputColumnHeadingsSection)
startColumnSection()
startEpilogSection(OutputEpilogSection)
startFooterSection(OutputFooterSection)
startHeaderSection(OutputHeaderSection)
startPage(OutputPage)
startPageFooterSection(OutputPageFooterSection)
startPageHeaderSection(OutputPageHeaderSection)
startProgrammableSection(OutputProgrammableSection)
startPrologSection(OutputPrologSection)
startReport(PrintJobSettings)
startSection(OuputSection)
type() (Inherited from ReportOutput)
type(String) (Inherited from ReportOutput)
usageCount() (Inherited from XppObjectBase)
VerifyKernelClass() (Inherited from XppObjectBase)
wait() (Inherited from XppObjectBase)
writeAutoLabel(OutputAutoLabelField, OuputSection)
writeBitmap(OutputBitmapField, OuputSection)
writeDate(OutputDateField, OuputSection)
writeDateTime(OutputDateTimeField, OuputSection)
writeEnum(OutputEnumField, OuputSection)
writeField(OutputField, OuputSection)
writeInt64(OutputInt64Field, OuputSection)
writeInteger(OutputIntegerField, OuputSection)
writeLabel(OutputLabelField, OuputSection)
writeReal(OutputRealField, OuputSection)
writeShape(OutputShapeField, OuputSection)
writeStaticText(OutputStaticTextField, OuputSection)
writeString(OutputStringField, OuputSection)
writeSum(OutputSumField, OuputSection)
writeTime(OutputTimeField, OuputSection)
Xml() (Inherited from XppObjectBase)
Xml(Int32) (Inherited from XppObjectBase)

Applies to