亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? idvcard.pas

?? delphi indy9.0.18組件包
?? PAS
?? 第 1 頁 / 共 4 頁
字號:
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence                                   }
{ Team Coherence is Copyright 2002 by Quality Software Components      }
{                                                                      }
{ For further information / comments, visit our WEB site at            }
{ http://www.TeamCoherence.com                                         }
{**********************************************************************}
{}
{ $Log:  10417: IdVCard.pas 
{
{   Rev 1.0    2002.11.12 10:59:38 PM  czhower
}
unit IdVCard;

{*******************************************************}
{                                                       }
{       Indy VCardObject TIdCard                        }
{                                                       }
{       Copyright (C) 2000 Winshoes Working Group       }
{       Original author J. Peter Mugaas                 }
{       2000-May-06                                     }
{       Based on RFC 2425, 2426                         }
{                                                       }
{*******************************************************}

{

2002-Jan-20 DOn Siders
 - Corrected spelling errors in Categories properties, members, methods

2000-07-24 Peter Mee
 - Added preliminary embedded vCard checking
 - Added QP Check & Decode of individual properties
}

interface

uses
  Classes,
  IdBaseComponent, IdGlobal;

{ TODO:

Agent property does not work and the current parsing stops whenever it
sees END:VCard meaning that the VCard will be truncated if AGENT is
used to embed a VCard.

I omitted a property for spelling out a sound.  Appearently VCard 2.1
permitted a charactor representation of sound in addition to an embedded
sound, and a URL.

I am not sure how well the KEY property works.  That is used for
embedding some encryption keys into a VCard such as PGP public-key or
something from Versign.

VCard does not have any Quoted Printable decoding or Base64 encoding
and decoding.  Some routines may have to be changed to accomodate
this although I don't have the where-with-all.   

VCards can not be saved. }

type

  {This contains the object for Sound, Logo, Photo, Key, and Agent property}
  TIdVCardEmbeddedObject = class (TPersistent)
  protected
    FObjectType : String;
    FObjectURL  : String;
    FBase64Encoded : Boolean;
    FEmbeddedData : TStrings;
    {Embeded data property set method}
    procedure SetEmbeddedData(const Value: TStrings);
  public
    Constructor Create;
    Destructor Destroy; override;
  published
    {this indicates the type of media such as the file type or key type}
    property ObjectType : String read FObjectType write FObjectType;
    {pointer to the URL where the object is located if it is NOT in this card
    itself}
    property ObjectURL  : String read FObjectURL write FObjectURL;
    {The object }
    property Base64Encoded : Boolean read FBase64Encoded write FBase64Encoded;
    {The data for the object if it is in the VCard.  This is usually in an
    encoded format such as BASE64 although some keys may not require encoding}
    property EmbeddedData : TStrings read FEmbeddedData write SetEmbeddedData;
  end;

  {VCard business information}
  TIdVCardBusinessInfo = class ( TPersistent )
  protected
    FTitle : String;
    FRole : String;
    FOrganization : String;
    FDivisions : TStrings;
    procedure SetDivisions(Value : TStrings);
  public
    constructor Create;
    destructor Destroy; override;
  published
    {The organization name such as XYZ Corp. }
    property Organization : String read FOrganization write FOrganization;
    { The divisions in the orginization the person is in - e.g.
      West Virginia Office, Computing Service}
    property Divisions: TStrings read FDivisions write SetDivisions;
    {The person's formal title in the business such
     "Director of Computing Services"}
    property Title : String read FTitle write FTitle;
    {The person's role in an organization such as "system administrator" }    
    property Role : String read FRole write FRole;
  end;

  {Geographical information such as Latitude/Longitude and Time Zone}
  TIdVCardGeog = class ( TPersistent )
  protected
    FLatitude : Real;
    FLongitude : Real;
    FTimeZoneStr : String;
  published
    {Geographical latitude the person is in}
    property Latitude : Real read FLatitude write  FLatitude;
    {Geographical longitude the person is in}
    property Longitude : Real read FLongitude write FLongitude;
    {The time zone the person is in}
    property TimeZoneStr : String read FTimeZoneStr write FTimeZoneStr;
  end;

  TIdPhoneAttributes = set of
    ( tpaHome, tpaVoiceMessaging, tpaWork, tpaPreferred, tpaVoice, tpaFax,
     tpaCellular, tpaVideo, tpaBBS, tpaModem, tpaCar, tpaISDN, tpaPCS, tpaPager);

  { This encapsolates a telephone number }
  TIdCardPhoneNumber = class ( TCollectionItem )
  protected
    FPhoneAttributes: TIdPhoneAttributes;
    FNumber : String;
  public
    procedure Assign(Source: TPersistent); override;
  published
    {This is a descriptor for the phone number }
    property PhoneAttributes: TIdPhoneAttributes
      read FPhoneAttributes write FPhoneAttributes;
    { the telephone number itself}
    property Number : String read FNumber write FNumber;
  end;

  {Since a person can have more than one address, we put them into this
  collection}
  TIdVCardTelephones = class ( TOwnedCollection )
  protected
    function GetItem ( Index: Integer ) : TIdCardPhoneNumber;
    procedure SetItem ( Index: Integer; const Value: TIdCardPhoneNumber );
  public
    constructor Create ( AOwner : TPersistent ); reintroduce;
    function Add: TIdCardPhoneNumber;
    property Items [ Index: Integer ] : TIdCardPhoneNumber read GetItem write
      SetItem; default;
  end;

  {This encapsulates a person's address}    {Do not Localize}
  TIdCardAddressAttributes = set of ( tatHome, tatDomestic, tatInternational, tatPostal,
    tatParcel, tatWork, tatPreferred );
  TIdCardAddressItem = class ( TCollectionItem )
  protected
    FAddressAttributes : TIdCardAddressAttributes;
    FPOBox : String;
    FExtendedAddress : String;
    FStreetAddress : String;
    FLocality : String;
    FRegion : String;
    FPostalCode : String;
    FNation : String;
  public
    procedure Assign(Source: TPersistent); override;
  published
    { attributes for this address such as Home or Work, postal, parcel, etc.}
    property AddressAttributes : TIdCardAddressAttributes read
      FAddressAttributes write FAddressAttributes;
    { This is the P. O. Box for an address}
    property POBox : String read FPOBox write FPOBox;
    { This could be something such as an Office identifier for a building or
      an appartment number }
    property ExtendedAddress : String read FExtendedAddress write FExtendedAddress;
    {This is the streat address such as "101 Sample Avenue" }
    property StreetAddress : String read FStreetAddress write FStreetAddress;
    { This is a city or town (e.g. Chicago, New York City, Montreol }
    property Locality : String read FLocality write FLocality;
    { This is the political subdivision of a nation such as a Providence in Canda - Quebec,
     a State in US such as "West Virginia", or a county in England such as "Kent"}
    property Region : String read FRegion write FRegion;
    { This is the postal code for the locality such as a ZIP Code in the US }
    property PostalCode : String read FPostalCode write FPostalCode;
    { This is the nation such as Canada, U.S.A., Mexico, Russia, etc }
    property Nation : String read FNation write FNation;
  end;

  {Since a person can have more than one address, we put them into this collection}
  TIdVCardAddresses = class ( TOwnedCollection )
  protected
    function GetItem ( Index: Integer ) : TIdCardAddressItem;
    procedure SetItem ( Index: Integer; const Value: TIdCardAddressItem );
  public
    constructor Create ( AOwner : TPersistent ); reintroduce;
    function Add: TIdCardAddressItem;
    property Items [ Index: Integer ] : TIdCardAddressItem read GetItem write
      SetItem; default;
  end;

  {This type holds a mailing label }
  TIdVCardMailingLabelItem = class ( TCollectionItem )
  private
    FAddressAttributes : TIdCardAddressAttributes;
    FMailingLabel : TStrings;
    procedure SetMailingLabel(Value : TStrings);
  public
    constructor Create(Collection: TCollection); override;
    destructor Destroy; override;
    procedure Assign(Source: TPersistent); override;
  published
    { attributes for this mailing label such as Home or Work, postal, parcel,
      etc.}
    property AddressAttributes : TIdCardAddressAttributes read
      FAddressAttributes write FAddressAttributes;
    { The mailing label itself}
    property MailingLabel : TStrings read FMailingLabel write SetMailingLabel;
  end;

  {This type holds the }
  TIdVCardMailingLabels = class ( TOwnedCollection  )
  protected
    function GetItem ( Index: Integer ) : TIdVCardMailingLabelItem;
    procedure SetItem ( Index: Integer; const Value: TIdVCardMailingLabelItem );
  public
    constructor Create ( AOwner : TPersistent ); reintroduce;
    function Add : TIdVCardMailingLabelItem;
    property Items [ Index: Integer ] : TIdVCardMailingLabelItem read GetItem write SetItem; default;
  end;

  { This type is used to indicate the type E-Mail indicated in the VCard
    which can be of several types }
  TIdVCardEMailType = ( ematAOL, {America On-Line}
    ematAppleLink, {AppleLink}
    ematATT,   { AT&T Mail }
    ematCIS,   { CompuServe Information Service }
    emateWorld, { eWorld }
    ematInternet, {Internet SMTP (default)}
    ematIBMMail, { IBM Mail }
    ematMCIMail, { Indicates MCI Mail }
    ematPowerShare, { PowerShare }
    ematProdigy, { Prodigy information service }
    ematTelex, { Telex number }
    ematX400 ); { X.400 service }

  {This object encapsolates an E-Mail address in a TCollection}
  TIdVCardEMailItem = class (TCollectionItem)
  protected
    FEMailType : TIdVCardEMailType;
    FPreferred : Boolean;
    FAddress : String;
  public
    constructor Create(Collection: TCollection); override;
    { This is the type of E-Mail address which defaults to Internet }
    procedure Assign(Source: TPersistent); override;
  published
    property EMailType : TIdVCardEMailType read FEMailType write FEMailType;
    { Is this the person's prefered E-Mail address? }    {Do not Localize}
    property Preferred : Boolean read FPreferred write FPreferred;
    { The user's E-Mail address itself }    {Do not Localize}
    property Address : String read FAddress write FAddress;
  end;

  TIdVCardEMailAddresses = class ( TOwnedCollection  )
  protected
    function GetItem ( Index: Integer ) : TIdVCardEMailItem;
    procedure SetItem ( Index: Integer; const Value: TIdVCardEMailItem );
  public
    constructor Create ( AOwner : TPersistent ); reintroduce;
    function Add: TIdVCardEMailItem;
    property Items [ Index: Integer ] : TIdVCardEMailItem read GetItem write SetItem; default;
  end;

  TIdVCardName = class (TPersistent)
  protected
    FFirstName : String;
    FSurName : String;
    FOtherNames : TStrings;
    FPrefix : String;
    FSuffix : String;
    FFormattedName : String;
    FSortName : String;
    FNickNames : TStrings;
    procedure SetOtherNames(Value : TStrings);
    procedure SetNickNames(Value : TStrings);
  public
    Constructor Create;
    destructor Destroy; override;
  published
    {This is the person's first name, in the case of "J. Peter Mugaas",
    this would be "J."}
    property FirstName : String read FFirstName write FFirstName;
    {This is the person's last name, in the case of "J. Peter Mugaas",
    this would be "Mugaas"}
    property SurName : String read FSurName write FSurName;
    {This is a place for a middle name and some other names such as a woman's  
    maiden name.  In the case of "J. Peter Mugaas", this would be "Peter".}
    property OtherNames : TStrings read FOtherNames write SetOtherNames;
    {This is a properly formatted name which was listed in the VCard}
    property FormattedName : String read FFormattedName write FFormattedName;
    {This is a prefix added to a name such as
    "Mr.", "Dr.", "Hon.", "Prof.", "Reverend", etc.}
    property Prefix : String read FPrefix write FPrefix;
    {This is a suffix added to a name such as
    "Ph.D.", "M.D.", "Esq.", "Jr.", "Sr.", "III", etc.}
    property Suffix : String read FSuffix write FSuffix;
    {The string used for sorting a name.  It may not always be the person's last    
    name}
    property SortName : String read FSortName write  FSortName;
    { Nick names which a person may have such as "Bill" or "Billy" for Wiliam.}
    property NickNames : TStrings read FNickNames write SetNickNames;
  end;

  TIdVCard = class ( TIdBaseComponent )
  private
  protected
    FComments : TStrings;
    FCategories : TStrings;
    FBusinessInfo : TIdVCardBusinessInfo;
    FGeography : TIdVCardGeog;
    FFullName : TIdVCardName;
    FRawForm : TStrings;
    FURLs : TStrings;
    FEMailProgram : String;
    FEMailAddresses : TIdVCardEMailAddresses;
    FAddresses : TIdVCardAddresses;
    FMailingLabels : TIdVCardMailingLabels;
    FTelephones : TIdVCardTelephones;
    FVCardVersion : Real;
    FProductID : String;
    FUniqueID : String;
    FClassification : String;
    FLastRevised : TDateTime;
    FBirthDay : TDateTime;
    FPhoto : TIdVCardEmbeddedObject;
    FLogo  : TIdVCardEmbeddedObject;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
制服丝袜激情欧洲亚洲| 91在线视频官网| 91美女视频网站| 国产麻豆精品在线观看| 日韩黄色免费电影| 一区二区三区不卡视频| 亚洲欧美日韩一区二区| 国产精品视频麻豆| 国产精品日产欧美久久久久| 国产人妖乱国产精品人妖| 久久久久久久久久看片| 国产日韩欧美制服另类| 中文字幕成人av| 一区二区三区影院| 亚洲丰满少妇videoshd| 裸体在线国模精品偷拍| 国产精品综合在线视频| 国内偷窥港台综合视频在线播放| 国产精品99久久久久久宅男| 99v久久综合狠狠综合久久| 色丁香久综合在线久综合在线观看| 日本道色综合久久| 制服丝袜亚洲色图| 国产三级欧美三级日产三级99| 亚洲国产精品v| 午夜精品福利在线| 国模冰冰炮一区二区| 91在线观看美女| 欧美日韩一区高清| 精品成人免费观看| 亚洲另类春色校园小说| 日韩国产高清在线| 99精品欧美一区二区蜜桃免费 | 日一区二区三区| 久久超级碰视频| 9i在线看片成人免费| 欧美日韩一本到| 日本一二三四高清不卡| 午夜国产精品影院在线观看| 风间由美中文字幕在线看视频国产欧美| 91丨porny丨国产| 日韩欧美国产电影| 一区二区三区av电影| 国产麻豆日韩欧美久久| 欧美日韩在线观看一区二区 | yourporn久久国产精品| 欧美日韩一区在线| 国产精品久久久久影院亚瑟| 蜜臀av一区二区三区| 99久久精品免费看国产| 日韩一区二区免费在线电影| 亚洲色图一区二区三区| 国产一区二区三区av电影| 欧美日本国产一区| 综合久久久久久| 国产高清不卡一区| 日韩女优视频免费观看| 性做久久久久久免费观看 | 日韩av一级片| 色婷婷久久一区二区三区麻豆| 精品国产髙清在线看国产毛片| 一区二区三区在线观看欧美 | 欧美日韩一区二区电影| 国产精品久久久久久久久免费桃花 | 国产无人区一区二区三区| 亚洲成人黄色影院| 欧美在线免费播放| 中文字幕一区二区三区四区不卡| 国产在线精品不卡| 欧美mv日韩mv| 精品制服美女丁香| 欧美大片日本大片免费观看| 国产精品主播直播| 国产调教视频一区| 不卡av在线免费观看| 国产精品国产三级国产a| 国产精品18久久久久久vr| 91免费小视频| 国产精品不卡一区| 狠狠网亚洲精品| 久久网站热最新地址| 美女视频一区二区三区| 欧美日韩亚洲综合在线| 亚洲丝袜另类动漫二区| 粉嫩av一区二区三区在线播放| 91精品国产综合久久小美女| 久久亚洲精品小早川怜子| 国产美女精品在线| 欧美精品一区二区三| 美女视频黄a大片欧美| 欧美精品v国产精品v日韩精品| 一区二区三区四区不卡视频| 成人av片在线观看| 中文字幕日韩精品一区| 激情欧美一区二区三区在线观看| 日韩欧美一二三四区| 日本不卡视频在线观看| 91麻豆精品国产91久久久 | 亚洲黄网站在线观看| 国产成人福利片| 国产日韩欧美激情| 从欧美一区二区三区| 国产欧美日韩久久| 成人亚洲一区二区一| 国产精品免费av| 成人18精品视频| 中文字幕中文字幕一区| 91美女在线视频| 丝袜诱惑制服诱惑色一区在线观看 | 成人免费看视频| 日韩高清中文字幕一区| 日韩情涩欧美日韩视频| 国产美女久久久久| 国产精品久久久久精k8| 在线亚洲+欧美+日本专区| 五月天久久比比资源色| 久久久久亚洲综合| 色婷婷国产精品综合在线观看| 日韩一区精品视频| 久久久国产精品麻豆| 欧洲另类一二三四区| 蜜桃久久久久久| 亚洲视频一二区| 日韩欧美一区二区视频| 丁香五精品蜜臀久久久久99网站| 亚洲自拍偷拍九九九| 欧美xxxxx裸体时装秀| 日本不卡免费在线视频| 国产精品麻豆视频| 欧美精品国产精品| 懂色av一区二区三区免费观看| 亚洲综合久久久| 欧美日韩国产一级| 国产jizzjizz一区二区| 一区二区在线免费观看| 337p日本欧洲亚洲大胆精品| 91久久国产最好的精华液| 国产又黄又大久久| 亚洲一区二区三区四区中文字幕| 91精品国产综合久久久久久漫画| 91视频免费播放| 国产福利精品一区二区| 热久久久久久久| 免费欧美日韩国产三级电影| 亚洲精品视频免费看| 久久久久久久久久久久久女国产乱| 91高清在线观看| 99免费精品在线| 狠狠v欧美v日韩v亚洲ⅴ| 蜜桃av一区二区三区| 亚洲一区成人在线| 国产精品久久久久久久久免费丝袜 | 国产老女人精品毛片久久| 亚洲一区电影777| 国产欧美日韩中文久久| 国产欧美中文在线| 国产欧美精品一区二区色综合| 欧美一区二区三区视频在线| 欧美午夜片在线观看| 一本色道久久综合精品竹菊| 另类中文字幕网| 国产揄拍国内精品对白| 精品一区中文字幕| 五月天欧美精品| 日本不卡不码高清免费观看| 亚洲va欧美va国产va天堂影院| 亚洲国产va精品久久久不卡综合| 一区二区三区在线观看网站| 中文字幕一区二区三区精华液| 中文av字幕一区| 国产精品久久久久久久久快鸭| 日韩一区中文字幕| 亚洲国产视频一区二区| 亚洲二区在线视频| 日韩av中文字幕一区二区| 免费看黄色91| 激情小说欧美图片| 不卡一区二区三区四区| 99视频精品全部免费在线| 色菇凉天天综合网| 欧美日韩精品一区二区| 欧美巨大另类极品videosbest | 欧美日韩专区在线| 欧美日韩久久一区二区| 日韩欧美久久久| 久久久久国产一区二区三区四区 | 欧美一区在线视频| 欧美白人最猛性xxxxx69交| 日韩精品综合一本久道在线视频| 精品国产电影一区二区| 国产精品毛片久久久久久久| 亚洲黄网站在线观看| 中文字幕av在线一区二区三区| 中文字幕 久热精品 视频在线| 国产精品美女久久久久久| 国产日韩欧美亚洲| 亚洲影视资源网| 精品一区二区三区在线视频| 国产精品亚洲一区二区三区妖精| 国产九九视频一区二区三区|