Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
700e831
New translations wp-export-variable.md (French)
arnaud4d Aug 15, 2025
be9f455
New translations vp-get-default-style.md (French)
arnaud4d Aug 15, 2025
fa49f2b
New translations vp-get-formula.md (French)
arnaud4d Aug 15, 2025
e954953
New translations vp-get-formulas.md (French)
arnaud4d Aug 15, 2025
aa6b3b9
New translations vp-import-from-object.md (French)
arnaud4d Aug 15, 2025
085afbb
New translations vp-print.md (French)
arnaud4d Aug 15, 2025
f7ae4fc
New translations vp-remove-stylesheet.md (French)
arnaud4d Aug 15, 2025
5aaee26
New translations vp-remove-table-columns.md (French)
arnaud4d Aug 15, 2025
980e127
New translations vp-remove-table-rows.md (French)
arnaud4d Aug 15, 2025
ceec96c
New translations vp-resize-table.md (French)
arnaud4d Aug 15, 2025
acadf6e
New translations vp-set-print-info.md (French)
arnaud4d Aug 15, 2025
6be350b
New translations vp-get-default-style.md (French)
arnaud4d Aug 15, 2025
2760d4b
New translations vp-get-formula.md (French)
arnaud4d Aug 15, 2025
e793a26
New translations vp-get-formulas.md (French)
arnaud4d Aug 15, 2025
01df2c5
New translations vp-import-from-object.md (French)
arnaud4d Aug 15, 2025
64a6c78
New translations vp-print.md (French)
arnaud4d Aug 15, 2025
b2252be
New translations vp-remove-stylesheet.md (French)
arnaud4d Aug 15, 2025
bee59c4
New translations vp-remove-table-columns.md (French)
arnaud4d Aug 15, 2025
2264ff8
New translations vp-remove-table-rows.md (French)
arnaud4d Aug 15, 2025
47449f5
New translations vp-resize-table.md (French)
arnaud4d Aug 15, 2025
69906b3
New translations vp-set-print-info.md (French)
arnaud4d Aug 15, 2025
2d6516b
New translations vp-get-default-style.md (French)
arnaud4d Aug 15, 2025
f744a95
New translations vp-get-formula.md (French)
arnaud4d Aug 15, 2025
4b7b123
New translations vp-get-formulas.md (French)
arnaud4d Aug 15, 2025
44aa295
New translations vp-import-from-object.md (French)
arnaud4d Aug 15, 2025
2447f41
New translations vp-print.md (French)
arnaud4d Aug 15, 2025
7ea55a3
New translations vp-remove-stylesheet.md (French)
arnaud4d Aug 15, 2025
614e3ab
New translations vp-remove-table-columns.md (French)
arnaud4d Aug 15, 2025
88ef718
New translations vp-remove-table-rows.md (French)
arnaud4d Aug 15, 2025
8b8f6a6
New translations vp-resize-table.md (French)
arnaud4d Aug 15, 2025
3bb0e22
New translations vp-set-print-info.md (French)
arnaud4d Aug 15, 2025
34ddaaa
New translations wp-export-document.md (French)
arnaud4d Aug 15, 2025
d6d0dba
New translations dialog.md (Spanish)
arnaud4d Aug 15, 2025
3c12e89
New translations openaichathelper.md (Spanish)
arnaud4d Aug 15, 2025
14f1a67
New translations openaichoice.md (Spanish)
arnaud4d Aug 15, 2025
54b9f09
New translations openaichathelper.md (Spanish)
arnaud4d Aug 15, 2025
e47fedb
New translations openaichoice.md (Spanish)
arnaud4d Aug 15, 2025
cefd3df
New translations dialog.md (Spanish)
arnaud4d Aug 15, 2025
a18b365
New translations openaichathelper.md (Spanish)
arnaud4d Aug 15, 2025
44a4314
New translations openaichoice.md (Spanish)
arnaud4d Aug 15, 2025
0aa1a18
New translations dialog.md (Spanish)
arnaud4d Aug 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ title: OpenAIChatHelper

# OpenAIChatHelper

The chat helper allow to keep a list of messages in memory and make consecutive prompt.
El asistente de chat permite conservar una lista de mensajes en memoria y efectuar avisos consecutivos.

## Propiedades

| Nombre de la propiedad | Tipo | Valor por defecto | Descripción |
| ---------------------- | --------------------------------------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| `chat` | [OpenAIChatAPI](OpenAIChatAPI.md) | - | The chat API instance used for communication with OpenAI. |
| `systemPrompt` | [OpenAIMessage](OpenAIMessage.md) | - | The system prompt message that guides the chat assistant's responses. |
| `numberOfMessages` | Integer | 5 | The maximum number of messages to retain in the chat history. |
| `chat` | [OpenAIChatAPI](OpenAIChatAPI.md) | - | La instancia API de chat utilizada para la comunicación con OpenAI. |
| `systemPrompt` | [OpenAIMessage](OpenAIMessage.md) | - | El mensaje del sistema que guía las respuestas del asistente de chat. |
| `numberOfMessages` | Integer | 5 | El número máximo de mensajes a conservar en el historial de chat. |
| `parámetros` | [OpenAIChatCompletionsParameters](OpenAIChatCompletionsParameters.md) | - | Los parámetros para la solicitud de terminación del chat OpenAI. |
| `messages` | Colección de [OpenAIMessage](OpenAIMessage.md) | [] | The collection of messages exchanged in the chat session. |
| `messages` | Colección de [OpenAIMessage](OpenAIMessage.md) | [] | La colección de mensajes intercambiados en la sesión de chat. |

## Funciones

Expand All @@ -28,7 +28,7 @@ The chat helper allow to keep a list of messages in memory and make consecutive
| *prompt* | Text | Texto a enviar al chat de OpenAI. |
| Resultado | [OpenAIChatCompletionsResult](OpenAIChatCompletionsResult.md) | El resultado de finalización devuelto por el chat. |

Sends a user prompt to the chat and returns the corresponding completion result.
Envía una consulta de usuario al chat y devuelve el resultado de finalización correspondiente.

#### Ejemplo de Uso

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: OpenAIChoice

# OpenAIChoice

The `OpenAIChoice` class represents a choice made by the OpenAI API response, containing information about the choice, including its finished reason, index, message, and an optional partial message for streaming responses.
La clase `OpenAIChoice` representa una elección hecha por la respuesta de la API OpenAI, conteniendo información sobre la elección, incluyendo su razón terminada, índice, mensaje, y un mensaje parcial opcional para respuestas en streaming.

## Propiedades

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Si se editan los valores y se presiona el botón OK, se actualiza el campo (desp

## Ejemplo 3

The following example uses the path to a .json form to display the records in an employee list:
El siguiente ejemplo utiliza la ruta a un formulario .json para mostrar los registros de una lista de empleados:

```4d
Open form window("/RESOURCES/OutputPersonnel.json";Plain form window)
Expand All @@ -143,7 +143,7 @@ que muestra:

## Ejemplo 4

The following example uses a .json file as an object and modifies a few properties:
El siguiente ejemplo utiliza un archivo .json como objeto y modifica algunas propiedades:

```4d
var $form : Object
Expand All @@ -155,13 +155,13 @@ The following example uses a .json file as an object and modifies a few properti
DIALOG($form;*)
```

The altered form is displayed with the title, logo and border modified:
El formulario modificado se muestra con el título, el logotipo y el borde modificado:

![](../assets/en/commands/pict3688356.en.png)

## Variables y conjuntos sistema

After a call to **DIALOG**, if the dialog is accepted, OK is set to 1; if it is canceled, OK is set to 0.
Tras una llamada a **DIALOG**, si se acepta el diálogo, OK se pone en 1; si se cancela, OK se pone en 0.

## Ver también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ title: OpenAIChatHelper

# OpenAIChatHelper

The chat helper allow to keep a list of messages in memory and make consecutive prompt.
El asistente de chat permite conservar una lista de mensajes en memoria y efectuar avisos consecutivos.

## Propiedades

| Nombre de la propiedad | Tipo | Valor por defecto | Descripción |
| ---------------------- | --------------------------------------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| `chat` | [OpenAIChatAPI](OpenAIChatAPI.md) | - | The chat API instance used for communication with OpenAI. |
| `systemPrompt` | [OpenAIMessage](OpenAIMessage.md) | - | The system prompt message that guides the chat assistant's responses. |
| `numberOfMessages` | Integer | 5 | The maximum number of messages to retain in the chat history. |
| `chat` | [OpenAIChatAPI](OpenAIChatAPI.md) | - | La instancia API de chat utilizada para la comunicación con OpenAI. |
| `systemPrompt` | [OpenAIMessage](OpenAIMessage.md) | - | El mensaje del sistema que guía las respuestas del asistente de chat. |
| `numberOfMessages` | Integer | 5 | El número máximo de mensajes a conservar en el historial de chat. |
| `parámetros` | [OpenAIChatCompletionsParameters](OpenAIChatCompletionsParameters.md) | - | Los parámetros para la solicitud de terminación del chat OpenAI. |
| `messages` | Colección de [OpenAIMessage](OpenAIMessage.md) | [] | The collection of messages exchanged in the chat session. |
| `messages` | Colección de [OpenAIMessage](OpenAIMessage.md) | [] | La colección de mensajes intercambiados en la sesión de chat. |

## Funciones

Expand All @@ -28,7 +28,7 @@ The chat helper allow to keep a list of messages in memory and make consecutive
| *prompt* | Text | Texto a enviar al chat de OpenAI. |
| Resultado | [OpenAIChatCompletionsResult](OpenAIChatCompletionsResult.md) | El resultado de finalización devuelto por el chat. |

Sends a user prompt to the chat and returns the corresponding completion result.
Envía una consulta de usuario al chat y devuelve el resultado de finalización correspondiente.

#### Ejemplo de Uso

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: OpenAIChoice

# OpenAIChoice

The `OpenAIChoice` class represents a choice made by the OpenAI API response, containing information about the choice, including its finished reason, index, message, and an optional partial message for streaming responses.
La clase `OpenAIChoice` representa una elección hecha por la respuesta de la API OpenAI, conteniendo información sobre la elección, incluyendo su razón terminada, índice, mensaje, y un mensaje parcial opcional para respuestas en streaming.

## Propiedades

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Si se editan los valores y se presiona el botón OK, se actualiza el campo (desp

## Ejemplo 3

The following example uses the path to a .json form to display the records in an employee list:
El siguiente ejemplo utiliza la ruta a un formulario .json para mostrar los registros de una lista de empleados:

```4d
Open form window("/RESOURCES/OutputPersonnel.json";Plain form window)
Expand All @@ -143,7 +143,7 @@ que muestra:

## Ejemplo 4

The following example uses a .json file as an object and modifies a few properties:
El siguiente ejemplo utiliza un archivo .json como objeto y modifica algunas propiedades:

```4d
var $form : Object
Expand All @@ -155,13 +155,13 @@ The following example uses a .json file as an object and modifies a few properti
DIALOG($form;*)
```

The altered form is displayed with the title, logo and border modified:
El formulario modificado se muestra con el título, el logotipo y el borde modificado:

![](../assets/en/commands/pict3688356.en.png)

## Variables y conjuntos sistema

After a call to **DIALOG**, if the dialog is accepted, OK is set to 1; if it is canceled, OK is set to 0.
Tras una llamada a **DIALOG**, si se acepta el diálogo, OK se pone en 1; si se cancela, OK se pone en 0.

## Ver también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ title: OpenAIChatHelper

# OpenAIChatHelper

The chat helper allow to keep a list of messages in memory and make consecutive prompt.
El asistente de chat permite conservar una lista de mensajes en memoria y efectuar avisos consecutivos.

## Propiedades

| Nombre de la propiedad | Tipo | Valor por defecto | Descripción |
| ---------------------- | --------------------------------------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| `chat` | [OpenAIChatAPI](OpenAIChatAPI.md) | - | The chat API instance used for communication with OpenAI. |
| `systemPrompt` | [OpenAIMessage](OpenAIMessage.md) | - | The system prompt message that guides the chat assistant's responses. |
| `numberOfMessages` | Integer | 5 | The maximum number of messages to retain in the chat history. |
| `chat` | [OpenAIChatAPI](OpenAIChatAPI.md) | - | La instancia API de chat utilizada para la comunicación con OpenAI. |
| `systemPrompt` | [OpenAIMessage](OpenAIMessage.md) | - | El mensaje del sistema que guía las respuestas del asistente de chat. |
| `numberOfMessages` | Integer | 5 | El número máximo de mensajes a conservar en el historial de chat. |
| `parámetros` | [OpenAIChatCompletionsParameters](OpenAIChatCompletionsParameters.md) | - | Los parámetros para la solicitud de terminación del chat OpenAI. |
| `messages` | Colección de [OpenAIMessage](OpenAIMessage.md) | [] | The collection of messages exchanged in the chat session. |
| `messages` | Colección de [OpenAIMessage](OpenAIMessage.md) | [] | La colección de mensajes intercambiados en la sesión de chat. |

## Funciones

Expand All @@ -28,7 +28,7 @@ The chat helper allow to keep a list of messages in memory and make consecutive
| *prompt* | Text | Texto a enviar al chat de OpenAI. |
| Resultado | [OpenAIChatCompletionsResult](OpenAIChatCompletionsResult.md) | El resultado de finalización devuelto por el chat. |

Sends a user prompt to the chat and returns the corresponding completion result.
Envía una consulta de usuario al chat y devuelve el resultado de finalización correspondiente.

#### Ejemplo de Uso

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: OpenAIChoice

# OpenAIChoice

The `OpenAIChoice` class represents a choice made by the OpenAI API response, containing information about the choice, including its finished reason, index, message, and an optional partial message for streaming responses.
La clase `OpenAIChoice` representa una elección hecha por la respuesta de la API OpenAI, conteniendo información sobre la elección, incluyendo su razón terminada, índice, mensaje, y un mensaje parcial opcional para respuestas en streaming.

## Propiedades

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Si se editan los valores y se presiona el botón OK, se actualiza el campo (desp

## Ejemplo 3

The following example uses the path to a .json form to display the records in an employee list:
El siguiente ejemplo utiliza la ruta a un formulario .json para mostrar los registros de una lista de empleados:

```4d
Open form window("/RESOURCES/OutputPersonnel.json";Plain form window)
Expand All @@ -143,7 +143,7 @@ que muestra:

## Ejemplo 4

The following example uses a .json file as an object and modifies a few properties:
El siguiente ejemplo utiliza un archivo .json como objeto y modifica algunas propiedades:

```4d
var $form : Object
Expand All @@ -155,13 +155,13 @@ The following example uses a .json file as an object and modifies a few properti
DIALOG($form;*)
```

The altered form is displayed with the title, logo and border modified:
El formulario modificado se muestra con el título, el logotipo y el borde modificado:

![](../assets/en/commands/pict3688356.en.png)

## Variables y conjuntos sistema

After a call to **DIALOG**, if the dialog is accepted, OK is set to 1; if it is canceled, OK is set to 0.
Tras una llamada a **DIALOG**, si se acepta el diálogo, OK se pone en 1; si se cancela, OK se pone en 0.

## Ver también

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ title: VP Get default style
| ---------- | ------- | --------------------------- | --------------------------------------------------------------------------- | ---------------- |
| vpAreaName | Text | -> | Nom d'objet formulaire zone 4D View Pro | |
| sheet | Integer | -> | Numéro d'indice de la feuille (feuille courante si omis) | |
| Résultat | Object | <- | Default style settings | <!-- END REF --> |
| Résultat | Object | <- | Paramètres de style par défaut | <!-- END REF --> |

## Description

The `VP Get default style` command <!-- REF #_method_.VP Get default style.Summary -->returns a default style object for a sheet<!-- END REF -->. The returned object contains basic document rendering properties as well as the default style settings (if any) previously set by the [VP SET DEFAULT STYLE](vp-set-default-style.md) method. For more information about style properties, see [Style Objects & Style Sheets](../configuring.md#style-objects--style-sheets).
La commande `VP Get default style` <!-- REF #_method_.VP Get default style.Summary -->retourne un objet de style par défaut pour une feuille<!-- END REF -->. L'objet retourné contient les propriétés de rendu de document de base, ainsi que les paramètres de style par défaut (le cas échéant) précédemment définis par la méthode [VP SET DEFAULT STYLE](vp-set-default-style.md). Pour plus d'informations sur les propriétés de style, voir [Objets de style et feuilles de style] (../configuring.md#style-objects--style-sheets).

Dans *vpAreaName*, passez le nom de la zone 4D View Pro. Si vous passez un nom inexistant, une erreur est retournée.

Expand All @@ -35,7 +35,7 @@ Le code suivant :
$defaultStyle:=VP Get default style("myDoc")
```

will return this information in the *$defaultStyle* object:
retournera ces informations dans l'objet *$defaultStyle* :

```4d
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ title: VP Get formula

## Description

The `VP Get formula` command <!-- REF #_method_.VP Get formula.Summary -->retrieves the formula from a designated cell range<!-- END REF -->.
La commande `VP Get formula` <!-- REF #_method_.VP Get formula.Summary -->récupère la formule à partir d'une plage de cellules désignées<!-- END REF -->.

In *rangeObj*, pass a range whose formula you want to retrieve. If *rangeObj* designates multiple cells or multiple ranges, the formula of the first cell is returned. If *rangeObj* is a cell that does not contain a formula, the method returns an empty string.
Dans *rangeObj*, passez une plage dont vous voulez récupérer la formule. Si *rangeObj* désigne plusieurs cellules ou plusieurs plages, la formule de la première cellule est retournée. Si *rangeObj* est une cellule qui ne contient pas de formule, la méthode retourne une chaîne vide.

## Exemple

```4d
//set a formula
//définir une formule
VP SET FORMULA(VP Cell("ViewProArea";5;2);"SUM($A$1:$C$10)")

$result:=VP Get formula(VP Cell("ViewProArea";5;2)) // $result="SUM($A$1:$C$10)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ title: VP Get formulas

## Description

The `VP Get formulas` command <!-- REF #_method_.VP Get formulas.Summary -->retrieves the formulas from a designated *rangeObj*<!-- END REF -->.
La commande `VP Get formulas` <!-- REF #_method_.VP Get formulas.Summary -->récupère les formules d'une *rangeObj* désignée<!-- END REF -->.

In *rangeObj*, pass a range whose formulas you want to retrieve. If *rangeObj* designates multiple ranges, the formula of the first range is returned. If *rangeObj* does not contain any formulas, the command returns an empty string.
Dans *rangeObj*, passez une plage dont vous voulez récupérer les formules. Si *rangeObj* désigne plusieurs plages, la formule de la première plage est retournée. Si *rangeObj* ne contient aucune formule, la commande retourne une chaîne vide.

La collection retournée est bidemensionnelle :

Expand Down
Loading
Loading