reference/com/functions/com-get-active-object.xml
20216b916ed583938672cd09c2c2f430351430d1
...
...
@@ -9,8 +9,8 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>variant</type><methodname>com_get_active_object</methodname>
12
-
<methodparam><type>string</type><parameter>progid</parameter></methodparam>
13
-
<methodparam choice="opt"><type>int</type><parameter>code_page</parameter></methodparam>
12
+
<methodparam><type>string</type><parameter>prog_id</parameter></methodparam>
13
+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>codepage</parameter><initializer>&null;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
<function>com_get_active_object</function> is similar to creating a new
...
...
@@ -27,17 +27,17 @@
27
27
<para>
28
28
<variablelist>
29
29
<varlistentry>
30
-
<term><parameter>progid</parameter></term>
30
+
<term><parameter>prog_id</parameter></term>
31
31
<listitem>
32
32
<para>
33
-
<parameter>progid</parameter> must be either the ProgID or CLSID for
33
+
<parameter>prog_id</parameter> must be either the ProgID or CLSID for
34
34
the object that you want to access (for example
35
35
<literal>Word.Application</literal>).
36
36
</para>
37
37
</listitem>
38
38
</varlistentry>
39
39
<varlistentry>
40
-
<term><parameter>code_page</parameter></term>
40
+
<term><parameter>codepage</parameter></term>
41
41
<listitem>
42
42
<para>
43
43
Acts in precisely the same way that it does for the <xref
...
...
@@ -65,6 +65,30 @@
65
65
to check the exception code.
66
66
</para>
67
67
</refsect1>
68
+

69
+

70
+
<refsect1 role="changelog">
71
+
&reftitle.changelog;
72
+
<informaltable>
73
+
<tgroup cols="2">
74
+
<thead>
75
+
<row>
76
+
<entry>&Version;</entry>
77
+
<entry>&Description;</entry>
78
+
</row>
79
+
</thead>
80
+
<tbody>
81
+
<row>
82
+
<entry>8.0.0</entry>
83
+
<entry>
84
+
<parameter>codepage</parameter> is nullable now.
85
+
</entry>
86
+
</row>
87
+
</tbody>
88
+
</tgroup>
89
+
</informaltable>
90
+
</refsect1>
91
+

68
92
<refsect1 role="notes">
69
93
&reftitle.notes;
70
94
<warning>
...
...
@@ -80,7 +104,6 @@
80
104
</warning>
81
105
</refsect1>
82
106
</refentry>
83
-

84
107
<!-- Keep this comment at the end of the file
85
108
Local variables:
86
109
mode: sgml
87
110