Class AddressFormat
Class that interprets the AddressFormat table
Inherited Members
Namespace: SuperOffice.CRM.Globalization
Assembly: SoDataBase.dll
Syntax
public sealed class AddressFormat
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 |
Row
The underlying AddressFormatRow
Declaration
public AddressFormatRow Row { get; }
Property Value
Type | Description |
---|---|
AddressFormatRow |
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 |