|
ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Interface for a type which creates instances of IZptDocument. More...

Public Member Functions | |
| bool | TryDetectMode (FileInfo sourceFile, out RenderingMode detectedMode) |
| Gets a value indicating the RenderingMode detected for a given source file. More... | |
| IZptDocument | CreateDocument (FileInfo sourceFile, Encoding encoding=null, RenderingMode?renderingMode=null) |
| Creates a document from the given source file. More... | |
| IZptDocument | CreateDocument (FileInfo sourceFile, Type providerType, Encoding encoding=null) |
| Creates a document from the given source file. More... | |
| IZptDocument | CreateDocument (Stream source, RenderingMode renderingMode, ISourceInfo sourceInfo=null, Encoding encoding=null) |
| Creates a document from the given source stream. More... | |
| IZptDocument | CreateDocument (Stream source, Type providerType, ISourceInfo sourceInfo=null, Encoding encoding=null) |
| Creates a document from the given source file. More... | |
Interface for a type which creates instances of IZptDocument.
| IZptDocument CSF.Zpt.IZptDocumentFactory.CreateDocument | ( | FileInfo | sourceFile, |
| Encoding | encoding = null, |
||
| RenderingMode? | renderingMode = null |
||
| ) |
Creates a document from the given source file.
| sourceFile | The source file containing the document to create. |
| encoding | The text encoding to use in reading the source file. |
| renderingMode | The rendering mode to use in creating the output document. |
Implemented in CSF.Zpt.ZptDocumentFactory.
| IZptDocument CSF.Zpt.IZptDocumentFactory.CreateDocument | ( | FileInfo | sourceFile, |
| Type | providerType, | ||
| Encoding | encoding = null |
||
| ) |
Creates a document from the given source file.
| sourceFile | The source file containing the document to create. |
| providerType | The IZptDocumentProvider type to use for creating the document. |
| encoding | The text encoding to use in reading the source file. |
Implemented in CSF.Zpt.ZptDocumentFactory.
| IZptDocument CSF.Zpt.IZptDocumentFactory.CreateDocument | ( | Stream | source, |
| RenderingMode | renderingMode, | ||
| ISourceInfo | sourceInfo = null, |
||
| Encoding | encoding = null |
||
| ) |
Creates a document from the given source stream.
| source | The stream containing the document to create. |
| renderingMode | The rendering mode to use in creating the output document. |
| sourceInfo | Optional information about the source of the document. |
| encoding | The text encoding to use in reading the source file. |
Implemented in CSF.Zpt.ZptDocumentFactory.
| IZptDocument CSF.Zpt.IZptDocumentFactory.CreateDocument | ( | Stream | source, |
| Type | providerType, | ||
| ISourceInfo | sourceInfo = null, |
||
| Encoding | encoding = null |
||
| ) |
Creates a document from the given source file.
| source | The stream containing the document to create. |
| providerType | The IZptDocumentProvider type to use for creating the document. |
| sourceInfo | Optional information about the source of the document. |
| encoding | The text encoding to use in reading the source file. |
Implemented in CSF.Zpt.ZptDocumentFactory.
| bool CSF.Zpt.IZptDocumentFactory.TryDetectMode | ( | FileInfo | sourceFile, |
| out RenderingMode | detectedMode | ||
| ) |
Gets a value indicating the RenderingMode detected for a given source file.
true if the RenderingMode could be auto-detected; false if not.| sourceFile | The source file. |
| detectedMode | Exposes the detected rendering mode. |
Implemented in CSF.Zpt.ZptDocumentFactory.