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=9.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.StringassemblyFullNameFully assembly qualified name: ReachFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: ReachFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Xps.Serialization.XpsPackagingPolicystatic JCTypeclassTypeThe 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=9.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.ThrowableInternal 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, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
XpsPackagingPolicy
public XpsPackagingPolicy(XpsDocument xpsPackage) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDisposable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classBasePackagingPolicy- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIDisposable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classBasePackagingPolicy- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIDisposable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classBasePackagingPolicy- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIDisposable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classBasePackagingPolicy- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classBasePackagingPolicy
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDisposable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classBasePackagingPolicy- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static XpsPackagingPolicy cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXpsPackagingPolicy, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XpsPackagingPolicyinstance- 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, InvalidCastException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, XpsSerializationException, IOException
- Overrides:
AcquireResourceStreamForXpsColorContextin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionXpsSerializationExceptionIOException
-
AcquireResourceStreamForXpsFont
public XpsResourceStream AcquireResourceStreamForXpsFont() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, XpsSerializationException, IOException
- Overrides:
AcquireResourceStreamForXpsFontin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionXpsSerializationExceptionIOException
-
AcquireResourceStreamForXpsFont
public XpsResourceStream AcquireResourceStreamForXpsFont(java.lang.String resourceId) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ObjectDisposedException, IOException, XpsSerializationException
- Overrides:
AcquireResourceStreamForXpsFontin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionIOExceptionXpsSerializationException
-
AcquireResourceStreamForXpsImage
public XpsResourceStream AcquireResourceStreamForXpsImage(java.lang.String resourceId) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, XpsSerializationException, IOException
- Overrides:
AcquireResourceStreamForXpsImagein classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionXpsSerializationExceptionIOException
-
AcquireResourceStreamForXpsResourceDictionary
public XpsResourceStream AcquireResourceStreamForXpsResourceDictionary(java.lang.String resourceId) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, XpsSerializationException, IOException
- Overrides:
AcquireResourceStreamForXpsResourceDictionaryin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionXpsSerializationExceptionIOException
-
AcquireXmlWriterForFixedDocument
public XmlWriter AcquireXmlWriterForFixedDocument() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, ObjectDisposedException, InvalidOperationException, XpsPackagingException, IOException
- Overrides:
AcquireXmlWriterForFixedDocumentin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastExceptionObjectDisposedExceptionInvalidOperationExceptionXpsPackagingExceptionIOException
-
AcquireXmlWriterForFixedDocumentSequence
public XmlWriter AcquireXmlWriterForFixedDocumentSequence() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, XpsPackagingException, IOException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FileFormatException, XmlException, InvalidDataException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
- Overrides:
AcquireXmlWriterForFixedDocumentSequencein classBasePackagingPolicy- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionXpsPackagingExceptionIOExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFileFormatExceptionXmlExceptionInvalidDataExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionKeyNotFoundException
-
AcquireXmlWriterForFixedPage
public XmlWriter AcquireXmlWriterForFixedPage() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, ObjectDisposedException, InvalidOperationException, XpsPackagingException, IOException
- Overrides:
AcquireXmlWriterForFixedPagein classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastExceptionObjectDisposedExceptionInvalidOperationExceptionXpsPackagingExceptionIOException
-
AcquireXmlWriterForPage
public XmlWriter AcquireXmlWriterForPage() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
- Overrides:
AcquireXmlWriterForPagein classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedException
-
AcquireXmlWriterForResourceDictionary
public XmlWriter AcquireXmlWriterForResourceDictionary() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
- Overrides:
AcquireXmlWriterForResourceDictionaryin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedException
-
PersistPrintTicket
public void PersistPrintTicket(PrintTicket printTicket) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
PreCommitCurrentPage
public void PreCommitCurrentPage() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, XpsPackagingException, IOException- Overrides:
PreCommitCurrentPagein classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionXpsPackagingExceptionIOException
-
RelateResourceToCurrentPage
public void RelateResourceToCurrentPage(Uri targetUri, java.lang.String relationshipName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException, CultureNotFoundException, UnreachableException, OutOfMemoryException, InvalidOperationException, UriFormatException, IOException, ObjectDisposedException, FileFormatException, XmlException
- Overrides:
RelateResourceToCurrentPagein classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionCultureNotFoundExceptionUnreachableExceptionOutOfMemoryExceptionInvalidOperationExceptionUriFormatExceptionIOExceptionObjectDisposedExceptionFileFormatExceptionXmlException
-
RelateRestrictedFontToCurrentDocument
public void RelateRestrictedFontToCurrentDocument(Uri targetUri) throws java.lang.Throwable, ArgumentException, InvalidOperationException, IOException, ArgumentNullException, ObjectDisposedException, FileFormatException, XmlException, ArgumentOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, NotSupportedException, UriFormatException, OutOfMemoryException
- Overrides:
RelateRestrictedFontToCurrentDocumentin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionIOExceptionArgumentNullExceptionObjectDisposedExceptionFileFormatExceptionXmlExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionUnreachableExceptionNotSupportedExceptionUriFormatExceptionOutOfMemoryException
-
ReleaseResourceStreamForXpsColorContext
public void ReleaseResourceStreamForXpsColorContext() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XpsPackagingException, IndexOutOfRangeException, XpsSerializationException- Overrides:
ReleaseResourceStreamForXpsColorContextin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionXpsPackagingExceptionIndexOutOfRangeExceptionXpsSerializationException
-
ReleaseResourceStreamForXpsFont
public void ReleaseResourceStreamForXpsFont() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XpsPackagingException, IndexOutOfRangeException, XpsSerializationException- Overrides:
ReleaseResourceStreamForXpsFontin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionXpsPackagingExceptionIndexOutOfRangeExceptionXpsSerializationException
-
ReleaseResourceStreamForXpsFont
public void ReleaseResourceStreamForXpsFont(java.lang.String resourceId) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XpsPackagingException, IndexOutOfRangeException, XpsSerializationException- Overrides:
ReleaseResourceStreamForXpsFontin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionXpsPackagingExceptionIndexOutOfRangeExceptionXpsSerializationException
-
ReleaseResourceStreamForXpsImage
public void ReleaseResourceStreamForXpsImage() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XpsPackagingException, IndexOutOfRangeException, XpsSerializationException- Overrides:
ReleaseResourceStreamForXpsImagein classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionXpsPackagingExceptionIndexOutOfRangeExceptionXpsSerializationException
-
ReleaseResourceStreamForXpsResourceDictionary
public void ReleaseResourceStreamForXpsResourceDictionary() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XpsPackagingException, IndexOutOfRangeException, XpsSerializationException- Overrides:
ReleaseResourceStreamForXpsResourceDictionaryin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionXpsPackagingExceptionIndexOutOfRangeExceptionXpsSerializationException
-
ReleaseXmlWriterForFixedDocument
public void ReleaseXmlWriterForFixedDocument() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XpsPackagingException, IndexOutOfRangeException, XpsSerializationException- Overrides:
ReleaseXmlWriterForFixedDocumentin classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionXpsPackagingExceptionIndexOutOfRangeExceptionXpsSerializationException
-
ReleaseXmlWriterForFixedDocumentSequence
public void ReleaseXmlWriterForFixedDocumentSequence() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XpsPackagingException, IndexOutOfRangeException, XpsSerializationException- Overrides:
ReleaseXmlWriterForFixedDocumentSequencein classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionXpsPackagingExceptionIndexOutOfRangeExceptionXpsSerializationException
-
ReleaseXmlWriterForFixedPage
public void ReleaseXmlWriterForFixedPage() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, XpsPackagingException, IndexOutOfRangeException, ObjectDisposedException, IOException, CultureNotFoundException, UnreachableException, UriFormatException, OutOfMemoryException, XpsSerializationException- Overrides:
ReleaseXmlWriterForFixedPagein classBasePackagingPolicy- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionXpsPackagingExceptionIndexOutOfRangeExceptionObjectDisposedExceptionIOExceptionCultureNotFoundExceptionUnreachableExceptionUriFormatExceptionOutOfMemoryExceptionXpsSerializationException
-
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
-
-