Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2087 commits
Select commit Hold shift + click to select a range
243ac7d
New translations spinner.md (Spanish)
arnaud4d Apr 14, 2026
2aab1f3
New translations splitters.md (Spanish)
arnaud4d Apr 14, 2026
25b7e15
New translations stepper.md (Spanish)
arnaud4d Apr 14, 2026
51e8182
New translations subform_overview.md (Spanish)
arnaud4d Apr 14, 2026
e8a7c48
New translations tabcontrol.md (Spanish)
arnaud4d Apr 14, 2026
f784c9e
New translations viewproarea_overview.md (Spanish)
arnaud4d Apr 14, 2026
476cb0d
New translations webarea_overview.md (Spanish)
arnaud4d Apr 14, 2026
57516f7
New translations writeproarea_overview.md (Spanish)
arnaud4d Apr 14, 2026
a48541c
New translations users.md (Spanish)
arnaud4d Apr 14, 2026
92a728f
New translations user-new.md (Spanish)
arnaud4d Apr 14, 2026
4a7740b
New translations filehandleclass.md (Spanish)
arnaud4d Apr 14, 2026
fdf0c9a
New translations listbox_overview.md (Spanish)
arnaud4d Apr 14, 2026
af2f577
New translations users.md (Spanish)
arnaud4d Apr 14, 2026
033e653
New translations interface.md (Spanish)
arnaud4d Apr 14, 2026
c68f3ca
New translations async.md (Spanish)
arnaud4d Apr 14, 2026
4c94241
New translations listbox-object.md (Spanish)
arnaud4d Apr 14, 2026
2262784
New translations listbox-column.md (Spanish)
arnaud4d Apr 14, 2026
55d947b
New translations listbox-header-footer.md (Spanish)
arnaud4d Apr 14, 2026
53085a0
New translations listbox-column.md (Spanish)
arnaud4d Apr 14, 2026
3fc68e9
New translations listbox-header-footer.md (Spanish)
arnaud4d Apr 14, 2026
db6ec4d
New translations listbox-object.md (Spanish)
arnaud4d Apr 14, 2026
55607fe
New translations listbox-object.md (Spanish)
arnaud4d Apr 14, 2026
5feca66
New translations formulaclass.md (Spanish)
arnaud4d Apr 14, 2026
5e33664
New translations wp-new-style-sheet.md (Spanish)
arnaud4d Apr 14, 2026
e763753
New translations wp-delete-style-sheet.md (Spanish)
arnaud4d Apr 14, 2026
6b124c7
New translations wp-get-style-sheet.md (Spanish)
arnaud4d Apr 14, 2026
a328a0b
New translations ordering.md (Spanish)
arnaud4d Apr 14, 2026
2066fea
New translations async.md (Spanish)
arnaud4d Apr 14, 2026
5992bec
New translations async.md (Spanish)
arnaud4d Apr 14, 2026
2254074
New translations command-index.md (Japanese)
arnaud4d Apr 14, 2026
95fcea3
New translations user-new.md (Japanese)
arnaud4d Apr 14, 2026
ec74e12
New translations wp-new-style-sheet.md (Japanese)
arnaud4d Apr 14, 2026
e519ebd
New translations wp-delete-style-sheet.md (Japanese)
arnaud4d Apr 14, 2026
24f6ef8
New translations wp-get-style-sheet.md (Japanese)
arnaud4d Apr 14, 2026
7c3a5b9
New translations command-index.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
daec12b
New translations user-new.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
2a4b33c
New translations wp-new-style-sheet.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
e826e0f
New translations wp-delete-style-sheet.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
c015f07
New translations wp-get-style-sheet.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
1464b7d
New translations imapnotifier.md (Spanish)
arnaud4d Apr 14, 2026
d442cfc
Feature/server execution (#3261)
arnaud4d Apr 14, 2026
a5f1f6b
New translations wp-import-style-sheets.md (French)
arnaud4d Apr 14, 2026
4619ea6
New translations wp-import-style-sheets.md (Spanish)
arnaud4d Apr 14, 2026
00bf2a8
New translations wp-import-style-sheets.md (Japanese)
arnaud4d Apr 14, 2026
f9e65cc
New translations wp-import-style-sheets.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
824d582
New translations entityselectionclass.md (Spanish)
arnaud4d Apr 14, 2026
ffaf8a2
New translations fileclass.md (Spanish)
arnaud4d Apr 14, 2026
82e957b
New translations folderclass.md (Spanish)
arnaud4d Apr 14, 2026
001ddbf
New translations properties_listbox.md (Spanish)
arnaud4d Apr 14, 2026
6354689
New translations properties_object.md (Spanish)
arnaud4d Apr 14, 2026
42fca15
New translations properties_resizingoptions.md (Spanish)
arnaud4d Apr 14, 2026
e4bff8e
New translations properties_textandpicture.md (Spanish)
arnaud4d Apr 14, 2026
c813871
New translations current.json (Japanese)
arnaud4d Apr 14, 2026
fc0680e
New translations blobclass.md (Spanish)
arnaud4d Apr 14, 2026
d1e3944
New translations collectionclass.md (Spanish)
arnaud4d Apr 14, 2026
3bfeba9
New translations entityclass.md (Spanish)
arnaud4d Apr 14, 2026
dddad08
New translations entityselectionclass.md (Spanish)
arnaud4d Apr 14, 2026
ef44d53
New translations fileclass.md (Spanish)
arnaud4d Apr 14, 2026
bc685b5
New translations folderclass.md (Spanish)
arnaud4d Apr 14, 2026
af50b90
New translations cli.md (Spanish)
arnaud4d Apr 14, 2026
eb28aa9
New translations properties_listbox.md (Spanish)
arnaud4d Apr 14, 2026
9bbda9a
New translations properties_object.md (Spanish)
arnaud4d Apr 14, 2026
2ed805f
New translations properties_resizingoptions.md (Spanish)
arnaud4d Apr 14, 2026
a8bf8ef
New translations properties_textandpicture.md (Spanish)
arnaud4d Apr 14, 2026
2838a85
New translations blobclass.md (French)
arnaud4d Apr 14, 2026
85b0f2b
New translations collectionclass.md (French)
arnaud4d Apr 14, 2026
ebb6441
New translations emailobjectclass.md (French)
arnaud4d Apr 14, 2026
4e9942c
New translations fileclass.md (French)
arnaud4d Apr 14, 2026
fc18cea
New translations blobclass.md (Spanish)
arnaud4d Apr 14, 2026
c7965d1
New translations collectionclass.md (Spanish)
arnaud4d Apr 14, 2026
0bbcb95
New translations emailobjectclass.md (Spanish)
arnaud4d Apr 14, 2026
ebad8d2
New translations fileclass.md (Spanish)
arnaud4d Apr 14, 2026
46cacaf
New translations blobclass.md (Japanese)
arnaud4d Apr 14, 2026
755c906
New translations collectionclass.md (Japanese)
arnaud4d Apr 14, 2026
019575e
New translations emailobjectclass.md (Japanese)
arnaud4d Apr 14, 2026
1f04491
New translations fileclass.md (Japanese)
arnaud4d Apr 14, 2026
69b6ffc
New translations blobclass.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
2bb8995
New translations collectionclass.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
35d7496
New translations emailobjectclass.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
9d08451
New translations fileclass.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
548f76e
New translations folderclass.md (French)
arnaud4d Apr 14, 2026
237952d
New translations mailattachmentclass.md (French)
arnaud4d Apr 14, 2026
935558a
New translations sessionclass.md (French)
arnaud4d Apr 14, 2026
29f9106
New translations folderclass.md (Spanish)
arnaud4d Apr 14, 2026
421cc83
New translations mailattachmentclass.md (Spanish)
arnaud4d Apr 14, 2026
eedb569
New translations sessionclass.md (Spanish)
arnaud4d Apr 14, 2026
aa7660b
New translations folderclass.md (Japanese)
arnaud4d Apr 14, 2026
661f98c
New translations mailattachmentclass.md (Japanese)
arnaud4d Apr 14, 2026
92b7cd8
New translations sessionclass.md (Japanese)
arnaud4d Apr 14, 2026
3d1ce0f
New translations folderclass.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
4b9f506
New translations mailattachmentclass.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
1a173df
New translations sessionclass.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
34496a2
New translations webserverclass.md (French)
arnaud4d Apr 14, 2026
355cc1b
New translations webserverclass.md (Spanish)
arnaud4d Apr 14, 2026
7f4b3a9
New translations webserverclass.md (Japanese)
arnaud4d Apr 14, 2026
75dd6be
New translations webserverclass.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
5d61534
New translations classes.md (French)
arnaud4d Apr 14, 2026
325169f
New translations classes.md (Spanish)
arnaud4d Apr 14, 2026
57640d2
New translations classes.md (Japanese)
arnaud4d Apr 14, 2026
30d54f6
New translations classes.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
df0e11f
New translations dt_object.md (French)
arnaud4d Apr 14, 2026
7b7145c
New translations dt_object.md (Spanish)
arnaud4d Apr 14, 2026
bca5b00
New translations dt_object.md (Japanese)
arnaud4d Apr 14, 2026
8ee4ec4
New translations dt_object.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
504664e
New translations quick-tour.md (Spanish)
arnaud4d Apr 14, 2026
8120bc3
New translations clientserver.md (French)
arnaud4d Apr 14, 2026
e580baa
New translations clientserver.md (Spanish)
arnaud4d Apr 14, 2026
581ac33
New translations clientserver.md (Japanese)
arnaud4d Apr 14, 2026
147853d
New translations clientserver.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
159f9e2
New translations properties_object.md (Spanish)
arnaud4d Apr 14, 2026
7e7c2b1
New translations updates.md (French)
arnaud4d Apr 14, 2026
2e307ad
New translations client-server-optimization.md (French)
arnaud4d Apr 14, 2026
1dc9d35
New translations ordaclasses.md (French)
arnaud4d Apr 14, 2026
ad704fa
New translations updates.md (Spanish)
arnaud4d Apr 14, 2026
13bb50b
New translations client-server-optimization.md (Spanish)
arnaud4d Apr 14, 2026
c04a916
New translations ordaclasses.md (Spanish)
arnaud4d Apr 14, 2026
f6f6d33
New translations updates.md (Japanese)
arnaud4d Apr 14, 2026
4342bf9
New translations client-server-optimization.md (Japanese)
arnaud4d Apr 14, 2026
aee270a
New translations ordaclasses.md (Japanese)
arnaud4d Apr 14, 2026
e35b29f
New translations updates.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
bdc9b92
New translations client-server-optimization.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
7b10d79
New translations ordaclasses.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
8ab118f
New translations components.md (Spanish)
arnaud4d Apr 14, 2026
c999a15
New translations orda-events.md (French)
arnaud4d Apr 14, 2026
e83f964
New translations vectorclass.md (French)
arnaud4d Apr 14, 2026
50f49f6
New translations orda-events.md (Spanish)
arnaud4d Apr 14, 2026
f30a299
New translations vectorclass.md (Spanish)
arnaud4d Apr 14, 2026
b4bdbd5
New translations orda-events.md (Japanese)
arnaud4d Apr 14, 2026
77b32f8
New translations vectorclass.md (Japanese)
arnaud4d Apr 14, 2026
c395c8f
New translations orda-events.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
5995ce4
New translations vectorclass.md (Portuguese, Brazilian)
arnaud4d Apr 14, 2026
b55ef01
New translations collectionclass.md (Spanish)
arnaud4d Apr 15, 2026
f2054c4
New translations properties_object.md (Spanish)
arnaud4d Apr 15, 2026
a7a2a3b
New translations sessions.md (French)
arnaud4d Apr 15, 2026
c4f63b0
New translations sessions.md (Spanish)
arnaud4d Apr 15, 2026
b0ee01b
New translations sessions.md (Japanese)
arnaud4d Apr 15, 2026
a890f5a
New translations sessions.md (Portuguese, Brazilian)
arnaud4d Apr 15, 2026
da3f077
New translations collectionclass.md (Spanish)
arnaud4d Apr 15, 2026
e049aed
New translations properties_object.md (Spanish)
arnaud4d Apr 15, 2026
afe360c
New translations async.md (Spanish)
arnaud4d Apr 15, 2026
add48b2
New translations formulaclass.md (French)
arnaud4d Apr 15, 2026
c4eb4fc
New translations methodclass.md (French)
arnaud4d Apr 15, 2026
e438b4a
New translations formulaclass.md (Spanish)
arnaud4d Apr 15, 2026
84cf877
New translations methodclass.md (Spanish)
arnaud4d Apr 15, 2026
0990bf5
New translations formulaclass.md (Japanese)
arnaud4d Apr 15, 2026
b114fb3
New translations methodclass.md (Japanese)
arnaud4d Apr 15, 2026
c16ee83
New translations formulaclass.md (Portuguese, Brazilian)
arnaud4d Apr 15, 2026
97f0791
New translations methodclass.md (Portuguese, Brazilian)
arnaud4d Apr 15, 2026
b6cdeb0
New translations async.md (Spanish)
arnaud4d Apr 15, 2026
3cd41d3
New translations async.md (Spanish)
arnaud4d Apr 15, 2026
1a3b3a2
Merge branch 'l10n_main'
arnaud4d Apr 15, 2026
bb5928d
fix links
arnaud4d Apr 15, 2026
36253ee
New Crowdin updates (#3263)
arnaud4d Apr 15, 2026
4dd8606
small fixes (#3264)
arnaud4d Apr 15, 2026
6268385
New Crowdin updates (#3265)
arnaud4d Apr 16, 2026
1d9807b
Feature/ai kit alias (#3267)
arnaud4d Apr 16, 2026
e34d364
New Crowdin updates (#3266)
arnaud4d Apr 17, 2026
acbf50f
New Crowdin updates (#3268)
arnaud4d Apr 17, 2026
74cbe7e
Update updates.md (#3269)
arnaud4d Apr 17, 2026
01e1a6b
New Crowdin updates (#3270)
arnaud4d Apr 20, 2026
8cbb85b
fixes (#3271)
arnaud4d Apr 20, 2026
47c83bb
Fix/crypter fr (#3272)
arnaud4d Apr 20, 2026
947633f
Fix/crypter fr (#3273)
arnaud4d Apr 21, 2026
50cb68b
reported 21 21R2 (#3274)
arnaud4d Apr 21, 2026
44e5657
Merge branch 'main' into main
arnaud4d Apr 21, 2026
87ec734
Version 21-R3 created
arnaud4d Apr 21, 2026
9428108
Update Crowdin configuration file
arnaud4d Apr 22, 2026
f12a315
New Crowdin updates (#3276)
arnaud4d Apr 22, 2026
e9f88ae
fix version label
arnaud4d Apr 23, 2026
7a947d5
Merge branch 'main' into main
arnaud4d Apr 23, 2026
a9273af
New Crowdin updates (#3277)
arnaud4d Apr 23, 2026
49b0b2d
fix themes in home (#3278)
arnaud4d Apr 23, 2026
ace56c7
Fix/after 21 r3 (#3280)
arnaud4d Apr 24, 2026
6f0f2a9
New Crowdin updates (#3279)
arnaud4d Apr 24, 2026
f0be837
New Crowdin updates (#3281)
arnaud4d Apr 27, 2026
709ddfa
Update README.md
arnaud4d Apr 27, 2026
65377ec
fixes (#3282)
arnaud4d Apr 27, 2026
35bdbd5
fix(redirection): correct version iteration to include all versions
e-marchand Apr 28, 2026
ec89b6a
New Crowdin updates (#3283)
arnaud4d Apr 28, 2026
ce8fe5e
Merge branch 'main' of https://github.com/doc4d/docs into pr/575
arnaud4d Apr 28, 2026
f02f7ca
Merge branch '4d:main' into main
arnaud4d Apr 28, 2026
5810507
New Crowdin updates (#3284)
arnaud4d Apr 28, 2026
a4d0819
fix param name imap (#3286)
arnaud4d Apr 29, 2026
b7c21e1
Update README with conflict resolution steps
arnaud4d Apr 29, 2026
03bea81
Modify version matching loop to skip first version
e-marchand Apr 29, 2026
29f6108
Feature/form open explained (#3287)
arnaud4d Apr 29, 2026
f7657eb
New Crowdin updates (#3285)
arnaud4d Apr 30, 2026
184041e
Feature/print winui liquid (#3289)
arnaud4d Apr 30, 2026
2913e6d
ci: Add step to fix version-dropdown links in workflow
e-marchand May 1, 2026
352349f
ci: Fix action reference in workflow-build.yml
e-marchand May 1, 2026
160afa4
Update crowdin.yml
arnaud4d May 5, 2026
07861b9
New Crowdin updates (#3288)
arnaud4d May 5, 2026
e830b59
Update crowdin.yml
arnaud4d May 5, 2026
f5ac3df
Update Crowdin configuration file
arnaud4d May 5, 2026
3d8fe1b
Update updates.md
arnaud4d May 5, 2026
ddf29eb
Update crowdin.yml
arnaud4d May 6, 2026
82283e7
WritePro: fix links on some file moved to some legacy folders
e-marchand May 6, 2026
22ad45d
New Crowdin updates (#3290)
arnaud4d May 6, 2026
dbdd35f
swizzle the code that build the version menu to find other versions o…
e-marchand May 6, 2026
f5ac671
Document fix for version switch between 21.x and 21 R+
arnaud4d May 6, 2026
41c064d
added iframes (#3292)
arnaud4d May 6, 2026
1a1f715
New Crowdin updates (#3293)
arnaud4d May 7, 2026
97ccf6e
Update crowdin.yml
arnaud4d May 7, 2026
7a023d7
Merge branch 'main' into main
arnaud4d May 7, 2026
d177b38
Merge branch '4d:main' into main
arnaud4d May 7, 2026
7b914f0
Fix/add classtore class (#3294)
arnaud4d May 7, 2026
6124de8
fixes
arnaud4d May 7, 2026
e990436
Update Crowdin configuration file
arnaud4d May 7, 2026
81bc5ea
fixes links
arnaud4d May 7, 2026
f9e0214
New Crowdin updates (#3295)
arnaud4d May 11, 2026
97f4fe6
added see also + fix link to jmap spec (#3296)
arnaud4d May 11, 2026
50f117d
Fix/links imap (#3297)
arnaud4d May 11, 2026
547b59f
Merge branch '4d:main' into main
arnaud4d May 11, 2026
99b7216
added see also addflags
arnaud4d May 11, 2026
ec6cba4
updated screens
arnaud4d May 11, 2026
1ed79ca
print images
arnaud4d May 11, 2026
58e22e1
fixes in commands
arnaud4d May 11, 2026
c7f6b5c
fixed redraw syntax
arnaud4d May 11, 2026
6faa452
fix of the fix redraw
arnaud4d May 11, 2026
1300abe
fix(ACI0106344): add missing Variable in ACCUMULATE syntax
e-marchand May 13, 2026
ec7aedb
New Crowdin updates (#3298)
arnaud4d May 14, 2026
2d310af
New Crowdin updates (#3299)
arnaud4d May 15, 2026
38e5dd8
New Crowdin updates (#3300)
arnaud4d May 18, 2026
0a5ae7b
New Crowdin updates (#3302)
arnaud4d May 21, 2026
2fb8ec6
show message in version menu if page do not exist in previous version
e-marchand May 22, 2026
39dfa95
New Crowdin updates (#3303)
arnaud4d May 22, 2026
e2c062a
fix(syntax): make parameters optional for OBJECT Get pointer, Window …
e-marchand May 22, 2026
a0bea02
for menu version skip main page when checking if page available
e-marchand May 22, 2026
acf0a90
fixed legacy links
arnaud4d May 22, 2026
d0a1804
Update updates.md
arnaud4d May 22, 2026
6581817
New Crowdin updates (#3304)
arnaud4d May 25, 2026
d640140
version menu: change message and restore icon
e-marchand May 26, 2026
d6603a7
New Crowdin updates (#3305)
arnaud4d May 27, 2026
9bf89a8
New Crowdin updates (#3306)
arnaud4d May 28, 2026
4a0de3c
feat(aikit): resync doc to remove wrong model name with :
e-marchand May 28, 2026
7dddeea
feat(aikit): report 21R3 4a0de3c4ed322e9608b53cfd47710018c471812a
e-marchand May 28, 2026
e4dc8df
fix(aikit): 21.X link on OpenAI doc has change
e-marchand May 28, 2026
48d73ab
fix(aikit): revert syncing fixes that were not reported to the aikit …
e-marchand May 28, 2026
ab605a4
New Crowdin updates (#3308)
arnaud4d May 29, 2026
8329732
New Crowdin updates (#3309)
arnaud4d May 29, 2026
860df87
Fix/set query lock (#3310)
arnaud4d Jun 1, 2026
ff13214
New Crowdin updates (#3312)
arnaud4d Jun 1, 2026
e42a237
New Crowdin updates (#3313)
arnaud4d Jun 1, 2026
9d9d560
fixed XML syntaxes (#3314)
arnaud4d Jun 1, 2026
8835a20
fix syntax XML and add OpenSSL 4.0 (#3315)
arnaud4d Jun 1, 2026
51aafa4
fix(syntax): error if passing a wrong version version folders
e-marchand Jun 1, 2026
753cea7
New Crowdin updates (#3316)
arnaud4d Jun 2, 2026
09c4919
fix: missing type in syntax for language legacy commands (#3317)
e-marchand Jun 2, 2026
21498a8
collectionclass.md Japanese (#3318)
arnaud4d Jun 3, 2026
1effc25
Feature/fullfill language sections 0306 (#3319)
arnaud4d Jun 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 16 additions & 1 deletion .doc_preprocessing.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
const fs = require("fs")

const PREPROCESSING_TARGET_SYNTAX = process.env.PREPROCESSING_TARGET_SYNTAX
let target_syntax = "docs"
let target_syntax_translate = "current"

if(PREPROCESSING_TARGET_SYNTAX) {
target_syntax = "versioned_docs/" + PREPROCESSING_TARGET_SYNTAX
const versionDir = "versioned_docs/" + PREPROCESSING_TARGET_SYNTAX
if (!fs.existsSync(versionDir)) {
const available = fs.existsSync("versioned_docs")
? fs.readdirSync("versioned_docs").filter(n => n.startsWith("version-"))
: []
console.error(
`\x1b[31mERROR\x1b[0m: PREPROCESSING_TARGET_SYNTAX="${PREPROCESSING_TARGET_SYNTAX}" ` +
`but folder "${versionDir}" does not exist.\n` +
`Available versions: ${available.join(", ") || "(none)"}\n` +
`Leave PREPROCESSING_TARGET_SYNTAX unset to build the current (docs/) version.`
)
process.exit(1)
}
target_syntax = versionDir
target_syntax_translate = PREPROCESSING_TARGET_SYNTAX
}

Expand Down
6 changes: 6 additions & 0 deletions docs/API/IMAPTransporterClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -1442,8 +1442,14 @@ $flags["$seen"]:=True
$status:=$transporter.removeFlags(IMAP all;$flags)
```

#### See also

[`.addFlags()`](#addflags)

<!-- END REF -->



<!-- REF IMAPTransporterClass.renameBox().Desc -->
## .renameBox()

Expand Down
82 changes: 81 additions & 1 deletion docs/FormObjects/properties_Text.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ This property enables the possibility of using [specific styles](https://doc.4d.

By default, this option is not enabled.


#### JSON Grammar

|Name|Data Type|Possible Values|
Expand All @@ -439,7 +440,86 @@ By default, this option is not enabled.

#### Commands

[LISTBOX Get property](../commands/listbox-get-property) - [LISTBOX SET PROPERTY](../commands/listbox-set-property) - [OBJECT Is styled text](../commands/object-is-styled-text) -
[LISTBOX Get property](../commands/listbox-get-property) - [LISTBOX SET PROPERTY](../commands/listbox-set-property) - [OBJECT Is styled text](../commands/object-is-styled-text)

### Supported tags

You can use the following tags in 4D multi-style text areas.

#### 4D Expression

```html
<span style="-d4-ref:'expression'"> </span>
```

This tag inserts a 4D expression (expression, method, field, variable, command, etc.) in the text. The expression is tokenized and evaluated:

- when the expression is inserted
- when the object is loaded
- when the `computeExpressions` standard action is called from an interface object or by the [`INVOKE ACTION`](../commands/invoke-action) command
- when the [`ST COMPUTE EXPRESSIONS`](../commands/st-compute-expressions) command is executed
- when the [`ST FREEZE EXPRESSIONS`](../commands/st-freeze-expressions) command is executed, if the second `*` parameter is passed.

The evaluated value of the expression is not saved in the `<span>` tag, only its reference is.

Note: To ensure that expressions will be evaluated correctly regardless of the 4D language or version used, we recommend using the token syntax for elements whose name might vary between different versions (commands, tables, fields, constants). For example, to insert the `Current time` command, enter `Current time:C178`. For more information about this, refer to *Using tokens in formulas*.

#### URL

```html
<span><a href="url">Visible label</a></span>
```

This tag inserts a URL in the text. Example:

```html
<span><a href="http://www.4d.com/">4D Web Site</a></span>
```

#### User link

```html
<span style="-d4-ref-user:'myUserLink'">Click here</span>
```

"User links" look the same as URLs, but when you click them, they do not automatically open the source. You can pass any string you want as reference, and it is up to the developer to program any custom actions that occur when it is clicked. This means you can create links which are not URLs but references to files, 4D methods, and so on, that you can open or execute when they are clicked. The [`ST Get content type`](../commands/st-get-content-type) command detects if a user link has been clicked.

User links are defined using the [`ST SET TEXT`](../commands/st-set-text) command. For example:

```4d
ST SET TEXT(txtVar;"This is a user link: <span style=\"-d4-ref-user:'UserLink'\">User Label</span>";$start;$end)
```

#### Custom tags

You can insert any tag in plain text, for example `<img src="http://doc.4d.com/pictures/ja.png">`. It is stored in the code of the plain text without being interpreted or displayed. This is particularly useful in the context of e-mails in HTML format and including pictures for example.

#### Style tags

This paragraph lists the attributes of \<SPAN> tags that are supported by 4D in rich text areas. You can use these tags to implement custom style handling. Only the tags listed below are supported by 4D for style variations.

- Font name: `<SPAN STYLE="font-family: DESDEMONA"> ... </SPAN>`
- Font size: `<SPAN STYLE="font-size: 20pt"> ... </SPAN>`
- Font style:
- Bold `<SPAN STYLE="font-weight: bold"> ... </SPAN>`
- Italic `<SPAN STYLE="font-style: italic"> ... </SPAN>`
- Normal `<SPAN STYLE="font-style: normal"> ... </SPAN>`
- Underline `<SPAN STYLE="text-decoration: underline"> ... </SPAN>`
- Strikethrough `<SPAN STYLE="text-decoration:line-through">...</SPAN>`

*Note: The "strikethrough" style is not supported under macOS, but this tag can still be managed by programming.*

- Font colors: `<SPAN STYLE="color:green"> ... </SPAN>` or `<SPAN STYLE="color:#006CCC">...</SPAN>`
- Background colors: `<SPAN STYLE="background-color:green"> ... </SPAN>` or `<SPAN STYLE="background-color:#006CCC">...</SPAN>`

#### Color values

For font color and background color attributes, the color value can be either the hexadecimal code for an RGB color, or the name of one of the 16 HTML colors defined for standard CSS by the W3C:

![](../assets/en/FormObjects/colors1.png)
![](../assets/en/FormObjects/colors2.png)




---
Expand Down
2 changes: 1 addition & 1 deletion docs/Notes/updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Read [**What’s new in 4D 21 R2**](https://blog.4d.com/whats-new-in-4d-21-r2/),
|libZip|1.11.4|21|Used by zip class, 4D Write Pro, svg and serverNet components|
|LZMA|5.8.1|21||
|ngtcp2|1.22.1|**21 R4**|Used for QUIC|
|OpenSSL|3.5.2|21||
|OpenSSL|4.0|**21 R4**||
|PDFWriter|4.7.0|21|Used for [`WP Export document`](../WritePro/commands/wp-export-document.md) and [`WP Export variable`](../WritePro/commands/wp-export-variable.md) |
|SpreadJS|18.2.0|21 R2|See [this blog post](https://blog.4d.com/4d-view-pro-whats-new-in-4d-21-r2/) for an overview of the new features|
|webKit|WKWebView|19||
Expand Down
11 changes: 8 additions & 3 deletions docs/aikit/Classes/OpenAI.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ The `OpenAI` class provides a client for accessing various OpenAI API resources.

| Property Name | Type | Description | Optional |
|-------------------|-------|-----------------------------------|----------|
| `apiKey` | Text | Your [OpenAI API Key](https://platform.openai.com/api-keys). | Can be required by the provider|
| `baseURL` | Text | Base URL for OpenAI API requests. | Yes (if omitted = use OpenAI Platform)|
| `apiKey` | Text | Your [OpenAI API Key](https://developers.openai.com/api/docs/quickstart#create-and-export-an-api-key). | Can be required by the provider |
| `baseURL` | Text | Base URL for OpenAI API requests. | Yes (if omitted = use OpenAI Platform) |
| `organization` | Text | Your OpenAI Organization ID. | Yes |
| `project` | Text | Your OpenAI Project ID. | Yes |

Expand Down Expand Up @@ -69,7 +69,6 @@ The API provides access to multiple resources that allow seamless interaction wi
| `embeddings` | [OpenAIEmbeddingsAPI](OpenAIEmbeddingsAPI.md) | Access to the Embeddings API. |
| `files` | [OpenAIFilesAPI](OpenAIFilesAPI.md) | Access to the Files API. |


### Example Usage

```4d
Expand All @@ -82,3 +81,9 @@ $client.model.lists(...)
## Provider Model Aliases

The OpenAI client supports provider model aliases for easy multi-provider usage. See [Provider Model Aliases](../provider-model-aliases.md) for complete documentation.

You can construct an OpenAI client using a pre-configured provider name. This allows you to easily switch between different AI providers (OpenAI, Anthropic, etc.) without specifying the full configuration each time.

```4d
var $client:=cs.AIKit.OpenAI.new({provider: "anthropic"})
```
1 change: 1 addition & 0 deletions docs/aikit/Classes/OpenAIAPIResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ The client allow to make HTTP Request.
- [OpenAIChatAPI](OpenAIChatAPI.md)
- [OpenAIImagesAPI](OpenAIImagesAPI.md)
- [OpenAIModerationsAPI](OpenAIModerationsAPI.md)
- [OpenAIFilesAPI](OpenAIFilesAPI.md)
1 change: 0 additions & 1 deletion docs/aikit/Classes/OpenAIChatAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ The `OpenAIChatAPI` class provides an interface to interact with OpenAI's chat b
| *systemPrompt* | Text | The system prompt to initialize the chat. |
| Function result | [OpenAIChatHelper](OpenAIChatHelper.md) | A helper instance for managing chat interactions. |


#### Example Usage

```4D
Expand Down
12 changes: 6 additions & 6 deletions docs/aikit/Classes/OpenAIChatCompletionsAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: OpenAIChatCompletionsAPI

The `OpenAIChatCompletionsAPI` class is designed for managing chat completions with OpenAI's API. It provides methods to create, retrieve, update, delete, and list chat completions.

https://platform.openai.com/docs/api-reference/chat
https://developers.openai.com/api/reference/resources/chat

## Functions

Expand All @@ -23,7 +23,7 @@ https://platform.openai.com/docs/api-reference/chat

Creates a model response for the given chat conversation.

https://platform.openai.com/docs/api-reference/chat/create
https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/create

#### Example Usage

Expand Down Expand Up @@ -59,7 +59,7 @@ $messages.push($result.choice.message) // {"role":"assistant"; "content": "xxx"

Get a stored chat completion.

https://platform.openai.com/docs/api-reference/chat/get
https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/retrieve

### update()

Expand All @@ -74,7 +74,7 @@ https://platform.openai.com/docs/api-reference/chat/get

Modify a stored chat completion.

https://platform.openai.com/docs/api-reference/chat/update
https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/update

### delete()

Expand All @@ -88,7 +88,7 @@ https://platform.openai.com/docs/api-reference/chat/update

Delete a stored chat compltions.

https://platform.openai.com/docs/api-reference/chat/delete
https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/delete

### list()

Expand All @@ -101,4 +101,4 @@ https://platform.openai.com/docs/api-reference/chat/delete

List stored chat completions.

https://platform.openai.com/docs/api-reference/chat/list
https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/list
2 changes: 1 addition & 1 deletion docs/aikit/Classes/OpenAIChatCompletionsMessagesAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ The `OpenAIChatCompletionsMessagesAPI` class is designed to interact with the Op

The `list()` function retrieves messages associated with a specific chat completion ID. It throws an error if the `completionID` is empty. If the *parameters* argument is not an instance of `OpenAIChatCompletionsMessagesParameters`, it will create a new instance using the provided parameters.

https://platform.openai.com/docs/api-reference/chat/getMessages
https://developers.openai.com/api/reference/resources/chat/subresources/completions/subresources/messages/methods/list
45 changes: 23 additions & 22 deletions docs/aikit/Classes/OpenAIChatCompletionsParameters.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,44 @@
---
id: openaichatcompletionsparameters
title: OpenAIChatCompletionParameters
title: OpenAIChatCompletionsParameters
---

# OpenAIChatCompletionParameters
# OpenAIChatCompletionsParameters

The `OpenAIChatCompletionParameters` class is designed to handle the parameters required for chat completions using the OpenAI API.
The `OpenAIChatCompletionsParameters` class is designed to handle the parameters required for chat completions using the OpenAI API.

## Inherits

- [OpenAIParameters](OpenAIParameters.md)

## Properties

| Property | Type | Default Value | Description |
|---------------------------|---------|-------------------------|---------------------------------------------------------------------------------------------------|
| `model` | Text | `"gpt-4o-mini"` | ID of the model to use. Supports [provider:model aliases](../provider-model-aliases.md) for multi-provider usage (e.g., `"openai:gpt-4o"`, `"anthropic:claude-3-opus"`). |
| `stream` | Boolean | `False` | Whether to stream back partial progress. If set, tokens will be sent as data-only. Callback formula required. |
| `stream_options` | Object | `Null` | Property for stream=True. For example: `{include_usage: True}` |
| Property | Type | Default Value | Description |
| ----------------------- | ---------- | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model` | Text | `"gpt-4o-mini"` | ID of the model to use. Supports [provider:model aliases](../provider-model-aliases.md) for multi-provider usage (e.g., `"openai:gpt-4o"`, `"anthropic:claude-3-opus"`). |
| `stream` | Boolean | `False` | Whether to stream back partial progress. If set, tokens will be sent as data-only. Callback formula required. |
| `stream_options` | Object | `Null` | Property for stream=True. For example: `{include_usage: True}` |
| `max_completion_tokens` | Integer | `0` | The maximum number of tokens that can be generated in the completion. |
| `n` | Integer | `1` | How many completions to generate for each prompt. |
| `temperature` | Real | `-1` | What sampling temperature to use, between 0 and 2. Higher values make the output more random, while lower values make it more focused and deterministic. |
| `top_p` | Real | `-1` | An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. Only sent when the value is greater than 0 (omitted when `<= 0`, with default `-1`). |
| `store` | Boolean | `False` | Whether or not to store the output of this chat completion request. |
| `reasoning_effort` | Text | `Null` | Constrains effort on reasoning for reasoning models. Currently supported values are `"low"`, `"medium"`, and `"high"`. |
| `response_format` | Object | `Null` | An object specifying the format that the model must output. Compatible with structured outputs. |
| `tools` | Collection | `Null` | A list of tools ([OpenAITool](OpenAITool.md)) the model may call. Only "function" type is supported. |
| `tool_choice` | Variant | `Null` | Controls which (if any) tool is called by the model. Can be `"none"`, `"auto"`, `"required"`, or specify a particular tool. |
| `reasoning_effort` | Text | `Null` | Constrains effort on reasoning for reasoning models. Currently supported values are `"low"`, `"medium"`, and `"high"`. |
| `response_format` | Object | `Null` | An object specifying the format that the model must output. Compatible with structured outputs. |
| `tools` | Collection | `Null` | A list of tools ([OpenAITool](OpenAITool.md)) the model may call. Only "function" type is supported. |
| `tool_choice` | Variant | `Null` | Controls which (if any) tool is called by the model. Can be `"none"`, `"auto"`, `"required"`, or specify a particular tool. |
| `prediction` | Object | `Null` | Static predicted output content, such as the content of a text file that is being regenerated. |
| `service_tier` | Text | `Null` | Specifies the processing type used for serving the request. `"auto"`, `"auto"`, `"default"`, and `"priority"`. |

### Asynchronous Callback Properties

| Property | Type | Description |
|----------|------|-----------|
| `onData` (or `formula`) | 4D.Function | A function to be called asynchronously when receiving data chunk. Ensure that the current process does not terminate. |

`onData` will receive as argument an [OpenAIChatCompletionsStreamResult](./OpenAIChatCompletionsStreamResult.md).
| Property | Type | Description |
|---------------------------|---------|-------------------------|---------------------------------------------------------------------------------------------------|
| `onData`<br>(or `formula`) | 4D.Function | A function to be called asynchronously when receiving data chunk.<br>*Ensure that the current process does not terminate.* |

See [OpenAIParameters](./OpenAIParameters.md) for other callback properties.
`onData` will receive as argument a [OpenAIChatCompletionsStreamResult](OpenAIChatCompletionsStreamResult.md)

See [OpenAIParameters](OpenAIParameters.md) for other callback properties.

## Response Format

Expand All @@ -50,7 +51,7 @@ The `response_format` parameter allows you to specify the format that the model
The default response format returns plain text:

```4d
var $params := cs.OpenAIChatCompletionsParameters.new({ \
var $params := cs.AIKit.OpenAIChatCompletionsParameters.new({ \
model: "gpt-4o-mini"; \
response_format: {type: "text"} \
})
Expand All @@ -61,13 +62,13 @@ var $params := cs.OpenAIChatCompletionsParameters.new({ \
Forces the model to respond with valid JSON:

```4d
var $params := cs.OpenAIChatCompletionsParameters.new({ \
var $params := cs.AIKit.OpenAIChatCompletionsParameters.new({ \
model: "gpt-4o-mini"; \
response_format: {type: "json_object"} \
})

var $messages := [ \
cs.OpenAIMessage.new({ \
cs.AIKit.OpenAIMessage.new({ \
role: "system"; \
content: "You are a helpful assistant that always responds in JSON format." \
}) \
Expand Down Expand Up @@ -97,7 +98,7 @@ var $jsonSchema := { \
additionalProperties: False \
}

var $params := cs.OpenAIChatCompletionsParameters.new({ \
var $params := cs.AIKit.OpenAIChatCompletionsParameters.new({ \
model: "gpt-4o-mini"; \
response_format: { \
type: "json_schema"; \
Expand Down
Loading
Loading