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 |
---|---|
int |
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 |
---|---|
bool |
AtypeIdx
Corresponds to AtypeIdx
Declaration
public int AtypeIdx { get; }
Property Value
Type | Description |
---|---|
int |
BlankLineAfterCounty
Insert a blank line after County, for Australian suburbs
Declaration
public bool BlankLineAfterCounty { get; }
Property Value
Type | Description |
---|---|
bool |
BlankLineBeforeZip
If true, insert a blank line before the Zip code, for Deutsche Bundespost rules!
Declaration
public bool BlankLineBeforeZip { get; }
Property Value
Type | Description |
---|---|
bool |
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 |
---|---|
bool |
IncludeMrMrs
If true, MrMrs comes before person
Declaration
public bool IncludeMrMrs { get; }
Property Value
Type | Description |
---|---|
bool |
IncludeTitle
If true, title comes before person
Declaration
public bool IncludeTitle { get; }
Property Value
Type | Description |
---|---|
bool |
InitialsInsteadOfFirstName
Insert a blank line after County, for Australian suburbs
Declaration
public bool InitialsInsteadOfFirstName { get; }
Property Value
Type | Description |
---|---|
bool |
LayoutId
Corresponds to Layout id's on CountryRow
Declaration
public int LayoutId { get; }
Property Value
Type | Description |
---|---|
int |
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 |
---|---|
bool |
PersonFirst
If true, we have person before company name; otherwise not
Declaration
public bool PersonFirst { get; }
Property Value
Type | Description |
---|---|
bool |
PersonLastNameFirst
If true, name order is lastname, firstname; otherwise firstname lastname
Declaration
public bool PersonLastNameFirst { get; }
Property Value
Type | Description |
---|---|
bool |
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 |
---|---|
bool |
SeparateTitle
If true, add title on separate line after person
Declaration
public bool SeparateTitle { get; }
Property Value
Type | Description |
---|---|
bool |
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 |
---|---|
bool |
UppercaseLastName
Insert a blank line after County, for Australian suburbs
Declaration
public bool UppercaseLastName { get; }
Property Value
Type | Description |
---|---|
bool |
Zip
formatting details for AddressRow.Zip
Declaration
public AddressElementFormat Zip { get; }
Property Value
Type | Description |
---|---|
AddressElementFormat |