From b6343263b23b9547da7d482aeaa967e2efc03697 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Thu, 28 Aug 2025 19:49:55 +0200 Subject: [PATCH 1/8] New translations updates.md (French) --- .../docusaurus-plugin-content-docs/version-20/Notes/updates.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/Notes/updates.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/Notes/updates.md index 70998ec13151a9..6ac9772f9bc2a8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/Notes/updates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/Notes/updates.md @@ -23,7 +23,9 @@ Pour des raisons internes, la version des clients distants se connectant à 4D S ::: +#### Changements de comportement +- As of 4D **20.7 HF2**, the [`Time`](https://doc.4d.com/4dv20/help/command/en/page179.html) command returns a negative time expression when the *timeValue* parameter is negative. For instance, `Time("-01:02:03")` will now return -01:02:03. In previous releases, the negative sign was ignored. ## 4D 20.6 LTS From 8d0c3f538aff87936b113040324b19d1d65a99cd Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Thu, 28 Aug 2025 20:15:42 +0200 Subject: [PATCH 2/8] New translations updates.md (French) --- i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md | 1 + 1 file changed, 1 insertion(+) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md index 20921bb9449862..d371a5ba2c2c60 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -48,6 +48,7 @@ Lisez [**Les nouveautés de 4D 20 R10**](https://blog.4d.com/fe-whats-new-in-4d- - Sous Windows, les polices d'imprimante courantes destinées uniquement à l'impression (c'est-à-dire non utilisables à l'écran) ne sont plus chargées par 4D au démarrage. - The *MeCab* library has been removed. This change only affects the processing of Japanese text. - When an object variable or parameter is declared with a ["cs" class](../Concepts/classes.md#cs) type, assigning it with an object instance of a different class now generates a syntax error. +- The [`Time`](../commands/time) command now returns a negative time expression when the *timeValue* parameter is negative. For instance, `Time("-01:02:03")` will return **-01:02:03**. In previous releases, the negative sign was ignored. ## 4D 20 R9 From 6d1f7f77643b41bc4afe64d9e6d82eb112db8f3c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Thu, 28 Aug 2025 20:27:36 +0200 Subject: [PATCH 3/8] New translations updates.md (Spanish) --- .../docusaurus-plugin-content-docs/version-20/Notes/updates.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/Notes/updates.md b/i18n/es/docusaurus-plugin-content-docs/version-20/Notes/updates.md index c235d3d0ab1e4d..2baa81e494ea4c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/Notes/updates.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/Notes/updates.md @@ -23,7 +23,9 @@ Por razones internas, la versión de los clientes remotos que se conectan a 4D S ::: +#### Cambios de comportamiento +- As of 4D **20.7 HF2**, the [`Time`](https://doc.4d.com/4dv20/help/command/en/page179.html) command returns a negative time expression when the *timeValue* parameter is negative. For instance, `Time("-01:02:03")` will now return -01:02:03. In previous releases, the negative sign was ignored. ## 4D 20.6 LTS From ddbcf896cdda950b1c748fb0a04e8c5cf8a2aa12 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Thu, 28 Aug 2025 20:52:19 +0200 Subject: [PATCH 4/8] New translations updates.md (Spanish) --- i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md | 1 + 1 file changed, 1 insertion(+) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md index 57fc817f6e79f7..0be29a7b9a490f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -48,6 +48,7 @@ Lea las [**Novedades en 4D 20 R10**](https://blog.4d.com/en-whats-new-in-4d-20-R - En Windows, las fuentes de impresora actuales destinadas únicamente a la impresión (es decir, no se pueden utilizar en pantalla) ya no son cargadas al inicio por 4D. - Se ha eliminado la biblioteca *MeCab*. Este cambio sólo afecta al tratamiento del texto en japonés. - Cuando una variable o parámetro objeto se declara con un tipo ["cs" class](../Concepts/classes.md#cs), asignarlo con una instancia de objeto de una clase diferente genera ahora un error de sintaxis. +- The [`Time`](../commands/time) command now returns a negative time expression when the *timeValue* parameter is negative. For instance, `Time("-01:02:03")` will return **-01:02:03**. In previous releases, the negative sign was ignored. ## 4D 20 R9 From 34a91c1a9d45225bf2dbc11c93aee95ca48e22bc Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Thu, 28 Aug 2025 21:01:41 +0200 Subject: [PATCH 5/8] New translations managing-formulas.md (Spanish) --- .../current/WritePro/managing-formulas.md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md index 6454cb5cc22c99..c51651ffc87044 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md @@ -90,6 +90,30 @@ Por ejemplo, para insertar el número de página en el pie de página: //no funcionaría correctamente ``` +## Table formula context object + +When used in a formula within the table, the **This** keyword gives access to different data according to the context: + +| **Context** | **Expression** | **Tipo** | **Devuelve** | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Anywhere | [This](../commands/this.md).table | Object | Current table | +| | [This](../commands/this.md).row | Object | Current table row element | +| | [This](../commands/this.md).rowIndex | Number | Index of the current row, starting from 1 | +| When a datasource has been defined for the table | [This](../commands/this.md).table.dataSource | Objet (fórmula) | Datasource as a formula | +| | [This](../commands/this.md).tableData | Collection or Entity selection (usually) | Evaluated table.dataSource | +| In each data row when a table datasource returns a collection or an entity selection | [This](../commands/this.md).item.xxx | Cualquiera | Mapped to each item of the table datasource collection or entity selection, for example **This.item.firstName** if the associated entity has the *firstName* attribute | +| | [This](../commands/this.md).itemIndex | Number | Index of the current item in the collection or entity selection, starting from 0 | +| In any row (except header rows) when a table datasource returns a collection or an entity selection | [This](../commands/this.md).previousItems | Collection or Entity selection | Items displayed on the pages before the bottom carry over row (if any) or before the row of the expression, including the page where is displayed the row containing the expression.
This expression returns the same type of value as the **This.tableData** expression. | +| In a break row | [This](../commands/this.md).breakItems | Collection or Entity selection | Items of the collection or entity selection displayed in the rows between:
  • the current break row and the previous break row of the same level (or the start of the table) if the break row(s) are displayed after the data row.
  • the current break and the next break row of the same level (or the end of the table) if the break row(s) are displayed before the data row.
| + +In any other contexts, these expressions will return *undefined*. + +:::note + +For more information about formula insertion, see [WP INSERT FORMULA](../commands/wp-insert-formula). + +::: + ## Inserción de fórmulas de fecha y hora **Date** From 167cfebcbc055472cc789f0d46c8ecf0e50b6085 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Thu, 28 Aug 2025 21:05:28 +0200 Subject: [PATCH 6/8] New translations updates.md (Japanese) --- .../docusaurus-plugin-content-docs/version-20/Notes/updates.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Notes/updates.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Notes/updates.md index fe75f2f758ad79..713450b0896f5f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Notes/updates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Notes/updates.md @@ -23,7 +23,9 @@ title: リリースノート ::: +#### 動作の変更 +- As of 4D **20.7 HF2**, the [`Time`](https://doc.4d.com/4dv20/help/command/en/page179.html) command returns a negative time expression when the *timeValue* parameter is negative. For instance, `Time("-01:02:03")` will now return -01:02:03. In previous releases, the negative sign was ignored. ## 4D 20.6 LTS From 740f7689fc4e21809d2d2f117649ebf518945822 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Thu, 28 Aug 2025 21:40:26 +0200 Subject: [PATCH 7/8] New translations updates.md (Portuguese, Brazilian) --- .../docusaurus-plugin-content-docs/version-20/Notes/updates.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20/Notes/updates.md b/i18n/pt/docusaurus-plugin-content-docs/version-20/Notes/updates.md index efeb10835f5994..9c041416784e6d 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20/Notes/updates.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20/Notes/updates.md @@ -23,7 +23,9 @@ Por razões internas, a versão de clientes remotos conectando ao 4D Server 20.7 ::: +#### Mudanças de comportamento +- As of 4D **20.7 HF2**, the [`Time`](https://doc.4d.com/4dv20/help/command/en/page179.html) command returns a negative time expression when the *timeValue* parameter is negative. For instance, `Time("-01:02:03")` will now return -01:02:03. In previous releases, the negative sign was ignored. ## 4D 20.6 LTS From 5740e2ec83856f2d537ee75fed0488d164ea0f49 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Thu, 28 Aug 2025 22:04:04 +0200 Subject: [PATCH 8/8] New translations updates.md (Portuguese, Brazilian) --- i18n/pt/docusaurus-plugin-content-docs/current/Notes/updates.md | 1 + 1 file changed, 1 insertion(+) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/pt/docusaurus-plugin-content-docs/current/Notes/updates.md index 4116f9344beb93..01b9c9398dfe04 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -48,6 +48,7 @@ Leia [**O que há de novo no 4D 20 R10**](https://blog.4d.com/en-whats-new-in-4d - On Windows, current printer fonts intended only for printing (i.e. not usable on screen) are no longer loaded by 4D at startup. - The *MeCab* library has been removed. This change only affects the processing of Japanese text. - When an object variable or parameter is declared with a ["cs" class](../Concepts/classes.md#cs) type, assigning it with an object instance of a different class now generates a syntax error. +- The [`Time`](../commands/time) command now returns a negative time expression when the *timeValue* parameter is negative. For instance, `Time("-01:02:03")` will return **-01:02:03**. In previous releases, the negative sign was ignored. ## 4D 20 R9