Skip to main content

Class IdmlParser

Namespace: Aurigma.DesignAtoms.Convert.Idml
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class IdmlParser

Inheritance: System.Object -> IdmlParser

Inherited Members

  • System.Object.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.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
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.IdmlReaderidmlReader
System.BooleanlegacyIdmlBleedParsingEnabled
System.Int32spreadIndex
Returns

System.Drawing.SizeF

GetTemplateSize

public static SizeF GetTemplateSize(Stream stream, bool legacyIdmlBleedParsingEnabled)
Parameters
TypeNameDescription
System.IO.Streamstream
System.BooleanlegacyIdmlBleedParsingEnabled
Returns

System.Drawing.SizeF

FillProduct

public void FillProduct(IdmlParserContext idmlParserContext, Product product, MultipageTemplate template, float rasterDpi, Func<int, string> requestNameCallback)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Convert.Idml.IdmlParserContextidmlParserContext
Aurigma.DesignAtoms.Model.Productproduct
Aurigma.DesignAtoms.Convert.MultipageTemplatetemplate
System.SinglerasterDpi
System.Func<System.Int32,System.String>requestNameCallback

FillSurfaceContainers

public void FillSurfaceContainers(IdmlParserContext idmlParserContext, Surface surface, float rasterDpi, out MissingLinkImagesCollection missingLinkImages)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Convert.Idml.IdmlParserContextidmlParserContext
Aurigma.DesignAtoms.Model.Surfacesurface
System.SinglerasterDpi
Aurigma.DesignAtoms.Convert.MissingLinkImagesCollectionmissingLinkImages

CreateMockupContainer

public MockupContainer CreateMockupContainer(IdmlParserContext idmlParserContext)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Convert.Idml.IdmlParserContextidmlParserContext
Returns

Aurigma.DesignAtoms.Model.MockupContainer

CreateBackgroundMockupContainer

public MockupContainer CreateBackgroundMockupContainer(IdmlReader idmlReader)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.IdmlReaderidmlReader
Returns

Aurigma.DesignAtoms.Model.MockupContainer

Was this page helpful?