Show / Hide Table of Contents

Class AddressFormat

Class that interprets the AddressFormat table

Inheritance
Object
AddressFormat
Namespace: SuperOffice.CRM.Globalization
Assembly: SoDataBase.dll
Syntax
public sealed class AddressFormat : Object

Properties

Address1

formatting details for Address1

Declaration
public AddressElementFormat Address1 { get; }
Property Value
Type Description
AddressElementFormat

Address2

formatting details for Address2

Declaration
public AddressElementFormat Address2 { get; }
Property Value
Type Description
AddressElementFormat

Address3

formatting details for Address3

Declaration
public AddressElementFormat Address3 { get; }
Property Value
Type Description
AddressElementFormat

AddressFormatId

Primary key of the address format

Declaration
public int AddressFormatId { get; }
Property Value
Type Description
Int32

AddressInMiddle

If true, use company/address/person instead of company/person/address (if PersonFirst is true as well, we get person/address/company)

Declaration
public bool AddressInMiddle { get; }
Property Value
Type Description
Boolean

AtypeIdx

Corresponds to AtypeIdx

Declaration
public int AtypeIdx { get; }
Property Value
Type Description
Int32

BlankLineAfterCounty

Insert a blank line after County, for Australian suburbs

Declaration
public bool BlankLineAfterCounty { get; }
Property Value
Type Description
Boolean

BlankLineBeforeZip

If true, insert a blank line before the Zip code, for Deutsche Bundespost rules!

Declaration
public bool BlankLineBeforeZip { get; }
Property Value
Type Description
Boolean

City

formatting details for City

Declaration
public AddressElementFormat City { get; }
Property Value
Type Description
AddressElementFormat

County

formatting details for County

Declaration
public AddressElementFormat County { get; }
Property Value
Type Description
AddressElementFormat

ExcludePerson

If true, do not include the person data (name, title etc), just the address

Declaration
public bool ExcludePerson { get; }
Property Value
Type Description
Boolean

IncludeMrMrs

If true, MrMrs comes before person

Declaration
public bool IncludeMrMrs { get; }
Property Value
Type Description
Boolean

IncludeTitle

If true, title comes before person

Declaration
public bool IncludeTitle { get; }
Property Value
Type Description
Boolean

InitialsInsteadOfFirstName

Insert a blank line after County, for Australian suburbs

Declaration
public bool InitialsInsteadOfFirstName { get; }
Property Value
Type Description
Boolean

LayoutId

Corresponds to Layout id's on CountryRow

Declaration
public int LayoutId { get; }
Property Value
Type Description
Int32

Name

Name of address format (descriptive, multilingual)

Declaration
public string Name { get; }
Property Value
Type Description
String

NameBeforeDepartment

If true, company name, company department (or opposite order)

Declaration
public bool NameBeforeDepartment { get; }
Property Value
Type Description
Boolean

PersonFirst

If true, we have person before company name; otherwise not

Declaration
public bool PersonFirst { get; }
Property Value
Type Description
Boolean

PersonLastNameFirst

If true, name order is lastname, firstname; otherwise firstname lastname

Declaration
public bool PersonLastNameFirst { get; }
Property Value
Type Description
Boolean

Record

The underlying AddressFormatRecordData

Declaration
public AddressFormatRecordData Record { get; }
Property Value
Type Description
AddressFormatRecordData

SeparateNameAndDepartment

if true, company name[/n]company department (or both on same line with comma separator)

Declaration
public bool SeparateNameAndDepartment { get; }
Property Value
Type Description
Boolean

SeparateTitle

If true, add title on separate line after person

Declaration
public bool SeparateTitle { get; }
Property Value
Type Description
Boolean

State

formatting details for State

Declaration
public AddressElementFormat State { get; }
Property Value
Type Description
AddressElementFormat

TitleBeforeMrMrs

If true, title is before MrMrs, otherwise after

Declaration
public bool TitleBeforeMrMrs { get; }
Property Value
Type Description
Boolean

UppercaseLastName

Insert a blank line after County, for Australian suburbs

Declaration
public bool UppercaseLastName { get; }
Property Value
Type Description
Boolean

Zip

formatting details for

Declaration
public AddressElementFormat Zip { get; }
Property Value
Type Description
AddressElementFormat

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top