Package system.windows.xps.serialization
Class XpsPackagingPolicy
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.xps.serialization.BasePackagingPolicy
-
- system.windows.xps.serialization.XpsPackagingPolicy
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDisposable
public class XpsPackagingPolicy extends BasePackagingPolicy
The base .NET class managing System.Windows.Xps.Serialization.XpsPackagingPolicy, ReachFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Xps.Serialization.XpsPackagingPolicy
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: ReachFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: ReachFrameworkstatic java.lang.String
className
Qualified class name: System.Windows.Xps.Serialization.XpsPackagingPolicystatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XpsPackagingPolicy()
XpsPackagingPolicy(java.lang.Object instance)
Internal constructor.XpsPackagingPolicy(XpsDocument xpsPackage)
XpsPackagingPolicy(XpsDocument xpsPackage, PackageInterleavingOrder interleavingType)
-
Method Summary
-
Methods inherited from class system.windows.xps.serialization.BasePackagingPolicy
close, getCurrentFixedDocumentUri, getCurrentFixedPageUri
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.IDisposable
Dispose
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: ReachFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: ReachFramework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Xps.Serialization.XpsPackagingPolicy- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XpsPackagingPolicy
public XpsPackagingPolicy(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
XpsPackagingPolicy
public XpsPackagingPolicy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
XpsPackagingPolicy
public XpsPackagingPolicy(XpsDocument xpsPackage, PackageInterleavingOrder interleavingType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
XpsPackagingPolicy
public XpsPackagingPolicy(XpsDocument xpsPackage) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDisposable
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classBasePackagingPolicy
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDisposable
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classBasePackagingPolicy
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDisposable
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classBasePackagingPolicy
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDisposable
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classBasePackagingPolicy
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classBasePackagingPolicy
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDisposable
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classBasePackagingPolicy
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XpsPackagingPolicy cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoXpsPackagingPolicy
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XpsPackagingPolicy
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
AcquireResourceStreamForXpsColorContext
public XpsResourceStream AcquireResourceStreamForXpsColorContext(java.lang.String resourceId) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, CultureNotFoundException, ObjectDisposedException, XpsSerializationException, IOException
- Overrides:
AcquireResourceStreamForXpsColorContext
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
ArrayTypeMismatchException
InvalidOperationException
CultureNotFoundException
ObjectDisposedException
XpsSerializationException
IOException
-
AcquireResourceStreamForXpsFont
public XpsResourceStream AcquireResourceStreamForXpsFont() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, CultureNotFoundException, ObjectDisposedException, XpsSerializationException, IOException
- Overrides:
AcquireResourceStreamForXpsFont
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
ArrayTypeMismatchException
InvalidOperationException
CultureNotFoundException
ObjectDisposedException
XpsSerializationException
IOException
-
AcquireResourceStreamForXpsFont
public XpsResourceStream AcquireResourceStreamForXpsFont(java.lang.String resourceId) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, IOException, XpsSerializationException
- Overrides:
AcquireResourceStreamForXpsFont
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
ObjectDisposedException
IOException
XpsSerializationException
-
AcquireResourceStreamForXpsImage
public XpsResourceStream AcquireResourceStreamForXpsImage(java.lang.String resourceId) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, CultureNotFoundException, ObjectDisposedException, XpsSerializationException, IOException
- Overrides:
AcquireResourceStreamForXpsImage
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
ArrayTypeMismatchException
InvalidOperationException
CultureNotFoundException
ObjectDisposedException
XpsSerializationException
IOException
-
AcquireResourceStreamForXpsResourceDictionary
public XpsResourceStream AcquireResourceStreamForXpsResourceDictionary(java.lang.String resourceId) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, CultureNotFoundException, ObjectDisposedException, XpsSerializationException, IOException
- Overrides:
AcquireResourceStreamForXpsResourceDictionary
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
ArrayTypeMismatchException
InvalidOperationException
CultureNotFoundException
ObjectDisposedException
XpsSerializationException
IOException
-
AcquireXmlWriterForFixedDocument
public XmlWriter AcquireXmlWriterForFixedDocument() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, ObjectDisposedException, InvalidOperationException, XpsPackagingException, IOException
- Overrides:
AcquireXmlWriterForFixedDocument
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
ArrayTypeMismatchException
ObjectDisposedException
InvalidOperationException
XpsPackagingException
IOException
-
AcquireXmlWriterForFixedDocumentSequence
public XmlWriter AcquireXmlWriterForFixedDocumentSequence() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, XpsPackagingException, IOException, ArgumentNullException, IndexOutOfRangeException, FileFormatException, XmlException, InvalidDataException, OutOfMemoryException, KeyNotFoundException, FormatException
- Overrides:
AcquireXmlWriterForFixedDocumentSequence
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
XpsPackagingException
IOException
ArgumentNullException
IndexOutOfRangeException
FileFormatException
XmlException
InvalidDataException
OutOfMemoryException
KeyNotFoundException
FormatException
-
AcquireXmlWriterForFixedPage
public XmlWriter AcquireXmlWriterForFixedPage() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, ObjectDisposedException, InvalidOperationException, XpsPackagingException, IOException
- Overrides:
AcquireXmlWriterForFixedPage
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
ArrayTypeMismatchException
ObjectDisposedException
InvalidOperationException
XpsPackagingException
IOException
-
AcquireXmlWriterForPage
public XmlWriter AcquireXmlWriterForPage() throws java.lang.Throwable, InvalidOperationException
- Overrides:
AcquireXmlWriterForPage
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
InvalidOperationException
-
AcquireXmlWriterForResourceDictionary
public XmlWriter AcquireXmlWriterForResourceDictionary() throws java.lang.Throwable, InvalidOperationException
- Overrides:
AcquireXmlWriterForResourceDictionary
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
InvalidOperationException
-
PersistPrintTicket
public void PersistPrintTicket(PrintTicket printTicket) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
- Overrides:
PersistPrintTicket
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
-
PreCommitCurrentPage
public void PreCommitCurrentPage() throws java.lang.Throwable, InvalidOperationException, ArgumentException, XpsPackagingException, ObjectDisposedException, ArgumentOutOfRangeException, IOException, ArgumentNullException
- Overrides:
PreCommitCurrentPage
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentException
XpsPackagingException
ObjectDisposedException
ArgumentOutOfRangeException
IOException
ArgumentNullException
-
RelateResourceToCurrentPage
public void RelateResourceToCurrentPage(Uri targetUri, java.lang.String relationshipName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, UnreachableException, OutOfMemoryException, UriFormatException, IOException, ObjectDisposedException, FileFormatException, XmlException
- Overrides:
RelateResourceToCurrentPage
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
FormatException
CultureNotFoundException
UnreachableException
OutOfMemoryException
UriFormatException
IOException
ObjectDisposedException
FileFormatException
XmlException
-
RelateRestrictedFontToCurrentDocument
public void RelateRestrictedFontToCurrentDocument(Uri targetUri) throws java.lang.Throwable, ArgumentException, InvalidOperationException, IOException, ArgumentNullException, ObjectDisposedException, FileFormatException, XmlException, ArgumentOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UriFormatException, OutOfMemoryException, UnreachableException
- Overrides:
RelateRestrictedFontToCurrentDocument
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
IOException
ArgumentNullException
ObjectDisposedException
FileFormatException
XmlException
ArgumentOutOfRangeException
PlatformNotSupportedException
CultureNotFoundException
UriFormatException
OutOfMemoryException
UnreachableException
-
ReleaseResourceStreamForXpsColorContext
public void ReleaseResourceStreamForXpsColorContext() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, XpsPackagingException, XpsSerializationException
- Overrides:
ReleaseResourceStreamForXpsColorContext
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
XpsPackagingException
XpsSerializationException
-
ReleaseResourceStreamForXpsFont
public void ReleaseResourceStreamForXpsFont() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, XpsPackagingException, XpsSerializationException
- Overrides:
ReleaseResourceStreamForXpsFont
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
XpsPackagingException
XpsSerializationException
-
ReleaseResourceStreamForXpsFont
public void ReleaseResourceStreamForXpsFont(java.lang.String resourceId) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XpsPackagingException, IndexOutOfRangeException, XpsSerializationException
- Overrides:
ReleaseResourceStreamForXpsFont
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
XpsPackagingException
IndexOutOfRangeException
XpsSerializationException
-
ReleaseResourceStreamForXpsImage
public void ReleaseResourceStreamForXpsImage() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, XpsPackagingException, XpsSerializationException
- Overrides:
ReleaseResourceStreamForXpsImage
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
XpsPackagingException
XpsSerializationException
-
ReleaseResourceStreamForXpsResourceDictionary
public void ReleaseResourceStreamForXpsResourceDictionary() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, XpsPackagingException, XpsSerializationException
- Overrides:
ReleaseResourceStreamForXpsResourceDictionary
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
XpsPackagingException
XpsSerializationException
-
ReleaseXmlWriterForFixedDocument
public void ReleaseXmlWriterForFixedDocument() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, XpsPackagingException, XpsSerializationException
- Overrides:
ReleaseXmlWriterForFixedDocument
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
XpsPackagingException
XpsSerializationException
-
ReleaseXmlWriterForFixedDocumentSequence
public void ReleaseXmlWriterForFixedDocumentSequence() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, XpsPackagingException, XpsSerializationException
- Overrides:
ReleaseXmlWriterForFixedDocumentSequence
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
XpsPackagingException
XpsSerializationException
-
ReleaseXmlWriterForFixedPage
public void ReleaseXmlWriterForFixedPage() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, XpsPackagingException, IOException, UnreachableException, OutOfMemoryException, XpsSerializationException
- Overrides:
ReleaseXmlWriterForFixedPage
in classBasePackagingPolicy
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
XpsPackagingException
IOException
UnreachableException
OutOfMemoryException
XpsSerializationException
-
addPackagingProgressEvent
public void addPackagingProgressEvent(PackagingProgressEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removePackagingProgressEvent
public void removePackagingProgressEvent(PackagingProgressEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-