f5acb2a0b301d1b062260b9f1820048020ed7656
[occt.git] / src / PDocStd / PDocStd_XLink.cdl
1 -- Created by: DAUTRY Philippe
2 -- Copyright (c) 1997-1999 Matra Datavision
3 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 --              --------------
17
18 ---Version:     0.0
19 --Version       Date            Purpose
20 --              0.0     Sep 17 1997     Creation
21
22
23 class XLink from PDocStd inherits Attribute from PDF
24
25         ---Purpose: This attribute define a persistant external link.
26
27 uses
28
29     HAsciiString from PCollection
30
31 -- raises
32
33 is
34
35     Create
36     returns XLink from PDocStd;
37     ---Purpose: Returns an empty persistent external reference.
38
39
40     DocumentEntry(me : mutable; aDocEntry : HAsciiString from PCollection);
41     ---Purpose: Sets the field <myDocEntry> with <aDocEntry>.
42     
43     DocumentEntry(me)
44     returns HAsciiString from PCollection;
45     ---Purpose: Returns the contents of the field <myDocEntry>.
46
47     LabelEntry(me : mutable; aLabEntry : HAsciiString from PCollection);
48     ---Purpose: Sets the field <myLabEntry> with <aLabEntry>.
49
50     LabelEntry(me)
51     returns HAsciiString from PCollection;
52     ---Purpose: Returns the contents of the field <myLabEntry>.
53
54
55 fields
56
57     myDocEntry       : HAsciiString from PCollection;
58     myLabEntry       : HAsciiString from PCollection;
59
60 end XLink from PDocStd;