Search Results for

    Show / Hide Table of Contents

    Class GaebConversionClient

    Inheritance
    System.Object
    GaebConversionClient
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Dangl.AVACloud.Client
    Assembly: Dangl.AVACloud.Client.dll
    Syntax
    public class GaebConversionClient

    Constructors

    | Improve this Doc View Source

    GaebConversionClient(String, HttpClient)

    Declaration
    public GaebConversionClient(string baseUrl, HttpClient httpClient)
    Parameters
    Type Name Description
    System.String baseUrl
    System.Net.Http.HttpClient httpClient

    Properties

    | Improve this Doc View Source

    BaseUrl

    Declaration
    public string BaseUrl { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    JsonSerializerSettings

    Declaration
    protected JsonSerializerSettings JsonSerializerSettings { get; }
    Property Value
    Type Description
    Newtonsoft.Json.JsonSerializerSettings
    | Improve this Doc View Source

    ReadResponseAsString

    Declaration
    public bool ReadResponseAsString { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    ConvertToAvaAsync(FileParameter, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

    Converts GAEB files to Dangl.AVA projects

    Declaration
    public virtual Task<ProjectDto> ConvertToAvaAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, bool? removePlainTextLongTexts, bool? removeHtmlLongTexts, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<System.Boolean> removePlainTextLongTexts

    If set to true, plain text long texts will be removed from the output to reduce response sizes

    System.Nullable<System.Boolean> removeHtmlLongTexts

    If set to true, html long texts will be removed from the output to reduce response sizes

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    Returns
    Type Description
    System.Threading.Tasks.Task<Dangl.AVA.IO.Dto.v1.ProjectDto>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ConvertToAvaAsync(FileParameter, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

    Converts GAEB files to Dangl.AVA projects

    Declaration
    public virtual async Task<ProjectDto> ConvertToAvaAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, bool? removePlainTextLongTexts, bool? removeHtmlLongTexts, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<System.Boolean> removePlainTextLongTexts

    If set to true, plain text long texts will be removed from the output to reduce response sizes

    System.Nullable<System.Boolean> removeHtmlLongTexts

    If set to true, html long texts will be removed from the output to reduce response sizes

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<Dangl.AVA.IO.Dto.v1.ProjectDto>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ConvertToExcelAsync(FileParameter, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

    Converts GAEB files to Excel

    Declaration
    public virtual Task<FileResponse> ConvertToExcelAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, bool? writePrices, bool? writeLongTexts, string conversionCulture, bool? includeArticleNumbers, bool? lockAllCellsButPrices, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<System.Boolean> writePrices

    Defaults to true

    System.Nullable<System.Boolean> writeLongTexts

    Defaults to true

    System.String conversionCulture

    The culture that should be used for the conversion process, to have
    localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.

    System.Nullable<System.Boolean> includeArticleNumbers

    If this is enabled, then a new column will be created in the overview worksheet
    that contains the article numbers for positions. Article numbers will be read from
    'position.commerceProperties.articleNumber'

    System.Nullable<System.Boolean> lockAllCellsButPrices

    If this is enabled, then all cells except the unit price cells will
    be locked, so users can not accidentally modify other fields.

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileResponse>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ConvertToExcelAsync(FileParameter, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

    Converts GAEB files to Excel

    Declaration
    public virtual async Task<FileResponse> ConvertToExcelAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, bool? writePrices, bool? writeLongTexts, string conversionCulture, bool? includeArticleNumbers, bool? lockAllCellsButPrices, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<System.Boolean> writePrices

    Defaults to true

    System.Nullable<System.Boolean> writeLongTexts

    Defaults to true

    System.String conversionCulture

    The culture that should be used for the conversion process, to have
    localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.

    System.Nullable<System.Boolean> includeArticleNumbers

    If this is enabled, then a new column will be created in the overview worksheet
    that contains the article numbers for positions. Article numbers will be read from
    'position.commerceProperties.articleNumber'

    System.Nullable<System.Boolean> lockAllCellsButPrices

    If this is enabled, then all cells except the unit price cells will
    be locked, so users can not accidentally modify other fields.

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileResponse>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ConvertToFlatAvaAsync(FileParameter, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

    Converts GAEB files to Dangl.AVA projects

    Declaration
    public virtual Task<FlatAvaProject> ConvertToFlatAvaAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    Returns
    Type Description
    System.Threading.Tasks.Task<FlatAvaProject>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ConvertToFlatAvaAsync(FileParameter, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

    Converts GAEB files to Dangl.AVA projects

    Declaration
    public virtual async Task<FlatAvaProject> ConvertToFlatAvaAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FlatAvaProject>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ConvertToGaebAsync(FileParameter, Nullable<Boolean>, Nullable<DestinationGaebType>, Nullable<DestinationGaebExchangePhase>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

    Converts GAEB files to GAEB files. Used for example when
    transforming or repairing GAEB files.

    Declaration
    public virtual Task<FileResponse> ConvertToGaebAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, DestinationGaebType? destinationGaebType, DestinationGaebExchangePhase? targetExchangePhaseTransform, bool? enforceStrictOfferPhaseLongTextOutput, bool? exportQuantityDetermination, bool? removeUnprintableCharactersFromTexts, bool? forceIncludeDescriptions, bool? treatNullItemNumberSchemaAsInvalid, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<DestinationGaebType> destinationGaebType

    Defaults to GAEB XML V3.2

    System.Nullable<DestinationGaebExchangePhase> targetExchangePhaseTransform

    Defaults to none, meaning no transformation will be done. The phases are:
    Base = 81
    CostEstimate = 82
    OfferRequest = 83
    Offer = 84
    SideOffer = 85
    Grant = 86

    System.Nullable<System.Boolean> enforceStrictOfferPhaseLongTextOutput

    Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will
    be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition
    is exported in full to ensure that incorrectly used text additions are still preserved in the export.

    System.Nullable<System.Boolean> exportQuantityDetermination

    Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the
    'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom
    quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for
    'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling
    this might export data that was not intended to be exported, like internal quantity calculation details,
    depending on what data you put in the 'QuantityComponents' property.

    System.Nullable<System.Boolean> removeUnprintableCharactersFromTexts

    If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion
    might fail in case some text content contains characters that are not allowed in XML output formats.
    Defaults to true.

    System.Nullable<System.Boolean> forceIncludeDescriptions

    If this is enabled, all description elements like texts and execution descriptions will be output
    to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does
    typically not include descriptions.

    System.Nullable<System.Boolean> treatNullItemNumberSchemaAsInvalid

    When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas.
    With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored
    and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility
    reasons.

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileResponse>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ConvertToGaebAsync(FileParameter, Nullable<Boolean>, Nullable<DestinationGaebType>, Nullable<DestinationGaebExchangePhase>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

    Converts GAEB files to GAEB files. Used for example when
    transforming or repairing GAEB files.

    Declaration
    public virtual async Task<FileResponse> ConvertToGaebAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, DestinationGaebType? destinationGaebType, DestinationGaebExchangePhase? targetExchangePhaseTransform, bool? enforceStrictOfferPhaseLongTextOutput, bool? exportQuantityDetermination, bool? removeUnprintableCharactersFromTexts, bool? forceIncludeDescriptions, bool? treatNullItemNumberSchemaAsInvalid, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<DestinationGaebType> destinationGaebType

    Defaults to GAEB XML V3.2

    System.Nullable<DestinationGaebExchangePhase> targetExchangePhaseTransform

    Defaults to none, meaning no transformation will be done. The phases are:
    Base = 81
    CostEstimate = 82
    OfferRequest = 83
    Offer = 84
    SideOffer = 85
    Grant = 86

    System.Nullable<System.Boolean> enforceStrictOfferPhaseLongTextOutput

    Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will
    be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition
    is exported in full to ensure that incorrectly used text additions are still preserved in the export.

    System.Nullable<System.Boolean> exportQuantityDetermination

    Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the
    'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom
    quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for
    'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling
    this might export data that was not intended to be exported, like internal quantity calculation details,
    depending on what data you put in the 'QuantityComponents' property.

    System.Nullable<System.Boolean> removeUnprintableCharactersFromTexts

    If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion
    might fail in case some text content contains characters that are not allowed in XML output formats.
    Defaults to true.

    System.Nullable<System.Boolean> forceIncludeDescriptions

    If this is enabled, all description elements like texts and execution descriptions will be output
    to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does
    typically not include descriptions.

    System.Nullable<System.Boolean> treatNullItemNumberSchemaAsInvalid

    When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas.
    With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored
    and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility
    reasons.

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileResponse>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ConvertToOenormAsync(FileParameter, Nullable<Boolean>, Nullable<DestinationOenormType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

    Converts GAEB files to Oenorm files

    Declaration
    public virtual Task<FileResponse> ConvertToOenormAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, DestinationOenormType? destinationOenormType, bool? tryRepairProjectStructure, bool? skipTryEnforceSchemaCompliantXmlOutput, bool? removeUnprintableCharactersFromTexts, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<DestinationOenormType> destinationOenormType

    Defaults to Lv2015

    System.Nullable<System.Boolean> tryRepairProjectStructure

    Defaults to false. If this is enabled, the converter will try to ensure that the project structure
    can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target

    System.Nullable<System.Boolean> skipTryEnforceSchemaCompliantXmlOutput

    If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml
    based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior
    can be disabled with this option.

    System.Nullable<System.Boolean> removeUnprintableCharactersFromTexts

    If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion
    might fail in case some text content contains characters that are not allowed in XML output formats.
    Defaults to true.

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileResponse>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ConvertToOenormAsync(FileParameter, Nullable<Boolean>, Nullable<DestinationOenormType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

    Converts GAEB files to Oenorm files

    Declaration
    public virtual async Task<FileResponse> ConvertToOenormAsync(FileParameter gaebFile, bool? supportSkippedItemNumberLevelsInPositions, DestinationOenormType? destinationOenormType, bool? tryRepairProjectStructure, bool? skipTryEnforceSchemaCompliantXmlOutput, bool? removeUnprintableCharactersFromTexts, bool? outputHtmlAsXml, bool? keepEmptyHtmlText, bool? allowUpperCaseItemNumbers, bool? allowLumpSumItemsWithDifferingQuantities, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    FileParameter gaebFile

    The input file

    System.Nullable<System.Boolean> supportSkippedItemNumberLevelsInPositions

    Defaults to 'false'. This controls if, when deserializing GAEB files, skipped levels in position
    item numbers should be supported. For example, if an ItemNumberSchema defines three levels - two group
    levels and one position level - but the ItemNumber of the position is just '01.02', then it will be
    displayed as '01.__.02' if this is set to true.

    System.Nullable<DestinationOenormType> destinationOenormType

    Defaults to Lv2015

    System.Nullable<System.Boolean> tryRepairProjectStructure

    Defaults to false. If this is enabled, the converter will try to ensure that the project structure
    can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target

    System.Nullable<System.Boolean> skipTryEnforceSchemaCompliantXmlOutput

    If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml
    based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior
    can be disabled with this option.

    System.Nullable<System.Boolean> removeUnprintableCharactersFromTexts

    If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion
    might fail in case some text content contains characters that are not allowed in XML output formats.
    Defaults to true.

    System.Nullable<System.Boolean> outputHtmlAsXml

    Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
    This means that e.g. void Html tags will always be output with their closing tag, e.g.
    it will produce '<br />' instead of '<br>'.

    System.Nullable<System.Boolean> keepEmptyHtmlText

    Defaults to 'false'. If this is enabled, then Html text that is empty will be kept in the output.
    Otherwise, Html text without any plain text will be removed. This is useful for example if you want
    to keep texts that only consist of empty paragraphs in the output.

    System.Nullable<System.Boolean> allowUpperCaseItemNumbers

    Defaults to 'false'. If this is enabled, then the ItemNumber of positions will be in uppercase
    format if the source file has them. By default, all item numbers will be converted to lowercase,
    but this option will enable the option to support uppercase item numbers as well.

    System.Nullable<System.Boolean> allowLumpSumItemsWithDifferingQuantities

    Defaults to 'false'.
    By default, the GAEB standard requires lump sum items ('Pauschalpositionen' in German) to have a quantity
    of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
    differing quantities will be kept during the import.

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileResponse>
    Exceptions
    Type Condition
    SwaggerException

    A server side error occurred.

    | Improve this Doc View Source

    ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)

    Declaration
    protected virtual async Task<GaebConversionClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Net.Http.HttpResponseMessage response
    System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>> headers
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<GaebConversionClient.ObjectResponseResult<T>>
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Dangl IT GmbH