Class ProductHandler
Inheritance
System.Object
ProductHandler
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()
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ProductHandler : IProductHandler
Constructors
ProductHandler(IMergeUtil, IItemHandlerFactory, IItemsDataValidator, IMd5Util, ISurfaceHandler, IFontService, ItemDataHandler.Factory, IFileCache, ITemplateStorage, IBoundingPathCalculationService)
Declaration
public ProductHandler(IMergeUtil mergeUtil, IItemHandlerFactory itemHandlerFactory, IItemsDataValidator itemsDataValidator, IMd5Util md5Util, ISurfaceHandler surfaceHandler, IFontService fontService, ItemDataHandler.Factory itemDataHandlerFactory, IFileCache fileCache, ITemplateStorage templateStorage, IBoundingPathCalculationService boundingPathCalculationService)
Parameters
Methods
ApplyContainerSettings(Product, Dictionary<String, ContainerProperties>)
Declaration
public Product ApplyContainerSettings(Product product, Dictionary<string, ContainerProperties> containerSettings)
Parameters
Returns
ApplyItemsDataToItems(IEnumerable<BaseItem>, IDictionary<String, ItemData>)
Declaration
public Task ApplyItemsDataToItems(IEnumerable<BaseItem> items, IDictionary<string, ItemData> itemsData)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<BaseItem> |
items |
|
| System.Collections.Generic.IDictionary<System.String, ItemData> |
itemsData |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
ApplyLayout(Product, Boolean)
Declaration
public void ApplyLayout(Product product, bool isForceLegacyTextRenderingRequired = false)
Parameters
| Type |
Name |
Description |
| Product |
product |
|
| System.Boolean |
isForceLegacyTextRenderingRequired |
|
ApplyPlaceholdersDataToItems(IEnumerable<BaseItem>, Dictionary<String, String>)
Declaration
public void ApplyPlaceholdersDataToItems(IEnumerable<BaseItem> productAllItems, Dictionary<string, string> itemsDataPlaceholders)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<BaseItem> |
productAllItems |
|
| System.Collections.Generic.Dictionary<System.String, System.String> |
itemsDataPlaceholders |
|
ApplyProductData(Product, ItemsData, VdpOptions)
Declaration
public Task ApplyProductData(Product product, ItemsData itemsData, VdpOptions options)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
ApplyProductTheme(Product, ProductThemeConfig, RenderingConfig)
Declaration
public Task ApplyProductTheme(Product product, ProductThemeConfig theme, RenderingConfig renderingConfig)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
CacheSurfaces(Product, RenderingConfig)
Declaration
public void CacheSurfaces(Product product, RenderingConfig renderingConfig)
Parameters
FillEmptyInStringPlaceholdersWithHints(Product)
Declaration
public static void FillEmptyInStringPlaceholdersWithHints(Product product)
Parameters
| Type |
Name |
Description |
| Product |
product |
|
FillEmptyInStringPlaceholdersWithHints(Surface)
Declaration
public static void FillEmptyInStringPlaceholdersWithHints(Surface surface)
Parameters
| Type |
Name |
Description |
| Surface |
surface |
|
GetBoundsData(Product)
Declaration
public IEnumerable<RectangleF> GetBoundsData(Product product)
Parameters
| Type |
Name |
Description |
| Product |
product |
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<System.Drawing.RectangleF> |
|
GetCachedSurface(Product, RenderingConfig, Int32)
Declaration
public Surface GetCachedSurface(Product product, RenderingConfig renderingConfig, int surfaceIndex)
Parameters
Returns
GetInitialSurfaceCacheId(Surface, RenderingConfig.ProofImageRendering)
Declaration
public string GetInitialSurfaceCacheId(Surface surface, RenderingConfig.ProofImageRendering proofRendering)
Parameters
Returns
| Type |
Description |
| System.String |
|
GetItemFonts(BaseTextItem)
Declaration
public IEnumerable<string> GetItemFonts(BaseTextItem item)
Parameters
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<System.String> |
|
GetItemFontsExtended(BaseTextItem)
Declaration
public IEnumerable<FontInfo> GetItemFontsExtended(BaseTextItem item)
Parameters
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<Aurigma.GraphicsMill.AdvancedDrawing.FontInfo> |
|
GetProductFonts(Product)
Declaration
public IEnumerable<string> GetProductFonts(Product product)
Parameters
| Type |
Name |
Description |
| Product |
product |
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<System.String> |
|
GetProductFontsExtended(Product)
Declaration
public IEnumerable<FontInfo> GetProductFontsExtended(Product product)
Parameters
| Type |
Name |
Description |
| Product |
product |
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<Aurigma.GraphicsMill.AdvancedDrawing.FontInfo> |
|
GetSurfaceFonts(Surface)
Declaration
public IEnumerable<string> GetSurfaceFonts(Surface surface)
Parameters
| Type |
Name |
Description |
| Surface |
surface |
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<System.String> |
|
GetSurfaceFontsExtended(Surface)
Declaration
public IEnumerable<FontInfo> GetSurfaceFontsExtended(Surface surface)
Parameters
| Type |
Name |
Description |
| Surface |
surface |
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<Aurigma.GraphicsMill.AdvancedDrawing.FontInfo> |
|
RemoveEmptyInterpolationPlaceholders(Product)
Declaration
public static Product RemoveEmptyInterpolationPlaceholders(Product product)
Parameters
| Type |
Name |
Description |
| Product |
product |
|
Returns
RemoveEmptyInterpolationPlaceholders(Surface)
Declaration
public static void RemoveEmptyInterpolationPlaceholders(Surface surface)
Parameters
| Type |
Name |
Description |
| Surface |
surface |
|
RemoveInStringPlaceholderHints(Product)
Declaration
public static void RemoveInStringPlaceholderHints(Product product)
Parameters
| Type |
Name |
Description |
| Product |
product |
|
RemoveInStringPlaceholderHints(Surface)
Declaration
public static void RemoveInStringPlaceholderHints(Surface surface)
Parameters
| Type |
Name |
Description |
| Surface |
surface |
|
ReplaceInStringPlaceholdersValueInText(BaseTextItem)
Declaration
public static string ReplaceInStringPlaceholdersValueInText(BaseTextItem textItem)
Parameters
Returns
| Type |
Description |
| System.String |
|
ShowStubContent(Surface)
Declaration
public static void ShowStubContent(Surface surface)
Parameters
| Type |
Name |
Description |
| Surface |
surface |
|
Implements