Class IdmlParser
Namespace: Aurigma.DesignAtoms.Convert.Idml
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class IdmlParser
Inheritance: System.Object -> IdmlParser
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
IdmlParser
public IdmlParser(IConfiguration configuration, IStateResourcesLoader stateResourcesLoader, IColorManagement colorManagement, IFrameConfigHandler frameConfigHandler, IFontService fontService, IItemHandlerFactory itemHandlerFactory, ITemplateStorage templateStorage, IImageLoader imageLoader, IFontSubstitutionService fontSubstitutionService, IRepositoryImageParamsReaderFactory repositoryImageParamsReaderFactory, IGmColorConverter gmColorConverter, IExternalConverter externalConverter, IBoundingPathCalculationService boundingPathCalculationService, bool ignoreCreateItemExceptions = false)
Methods
GetTemplateSize
public static SizeF GetTemplateSize(IdmlReader idmlReader, bool legacyIdmlBleedParsingEnabled, int spreadIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.IdmlReader | idmlReader | |
System.Boolean | legacyIdmlBleedParsingEnabled | |
System.Int32 | spreadIndex |
Returns
System.Drawing.SizeF
GetTemplateSize
public static SizeF GetTemplateSize(Stream stream, bool legacyIdmlBleedParsingEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
System.IO.Stream | stream | |
System.Boolean | legacyIdmlBleedParsingEnabled |
Returns
System.Drawing.SizeF
FillProduct
public void FillProduct(IdmlParserContext idmlParserContext, Product product, MultipageTemplate template, float rasterDpi, Func<int, string> requestNameCallback)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Convert.Idml.IdmlParserContext | idmlParserContext | |
| Aurigma.DesignAtoms.Model.Product | product | |
| Aurigma.DesignAtoms.Convert.MultipageTemplate | template | |
System.Single | rasterDpi | |
System.Func<System.Int32,System.String> | requestNameCallback |
FillSurfaceContainers
public void FillSurfaceContainers(IdmlParserContext idmlParserContext, Surface surface, float rasterDpi, out MissingLinkImagesCollection missingLinkImages)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Convert.Idml.IdmlParserContext | idmlParserContext | |
| Aurigma.DesignAtoms.Model.Surface | surface | |
System.Single | rasterDpi | |
| Aurigma.DesignAtoms.Convert.MissingLinkImagesCollection | missingLinkImages |
CreateMockupContainer
public MockupContainer CreateMockupContainer(IdmlParserContext idmlParserContext)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Convert.Idml.IdmlParserContext | idmlParserContext |
Returns
Aurigma.DesignAtoms.Model.MockupContainer
CreateBackgroundMockupContainer
public MockupContainer CreateBackgroundMockupContainer(IdmlReader idmlReader)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.IdmlReader | idmlReader |