Table of Contents

Class SimpleDoc

Namespace
Javax.Print
Assembly
MASES.JNet.dll
public class SimpleDoc : Doc, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IDoc
Inheritance
SimpleDoc
Implements
Extension Methods

Constructors

SimpleDoc(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SimpleDoc(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

SimpleDoc(object, DocFlavor, DocAttributeSet)

public SimpleDoc(object arg0, DocFlavor arg1, DocAttributeSet arg2)

Parameters

arg0 object

object

arg1 DocFlavor

DocFlavor

arg2 DocAttributeSet

DocAttributeSet

Properties

Attributes

public DocAttributeSet Attributes { get; }

Property Value

DocAttributeSet

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DocFlavor

public DocFlavor DocFlavor { get; }

Property Value

DocFlavor

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

PrintData

public object PrintData { get; }

Property Value

object

ReaderForText

public Reader ReaderForText { get; }

Property Value

Reader

StreamForBytes

public InputStream StreamForBytes { get; }

Property Value

InputStream

Methods

CreatePoolableInstance(object, DocFlavor, DocAttributeSet)

HPA initializer for SimpleDoc(object arg0, Javax.Print.DocFlavor arg1, Javax.Print.Attribute.DocAttributeSet arg2)

public static SimpleDoc CreatePoolableInstance(object arg0, DocFlavor arg1, DocAttributeSet arg2)

Parameters

arg0 object
arg1 DocFlavor
arg2 DocAttributeSet

Returns

SimpleDoc