From fd4a697a03bfba0e9f87d3b380875efed1c5b58f Mon Sep 17 00:00:00 2001 From: "ALI Mohammadiyeh (Max Base)" Date: Wed, 8 Jan 2025 09:25:52 +0100 Subject: [PATCH] Add html-entry --- config/docs.md | 149 +- config/json/block.json | 2 +- .../layout/attribute/style/global_value.json | 2 +- config/json/layout/attribute/style/state.json | 2 +- config/json/layout/attribute/style/type.json | 2 +- config/json/layout/attribute/style/value.json | 2 +- config/json/layout/attribute/type.json | 2 +- config/json/layout/type.json | 2 +- config/json/type.json | 2 +- example/custom-font.salam | 8 + html-entry.py | 32 + .../ast_layout_attribute_style_global.h | 2 +- .../ast_layout_attribute_style_state_type.h | 138 +- .../ast_layout_attribute_style_type.h | 2575 +++++++++++++---- .../ast_layout_attribute_style_value.h | 2195 +++++++------- .../ast_layout_attribute_style_value_extern.h | 471 ++- .../ast_layout_attribute_type.h | 243 +- .../ast_layout_attribute_value.h | 35 +- .../ast_layout_attribute_value_extern.h | 1 - src/generated-config/ast_layout_type.h | 132 +- .../ast_layout_type_attributes.h | 44 +- .../ast_layout_type_attributes_all.h | 154 +- .../ast_layout_type_attributes_values.h | 187 +- ...ast_layout_type_attributes_values_extern.h | 1 - src/generator_layout.c | 20 +- 25 files changed, 4154 insertions(+), 2249 deletions(-) create mode 100644 html-entry.py diff --git a/config/docs.md b/config/docs.md index 7179f6a3..f4a31625 100644 --- a/config/docs.md +++ b/config/docs.md @@ -8,10 +8,10 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `منبع` | | `src` | -| `تکرار` | | `repeat` | +| نام ویژگی | توضیح | تولید | +| --------- | ----- | -------- | +| `منبع` | | `src` | +| `تکرار` | | `repeat` |

دستور خطا

@@ -23,19 +23,19 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | -| `عنوان` | | `title` | -| `زبان` | | `lang` | -| `جهت` | | `dir` | -| `نویسنده` | | `author` | -| `توضیح` | | `description` | -| `کلمات` | | `keywords` | -| `نمایه` | | `icon` | -| `فرمت متنی` | | `charset` | -| `بروزرسانی` | | `refresh` | -| `محدوده نمایش` | | `viewport` | +| نام ویژگی | توضیح | تولید | +| -------------- | --------------------------------------- | ------------- | +| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | +| `عنوان` | | `title` | +| `زبان` | | `lang` | +| `جهت` | | `dir` | +| `نویسنده` | | `author` | +| `توضیح` | | `description` | +| `کلمات` | | `keywords` | +| `نمایه` | | `icon` | +| `فرمت متنی` | | `charset` | +| `بروزرسانی` | | `refresh` | +| `محدوده نمایش` | | `viewport` |

دستور جعبه

@@ -45,10 +45,10 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `تکرار` | | `repeat` | -| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | +| نام ویژگی | توضیح | تولید | +| --------- | --------------------------------------- | --------- | +| `تکرار` | | `repeat` | +| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` |

دستور پاراگراف

@@ -58,10 +58,10 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `تکرار` | | `repeat` | -| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | +| نام ویژگی | توضیح | تولید | +| --------- | --------------------------------------- | --------- | +| `تکرار` | | `repeat` | +| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` |

دستور دکمه

@@ -71,11 +71,11 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `تکرار` | | `repeat` | -| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | -| `نام` | | `name` | +| نام ویژگی | توضیح | تولید | +| --------- | --------------------------------------- | --------- | +| `تکرار` | | `repeat` | +| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | +| `نام` | | `name` |

دستور ویرایشگرمتن

@@ -85,12 +85,12 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `نام` | | `name` | -| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | -| `تکرار` | | `repeat` | -| `راهنما` | | `placeholder` | +| نام ویژگی | توضیح | تولید | +| --------- | --------------------------------------- | ------------- | +| `نام` | | `name` | +| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | +| `تکرار` | | `repeat` | +| `راهنما` | | `placeholder` |

دستور برچسب

@@ -106,10 +106,10 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `نام` | | `name` | -| `تکرار` | | `repeat` | +| نام ویژگی | توضیح | تولید | +| --------- | ----- | -------- | +| `نام` | | `name` | +| `تکرار` | | `repeat` |

دستور گروه‌بندی

@@ -131,13 +131,13 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `منبع` | | `src` | -| `نوع` | | `type` | -| `روش` | | `target` | -| `تکرار` | | `repeat` | -| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | +| نام ویژگی | توضیح | تولید | +| --------- | --------------------------------------- | --------- | +| `منبع` | | `src` | +| `نوع` | | `type` | +| `روش` | | `target` | +| `تکرار` | | `repeat` | +| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` |

دستور گروه انتخاب

@@ -159,10 +159,10 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `تکرار` | | `repeat` | -| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | +| نام ویژگی | توضیح | تولید | +| --------- | --------------------------------------- | --------- | +| `تکرار` | | `repeat` | +| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` |

دستور ضخیم مهم

@@ -304,9 +304,9 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `منبع` | | `href` | +| نام ویژگی | توضیح | تولید | +| --------- | ----- | ------ | +| `منبع` | | `href` |

دستور فهرست مرتب

@@ -322,10 +322,10 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | -| `تکرار` | | `repeat` | +| نام ویژگی | توضیح | تولید | +| --------- | --------------------------------------- | --------- | +| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | +| `تکرار` | | `repeat` |

دستور مورد

@@ -335,10 +335,10 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | -| `تکرار` | | `repeat` | +| نام ویژگی | توضیح | تولید | +| --------- | --------------------------------------- | --------- | +| `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | +| `تکرار` | | `repeat` |

دستور جدول

@@ -408,11 +408,11 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `مقدار` | | `value` | -| `نام` | | `name` | -| `راهنما` | | `placeholder` | +| نام ویژگی | توضیح | تولید | +| --------- | ----- | ------------- | +| `مقدار` | | `value` | +| `نام` | | `name` | +| `راهنما` | | `placeholder` |

دستور تصویر

@@ -428,13 +428,13 @@ این دستور دارای ویژگی‌های زیر می‌باشد: -| نام ویژگی | توضیح | تولید | -|-----------|------------|-------| -| `نام` | | `font-family` | -| `منبع` | | `src` | -| `محدود یونیکد` | | `unicode-range` | -| `سبک` | | `font-style` | -| `وزن` | | `font-weight` | +| نام ویژگی | توضیح | تولید | +| -------------- | ----- | --------------- | +| `نام` | | `font-family` | +| `منبع` | | `src` | +| `محدود یونیکد` | | `unicode-range` | +| `سبک` | | `font-style` | +| `وزن` | | `font-weight` |

دستور واکنش گرا

@@ -442,5 +442,4 @@ نام این دستور معادل دستور `@media` می‌باشد. - diff --git a/config/json/block.json b/config/json/block.json index f090a111..bae639ca 100644 --- a/config/json/block.json +++ b/config/json/block.json @@ -16,4 +16,4 @@ "id": "AST_BLOCK_TYPE_ERROR" } ] -} \ No newline at end of file +} diff --git a/config/json/layout/attribute/style/global_value.json b/config/json/layout/attribute/style/global_value.json index 27b31007..0fd0bbbc 100644 --- a/config/json/layout/attribute/style/global_value.json +++ b/config/json/layout/attribute/style/global_value.json @@ -56,4 +56,4 @@ } } ] -} \ No newline at end of file +} diff --git a/config/json/layout/attribute/style/state.json b/config/json/layout/attribute/style/state.json index 11f618b8..18a73594 100644 --- a/config/json/layout/attribute/style/state.json +++ b/config/json/layout/attribute/style/state.json @@ -413,4 +413,4 @@ } } ] -} \ No newline at end of file +} diff --git a/config/json/layout/attribute/style/type.json b/config/json/layout/attribute/style/type.json index 92f800d8..72567820 100644 --- a/config/json/layout/attribute/style/type.json +++ b/config/json/layout/attribute/style/type.json @@ -3669,4 +3669,4 @@ "type": "AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY" } ] -} \ No newline at end of file +} diff --git a/config/json/layout/attribute/style/value.json b/config/json/layout/attribute/style/value.json index 597ce586..ffbab856 100644 --- a/config/json/layout/attribute/style/value.json +++ b/config/json/layout/attribute/style/value.json @@ -8115,4 +8115,4 @@ "id": "ast_layout_allowed_style_list_zoom" } ] -} \ No newline at end of file +} diff --git a/config/json/layout/attribute/type.json b/config/json/layout/attribute/type.json index fdb38d5f..71a344d9 100644 --- a/config/json/layout/attribute/type.json +++ b/config/json/layout/attribute/type.json @@ -487,4 +487,4 @@ } } ] -} \ No newline at end of file +} diff --git a/config/json/layout/type.json b/config/json/layout/type.json index f44dbde1..6f938eb9 100644 --- a/config/json/layout/type.json +++ b/config/json/layout/type.json @@ -923,4 +923,4 @@ } } ] -} \ No newline at end of file +} diff --git a/config/json/type.json b/config/json/type.json index 505d26ee..c1466c7e 100644 --- a/config/json/type.json +++ b/config/json/type.json @@ -84,4 +84,4 @@ "id": "AST_TYPE_ERROR" } ] -} \ No newline at end of file +} diff --git a/example/custom-font.salam b/example/custom-font.salam index 97dd5251..9a9df351 100644 --- a/example/custom-font.salam +++ b/example/custom-font.salam @@ -15,7 +15,15 @@ محتوا = "Hi there, it's a custom font???" درشت: + رنگ = «قرمز» + رنگ پس زمینه = «زرد» محتوا = "Hi there, it's a custom font???" + + هاور: + رنگ پس زمینه = «سیاه» + رنگ = «سفید» + اندازه قلم = ۲۰ + تمام تمام هاور: diff --git a/html-entry.py b/html-entry.py new file mode 100644 index 00000000..4026c64b --- /dev/null +++ b/html-entry.py @@ -0,0 +1,32 @@ +import requests +from bs4 import BeautifulSoup + +url = "https://www.w3schools.com/tags/default.asp" +response = requests.get(url) + +if response.status_code == 200: + soup = BeautifulSoup(response.content, 'html.parser') + + table = soup.find('table', {'class': 'ws-table-all notranslate'}) + + result = [] + + rows = table.find_all('tr')[1:] + for row in rows: + cols = row.find_all('td') + if len(cols) == 2: + tag_element = cols[0].find('a') + name = tag_element.text if tag_element else cols[0].text.strip() + link = ("https://www.w3schools.com/tags/" + tag_element['href']) if tag_element else "" + + brief = cols[1].text.strip() + + result.append({ + "name": name, + "link": link, + "brief": brief + }) + + print(result) +else: + print(f"Failed to fetch the page. Status code: {response.status_code}") diff --git a/src/generated-config/ast_layout_attribute_style_global.h b/src/generated-config/ast_layout_attribute_style_global.h index 3137e343..e76800fd 100644 --- a/src/generated-config/ast_layout_attribute_style_global.h +++ b/src/generated-config/ast_layout_attribute_style_global.h @@ -5,7 +5,7 @@ ADD_LAYOUT_ATTRIBUTE_STYLE_GLOBAL_VALUE(initial, "ابتدایی") ADD_LAYOUT_ATTRIBUTE_STYLE_GLOBAL_VALUE(revert, "بازگردانی") -ADD_LAYOUT_ATTRIBUTE_STYLE_GLOBAL_VALUE(revert-layer, "بازگردانی لایه") +ADD_LAYOUT_ATTRIBUTE_STYLE_GLOBAL_VALUE(revert - layer, "بازگردانی لایه") ADD_LAYOUT_ATTRIBUTE_STYLE_GLOBAL_VALUE(unset, "حذف شده") diff --git a/src/generated-config/ast_layout_attribute_style_state_type.h b/src/generated-config/ast_layout_attribute_style_state_type.h index 8ad1f305..14df7537 100644 --- a/src/generated-config/ast_layout_attribute_style_state_type.h +++ b/src/generated-config/ast_layout_attribute_style_state_type.h @@ -1,72 +1,140 @@ // ----------- BEGIN AUTO GENERATED ----------- // -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ERROR, "ERROR", "error", "", "") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ERROR, "ERROR", "error", "", "") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_GLOBAL, "GLOBAL", "global", "سراسری", "*") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_GLOBAL, "GLOBAL", "global", "سراسری", + "*") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_HOVER, "HOVER", "hover", "هاور", "hover") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_HOVER, "HOVER", "hover", "هاور", + "hover") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ACTIVE, "ACTIVE", "active", "فعال", "active") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ACTIVE, "ACTIVE", "active", "فعال", + "active") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FOCUS, "FOCUS", "focus", "فوكوس", "focus") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FOCUS, "FOCUS", "focus", "فوكوس", + "focus") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_VISITED, "VISITED", "visited", "بازديد", "visited") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_VISITED, "VISITED", "visited", + "بازديد", "visited") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_LINK, "LINK", "link", "لينك", "link") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_LINK, "LINK", "link", "لينك", "link") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FOCUS_VISIBLE, "FOCUS_VISIBLE", "focus_visible", "فوكوس قابل مشاهده", "focus-visible") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FOCUS_VISIBLE, "FOCUS_VISIBLE", + "focus_visible", "فوكوس قابل مشاهده", "focus-visible") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FOCUS_WITHIN, "FOCUS_WITHIN", "focus_within", "فوكوس داخلي", "focus-within") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FOCUS_WITHIN, "FOCUS_WITHIN", + "focus_within", "فوكوس داخلي", "focus-within") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_CHECKED, "CHECKED", "checked", "انتخاب", "checked") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_CHECKED, "CHECKED", "checked", + "انتخاب", "checked") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_DISABLED, "DISABLED", "disabled", "غيرفعال", "disabled") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_DISABLED, "DISABLED", "disabled", + "غيرفعال", "disabled") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ENABLED, "ENABLED", "enabled", "فعال", "enabled") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ENABLED, "ENABLED", "enabled", "فعال", + "enabled") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_REQUIRED, "REQUIRED", "required", "ضروري", "required") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_REQUIRED, "REQUIRED", "required", + "ضروري", "required") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_OPTIONAL, "OPTIONAL", "optional", "اختياري", "optional") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_OPTIONAL, "OPTIONAL", "optional", + "اختياري", "optional") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_READ_ONLY, "READ_ONLY", "read_only", "فقط خواندني", "read-only") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_READ_ONLY, "READ_ONLY", "read_only", + "فقط خواندني", "read-only") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_READ_WRITE, "READ_WRITE", "read_write", "قابل نوشتن", "read-write") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_READ_WRITE, "READ_WRITE", + "read_write", "قابل نوشتن", "read-write") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_VALID, "VALID", "valid", "معتبر", "valid") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_VALID, "VALID", "valid", "معتبر", + "valid") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_INVALID, "INVALID", "invalid", "نامعتبر", "invalid") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_INVALID, "INVALID", "invalid", + "نامعتبر", "invalid") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_IN_RANGE, "IN_RANGE", "in_range", "در محدوده", "in-range") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_IN_RANGE, "IN_RANGE", "in_range", + "در محدوده", "in-range") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_OUT_OF_RANGE, "OUT_OF_RANGE", "out_of_range", "خارج از محدوده", "out-of-range") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_OUT_OF_RANGE, "OUT_OF_RANGE", + "out_of_range", "خارج از محدوده", "out-of-range") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_PLACEHOLDER_SHOWN, "PLACEHOLDER_SHOWN", "placeholder_shown", "نمايش جايگير", "placeholder-shown") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_PLACEHOLDER_SHOWN, + "PLACEHOLDER_SHOWN", "placeholder_shown", "نمايش جايگير", + "placeholder-shown") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_BLANK, "BLANK", "blank", "خالي", "blank") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_BLANK, "BLANK", "blank", "خالي", + "blank") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_TARGET, "TARGET", "target", "هدف", "target") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_TARGET, "TARGET", "target", "هدف", + "target") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ROOT, "ROOT", "root", "ريشه", "root") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ROOT, "ROOT", "root", "ريشه", "root") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_NTH_CHILD, "NTH_CHILD", "nth_child", "فرزند nام", "nth-child") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_NTH_CHILD, "NTH_CHILD", "nth_child", + "فرزند nام", "nth-child") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_NTH_LAST_CHILD, "NTH_LAST_CHILD", "nth_last_child", "آخرين فرزند nام", "nth-last-child") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_NTH_LAST_CHILD, "NTH_LAST_CHILD", + "nth_last_child", "آخرين فرزند nام", "nth-last-child") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_NTH_OF_TYPE, "NTH_OF_TYPE", "nth_of_type", "نوع nام", "nth-of-type") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_NTH_OF_TYPE, "NTH_OF_TYPE", + "nth_of_type", "نوع nام", "nth-of-type") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_NTH_LAST_OF_TYPE, "NTH_LAST_OF_TYPE", "nth_last_of_type", "آخرين نوع nام", "nth-last-of-type") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_NTH_LAST_OF_TYPE, "NTH_LAST_OF_TYPE", + "nth_last_of_type", "آخرين نوع nام", "nth-last-of-type") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FIRST_CHILD, "FIRST_CHILD", "first_child", "اولين فرزند", "first-child") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FIRST_CHILD, "FIRST_CHILD", + "first_child", "اولين فرزند", "first-child") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_LAST_CHILD, "LAST_CHILD", "last_child", "آخرين فرزند", "last-child") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_LAST_CHILD, "LAST_CHILD", + "last_child", "آخرين فرزند", "last-child") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FIRST_OF_TYPE, "FIRST_OF_TYPE", "first_of_type", "اولين نوع", "first-of-type") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_FIRST_OF_TYPE, "FIRST_OF_TYPE", + "first_of_type", "اولين نوع", "first-of-type") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_LAST_OF_TYPE, "LAST_OF_TYPE", "last_of_type", "آخرين نوع", "last-of-type") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_LAST_OF_TYPE, "LAST_OF_TYPE", + "last_of_type", "آخرين نوع", "last-of-type") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ONLY_CHILD, "ONLY_CHILD", "only_child", "تنها فرزند", "only-child") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ONLY_CHILD, "ONLY_CHILD", + "only_child", "تنها فرزند", "only-child") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ONLY_OF_TYPE, "ONLY_OF_TYPE", "only_of_type", "تنها نوع", "only-of-type") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ONLY_OF_TYPE, "ONLY_OF_TYPE", + "only_of_type", "تنها نوع", "only-of-type") -ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_EMPTY, "EMPTY", "empty", "خالي", "empty") +ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_EMPTY, "EMPTY", "empty", "خالي", + "empty") // ----------- END AUTO GENERATED ----------- // diff --git a/src/generated-config/ast_layout_attribute_style_type.h b/src/generated-config/ast_layout_attribute_style_type.h index 1ddbfe34..997e570a 100644 --- a/src/generated-config/ast_layout_attribute_style_type.h +++ b/src/generated-config/ast_layout_attribute_style_type.h @@ -1,571 +1,2010 @@ // ----------- BEGIN AUTO GENERATED ----------- // -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WIDTH, "WIDTH", "width", "عرض", "width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_HEIGHT, "HEIGHT", "height", "ارتفاع", "height", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ACCENT_COLOR, "ACCENT_COLOR", "accent_color", "رنگ برجسته", "accent-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_APPEARANCE, "APPEARANCE", "appearance", "ظاهر", "appearance", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_appearance, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ASPECT_RATIO, "ASPECT_RATIO", "aspect_ratio", "نسبت ابعاد", "aspect-ratio", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_aspect_ratio, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKDROP_FILTER, "BACKDROP_FILTER", "backdrop_filter", "فیلتر پس‌زمینه", "backdrop-filter", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKDROP_FILTER, "BACKDROP_FILTER", "backdrop_filter", "فیلتر پس زمینه", "backdrop-filter", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKFACE_VISIBILITY, "BACKFACE_VISIBILITY", "backface_visibility", "مشاهده‌پذیری پشت‌نما", "backface-visibility", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_backface_visibility, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKFACE_VISIBILITY, "BACKFACE_VISIBILITY", "backface_visibility", "مشاهده پذیری پشت‌نما", "backface-visibility", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_backface_visibility, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKFACE_VISIBILITY, "BACKFACE_VISIBILITY", "backface_visibility", "مشاهده پذیری پشت نما", "backface-visibility", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_backface_visibility, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BLOCK_SIZE, "BLOCK_SIZE", "block_size", "اندازه بلوک", "block-size", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_block_size, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_IMAGE, "BACKGROUND_IMAGE", "background_image", "تصویر پس‌زمینه", "background-image", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_image, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_IMAGE, "BACKGROUND_IMAGE", "background_image", "تصویر پس‌ زمینه", "background-image", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_image, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_ATTACHMENT, "BACKGROUND_ATTACHMENT", "background_attachment", "پیوست تصویر پس‌زمینه", "background-attachment", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_background_attachment, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_ATTACHMENT, "BACKGROUND_ATTACHMENT", "background_attachment", "پیوست تصویر پس‌ زمینه", "background-attachment", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_background_attachment, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_BLEND_MODE, "BACKGROUND_BLEND_MODE", "background_blend_mode", "حالت ترکیب پس‌زمینه", "background-blend-mode", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_background_blend_mode, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_BLEND_MODE, "BACKGROUND_BLEND_MODE", "background_blend_mode", "حالت ترکیب پس زمینه", "background-blend-mode", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_background_blend_mode, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_CLIP, "BACKGROUND_CLIP", "background_clip", "برش پس‌زمینه", "background-clip", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_background_clip, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_CLIP, "BACKGROUND_CLIP", "background_clip", "برش پس زمینه", "background-clip", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_background_clip, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_COLOR, "BACKGROUND_COLOR", "background_color", "رنگ پس‌زمینه", "background-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, ast_layout_allowed_style_list_background_clip, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_COLOR, "BACKGROUND_COLOR", "background_color", "رنگ پس زمینه", "background-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, ast_layout_allowed_style_list_background_clip, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_ORIGIN, "BACKGROUND_ORIGIN", "background_origin", "مبدا پس‌زمینه", "background-origin", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_background_origin, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_ORIGIN, "BACKGROUND_ORIGIN", "background_origin", "مبدا پس زمینه", "background-origin", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_background_origin, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_BASIS, "FLEX_BASIS", "flex_basis", "مبنای انعطاف", "flex-basis", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_flex_basis, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION, "BACKGROUND_POSITION", "background_position", "موقعیت پس‌زمینه", "background-position", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_position_x, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION, "BACKGROUND_POSITION", "background_position", "موقعیت پس‌ زمینه", "background-position", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_position_x, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION_X, "BACKGROUND_POSITION_X", "background_position_x", "موقعیت افقی پس‌زمینه", "background-position-x", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_position_x, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION_X, "BACKGROUND_POSITION_X", "background_position_x", "موقعیت افقی پس‌ زمینه", "background-position-x", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_position_x, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION_Y, "BACKGROUND_POSITION_Y", "background_position_y", "موقعیت عمودی پس‌زمینه", "background-position-y", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_position_x, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION_Y, "BACKGROUND_POSITION_Y", "background_position_y", "موقعیت عمودی پس‌ زمینه", "background-position-y", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_position_x, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_REPEAT, "BACKGROUND_REPEAT", "background_repeat", "تکرار پس‌زمینه", "background-repeat", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_repeat, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_REPEAT, "BACKGROUND_REPEAT", "background_repeat", "تکرار پس‌ زمینه", "background-repeat", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_repeat, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_SIZE, "BACKGROUND_SIZE", "background_size", "اندازه پس‌زمینه", "background-size", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_size, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_SIZE, "BACKGROUND_SIZE", "background_size", "اندازه پس‌ زمینه", "background-size", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_background_size, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_RADIUS, "BORDER_RADIUS", "border_radius", "گردی", "border-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER, "BORDER", "border", "مرز", "border", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_END_COLOR, "BORDER_BLOCK_END_COLOR", "border_block_end_color", "رنگ مرز انتهایی بلوک", "border-block-end-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_END_STYLE, "BORDER_BLOCK_END_STYLE", "border_block_end_style", "سبک مرز انتهایی بلوک", "border-block-end-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_block_end_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_END_WIDTH, "BORDER_BLOCK_END_WIDTH", "border_block_end_width", "عرض مرز انتهایی بلوک", "border-block-end-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_border_block_end_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_START_COLOR, "BORDER_BLOCK_START_COLOR", "border_block_start_color", "رنگ مرز ابتدایی بلوک", "border-block-start-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_START_STYLE, "BORDER_BLOCK_START_STYLE", "border_block_start_style", "رنگ مرز ابتدایی بلوک", "border-block-start-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_block_start_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_START_WIDTH, "BORDER_BLOCK_START_WIDTH", "border_block_start_width", "عرض مرز ابتدایی بلوک", "border-block-start-width", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_block_start_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_COLOR, "BORDER_BOTTOM_COLOR", "border_bottom_color", "رنگ مرز پایین", "border-bottom-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, ast_layout_allowed_style_list_border_block_start_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_LEFT_RADIUS, "BORDER_BOTTOM_LEFT_RADIUS", "border_bottom_left_radius", "گردی پایین چپ", "border-bottom-left-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_RIGHT_RADIUS, "BORDER_BOTTOM_RIGHT_RADIUS", "border_bottom_right_radius", "گردی پایین راست", "border-bottom-right-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_STYLE, "BORDER_BOTTOM_STYLE", "border_bottom_style", "سبک مرز پایین", "border-bottom-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_bottom_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_WIDTH, "BORDER_BOTTOM_WIDTH", "border_bottom_width", "عرض مرز پایین", "border-bottom-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_border_bottom_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_COLLAPSE, "BORDER_COLLAPSE", "border_collapse", "ادغام مرز", "border-collapse", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_collapse, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_COLLAPSE, "BORDER_COLLAPSE", "border_collapse", "ادغام مرز ها", "border-collapse", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_collapse, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_COLLAPSE, "BORDER_COLLAPSE", "border_collapse", "ادغام مرزها", "border-collapse", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_collapse, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_END_END_RADIUS, "BORDER_END_END_RADIUS", "border_end_end_radius", "گردی انتها", "border-end-end-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_END_START_RADIUS, "BORDER_END_START_RADIUS", "border_end_start_radius", "گردی شروع", "border-end-start-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_OUTSET, "BORDER_IMAGE_OUTSET", "border_image_outset", "برآمدگی تصویر مرز", "border-image-outset", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_REPEAT, "BORDER_IMAGE_REPEAT", "border_image_repeat", "تکرار تصویر مرز", "border-image-repeat", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_image_repeat, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_SLICE, "BORDER_IMAGE_SLICE", "border_image_slice", "برش تصویر مرز", "border-image-slice", AST_LAYOUT_ATTRIBUTE_FILTER_NUMBER, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_SOURCE, "BORDER_IMAGE_SOURCE", "border_image_source", "منبع تصویر مرز", "border-image-source", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_image_source, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_WIDTH, "BORDER_IMAGE_WIDTH", "border_image_width", "عرض تصویر مرز", "border-image-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_border_image_width, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_END_COLOR, "BORDER_INLINE_END_COLOR", "border_inline_end_color", "رنگ مرز انتهایی خطی", "border-inline-end-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_END_STYLE, "BORDER_INLINE_END_STYLE", "border_inline_end_style", "سبک مرز انتهایی خطی", "border-inline-end-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_inline_end_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_END_WIDTH, "BORDER_INLINE_END_WIDTH", "border_inline_end_width", "عرض مرز انتهایی خطی", "border-inline-end-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_START_COLOR, "BORDER_INLINE_START_COLOR", "border_inline_start_color", "رنگ مرز ابتدایی خطی", "border-inline-start-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_START_STYLE, "BORDER_INLINE_START_STYLE", "border_inline_start_style", "سبک مرز ابتدایی خطی", "border-inline-start-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_inline_start_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_START_WIDTH, "BORDER_INLINE_START_WIDTH", "border_inline_start_width", "عرض مرز ابتدایی خطی", "border-inline-start-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_LEFT_COLOR, "BORDER_LEFT_COLOR", "border_left_color", "رنگ مرز چپ", "border-left-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_LEFT_STYLE, "BORDER_LEFT_STYLE", "border_left_style", "سبک مرز چپ", "border-left-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_left_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_LEFT_WIDTH, "BORDER_LEFT_WIDTH", "border_left_width", "عرض مرز چپ", "border-left-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_RIGHT_COLOR, "BORDER_RIGHT_COLOR", "border_right_color", "رنگ مرز راست", "border-right-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_RIGHT_STYLE, "BORDER_RIGHT_STYLE", "border_right_style", "سبک مرز راست", "border-right-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_right_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_RIGHT_WIDTH, "BORDER_RIGHT_WIDTH", "border_right_width", "عرض مرز راست", "border-right-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_SPACING, "BORDER_SPACING", "border_spacing", "فاصله مرز", "border-spacing", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_START_END_RADIUS, "BORDER_START_END_RADIUS", "border_start_end_radius", "گردی ابتدا و انتها", "border-start-end-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_START_START_RADIUS, "BORDER_START_START_RADIUS", "border_start_start_radius", "شعاع ابتدایی شروع مرز", "border-start-start-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_COLOR, "BORDER_TOP_COLOR", "border_top_color", "رنگ مرز بالا", "border-top-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_LEFT_RADIUS, "BORDER_TOP_LEFT_RADIUS", "border_top_left_radius", "گردی بالا چپ", "border-top-left-radius", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_RIGHT_RADIUS, "BORDER_TOP_RIGHT_RADIUS", "border_top_right_radius", "گردی بالا راست", "border-top-right-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_STYLE, "BORDER_TOP_STYLE", "border_top_style", "سبک مرز بالا", "border-top-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_border_top_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_WIDTH, "BORDER_TOP_WIDTH", "border_top_width", "عرض مرز بالا", "border-top-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_border_top_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BOTTOM, "BOTTOM", "bottom", "پایین", "bottom", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_bottom, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BOX_SIZING, "BOX_SIZING", "box_sizing", "نوع اندازه‌گیری جعبه", "box-sizing", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_box_sizing, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BOX_SIZING, "BOX_SIZING", "box_sizing", "نوع اندازه گیری جعبه", "box-sizing", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_box_sizing, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BOX_SHADOW, "BOX_SHADOW", "box_shadow", "سایه جعبه", "box-shadow", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BREAK_INSIDE, "BREAK_INSIDE", "break_inside", "شکست درون", "break-inside", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_break_inside, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BREAK_BEFORE, "BREAK_BEFORE", "break_before", "شکست قبل", "break-before", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_break_before, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BREAK_AFTER, "BREAK_AFTER", "break_after", "شکست بعد", "break-after", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_break_after, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CAPTION_SIDE, "CAPTION_SIDE", "caption_side", "موقعیت عنوان", "caption-side", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_caption_side, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CARET_COLOR, "CARET_COLOR", "caret_color", "رنگ نشانگر متنی", "caret-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CLEAR, "CLEAR", "clear", "پاک‌سازی", "caret-color", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_clear, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CLEAR, "CLEAR", "clear", "پاک سازی", "caret-color", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_clear, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CLIP_PATH, "CLIP_PATH", "clip_path", "مسیر برش", "clip-path", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_clip_path, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CLIP_RULE, "CLIP_RULE", "clip_rule", "قاعده برش", "clip-rule", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_clip_rule, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR, "COLOR", "color", "رنگ", "color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_INTERPOLATION, "COLOR_INTERPOLATION", "color_interpolation", "درهم‌آمیزی رنگ", "color-interpolation", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_color_interpolation, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_INTERPOLATION, "COLOR_INTERPOLATION", "color_interpolation", "درهم آمیزی رنگ", "color-interpolation", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_color_interpolation, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_INTERPOLATION_FILTERS, "COLOR_INTERPOLATION_FILTERS", "color_interpolation_filters", "درهم‌آمیزی رنگ فیلترها", "color-interpolation-filters", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_color_interpolation_filters, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_INTERPOLATION_FILTERS, "COLOR_INTERPOLATION_FILTERS", "color_interpolation_filters", "درهم آمیزی رنگ فیلترها", "color-interpolation-filters", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_color_interpolation_filters, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_SCHEME, "COLOR_SCHEME", "color_scheme", "طرح رنگ", "color-scheme", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_color_scheme, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_COUNT, "COLUMN_COUNT", "column_count", "تعداد ستون‌ها", "column-count", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, ast_layout_allowed_style_list_column_count, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_COUNT, "COLUMN_COUNT", "column_count", "تعداد ستون‌ ها", "column-count", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, ast_layout_allowed_style_list_column_count, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_FILL, "COLUMN_FILL", "column_fill", "پر کردن ستون‌ها", "column-fill", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_column_fill, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_FILL, "COLUMN_FILL", "column_fill", "پر کردن ستون ها", "column-fill", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_column_fill, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_GAP, "COLUMN_GAP", "column_gap", "فاصله بین ستون‌ها", "column-gap", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_GAP, "COLUMN_GAP", "column_gap", "فاصله بین ستون‌ ها", "column-gap", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_RULE_COLOR, "COLUMN_RULE_COLOR", "column_rule_color", "رنگ خط افقی ستون", "column-rule-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_RULE_STYLE, "COLUMN_RULE_STYLE", "column_rule_style", "سبک خط افقی ستون", "column-rule-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_column_rule_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_RULE_WIDTH, "COLUMN_RULE_WIDTH", "column_rule_width", "عرض خط افقی ستون", "column-rule-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_SPAN, "COLUMN_SPAN", "column_span", "گستردگی ستون‌ها", "column-span", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_column_span, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_SPAN, "COLUMN_SPAN", "column_span", "گستردگی ستون ها", "column-span", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_column_span, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMNS, "COLUMNS", "columns", "ستون‌ها", "columns", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMNS, "COLUMNS", "columns", "ستون‌ ها", "columns", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN, "CONTAIN", "contain", "حاوی بودن", "contain", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_contain, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_BLOCK_SIZE, "CONTAIN_INTRINSIC_BLOCK_SIZE", "contain_intrinsic_block_size", "اندازه بلوک ذاتی", "contain-intrinsic-block-size", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_contain_intrinsic_block_size, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_HEIGHT, "CONTAIN_INTRINSIC_HEIGHT", "contain_intrinsic_height", "ارتفاع ذاتی", "contain-intrinsic-height", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_contain_intrinsic_height, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_INLINE_SIZE, "CONTAIN_INTRINSIC_INLINE_SIZE", "contain_intrinsic_inline_size", "اندازه درون‌خطی ذاتی", "contain-intrinsic-inline-size", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_contain_intrinsic_inline_size, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_INLINE_SIZE, "CONTAIN_INTRINSIC_INLINE_SIZE", "contain_intrinsic_inline_size", "اندازه درون خطی ذاتی", "contain-intrinsic-inline-size", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_contain_intrinsic_inline_size, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_SIZE, "CONTAIN_INTRINSIC_SIZE", "contain_intrinsic_size", "اندازه ذاتی", "contain-intrinsic-size", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_contain_intrinsic_size, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_WIDTH, "CONTAIN_INTRINSIC_WIDTH", "contain_intrinsic_width", "عرض ذاتی", "contain-intrinsic-width", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_contain_intrinsic_width, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAINER, "CONTAINER", "container", "ظرف", "container", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_container, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAINER_NAME, "CONTAINER_NAME", "container_name", "نام ظرف", "container-name", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_container_name, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAINER_TYPE, "CONTAINER_TYPE", "container_type", "نوع ظرف", "container-type", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_container_type, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTENT, "CONTENT", "content", "محتوا", "content", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_content, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTENT_VISIBILITY, "CONTENT_VISIBILITY", "content_visibility", "مشاهده محتوا", "content-visibility", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_content_visibility, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COUNTER_INCREMENT, "COUNTER_INCREMENT", "counter_increment", "افزایش شمارنده", "counter-increment", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, ast_layout_allowed_style_list_counter_increment, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COUNTER_RESET, "COUNTER_RESET", "counter_reset", "بازنشانی شمارنده", "counter-reset", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COUNTER_SET, "COUNTER_SET", "counter_set", "تنظیم شمارنده", "counter-set", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, ast_layout_allowed_style_list_counter_set, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CURSOR, "CURSOR", "cursor", "نشانگر", "cursor", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_cursor, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_DIRECTION, "DIRECTION", "direction", "جهت", "direction", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_direction, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_DISPLAY, "DISPLAY", "display", "قرارگیری", "display", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_display, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_DISPLAY, "DISPLAY", "display", "قرار گیری", "display", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_display, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_EMPTY_CELLS, "EMPTY_CELLS", "empty_cells", "سلول‌های خالی", "empty-cells", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_empty_cells, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_EMPTY_CELLS, "EMPTY_CELLS", "empty_cells", "سلول های خالی", "empty-cells", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_empty_cells, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FILL, "FILL", "fill", "پر کردن", "fill", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_fill, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FILL_OPACITY, "FILL_OPACITY", "fill_opacity", "شفافیت پر کردن", "fill-opacity", AST_LAYOUT_ATTRIBUTE_FILTER_PERCENTAGE, ast_layout_allowed_style_list_fill, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FILL_RULE, "FILL_RULE", "fill_rule", "قاعده پر کردن", "fill-rule", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_fill_rule, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FILTER, "FILTER", "filter", "فیلتر", "filter", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_filter, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX, "FLEX", "flex", "انعطاف", "flex", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_flex, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_DIRECTION, "FLEX_DIRECTION", "flex_direction", "جهت انعطاف", "flex-direction", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_flex_direction, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_FLOW, "FLEX_FLOW", "flex_flow", "جریان انعطاف", "flex-flow", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_flex_flow, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_GROW, "FLEX_GROW", "flex_grow", "رشد انعطاف", "flex-grow", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_SHRINK, "FLEX_SHRINK", "flex_shrink", "کوچک‌شدن انعطاف", "flex-shrink", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_SHRINK, "FLEX_SHRINK", "flex_shrink", "کوچک‌ شدن انعطاف", "flex-shrink", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_WRAP, "FLEX_WRAP", "flex_wrap", "چینش انعطاف", "flex-wrap", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_flex_wrap, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLOAT, "FLOAT", "float", "شناور", "float", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_float, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_FAMILY, "FONT_FAMILY", "font_family", "نام قلم", "font-family", AST_LAYOUT_ATTRIBUTE_FILTER_STRINGS_ANY, ast_layout_allowed_style_list_font_family, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_FEATURE_SETTINGS, "FONT_FEATURE_SETTINGS", "font_feature_settings", "تنظیمات ویژگی قلم", "font-feature-settings", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_font_feature_settings, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_KERNING, "FONT_KERNING", "font_kerning", "کرنینگ قلم", "font-kerning", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_font_kerning, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_LANGUAGE_OVERRIDE, "FONT_LANGUAGE_OVERRIDE", "font_language_override", "بازنویسی زبان قلم", "font-language-override", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_font_language_override, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_OPTICAL_SIZING, "FONT_OPTICAL_SIZING", "font_optical_sizing", "اندازه‌گیری اپتیکال قلم", "font-optical-sizing", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_font_optical_sizing, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_OPTICAL_SIZING, "FONT_OPTICAL_SIZING", "font_optical_sizing", "اندازه گیری اپتیکال قلم", "font-optical-sizing", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_font_optical_sizing, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_SIZE, "FONT_SIZE", "font_size", "اندازه قلم", "font-size", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_STRETCH, "FONT_STRETCH", "font_stretch", "کشیدگی قلم", "font-stretch", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_font_stretch, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_STYLE, "FONT_STYLE", "font_style", "سبک قلم", "font-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_font_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_VARIANT, "FONT_VARIANT", "font_variant", "نوع قلم", "font-variant", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_font_variant, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_DISPLAY, "FONT_DISPLAY", "font_display", "نمایش قلم", "font-display", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_font_display, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_WEIGHT, "FONT_WEIGHT", "font_weight", "وزن قلم", "font-weight", AST_LAYOUT_ATTRIBUTE_FILTER_POSITIVE_INTEGER, ast_layout_allowed_style_list_font_weight, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID, "GRID", "grid", "شبکه", "grid", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AREA, "GRID_AREA", "grid_area", "منطقه شبکه", "grid-area", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_area, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_COLUMNS, "GRID_AUTO_COLUMNS", "grid_auto_columns", "ستون‌های خودکار شبکه", "grid-auto-columns", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_auto_columns, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_COLUMNS, "GRID_AUTO_COLUMNS", "grid_auto_columns", "ستون های خودکار شبکه", "grid-auto-columns", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_auto_columns, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_FLOW, "GRID_AUTO_FLOW", "grid_auto_flow", "جریان خودکار شبکه", "grid-auto-flow", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_auto_flow, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_ROWS, "GRID_AUTO_ROWS", "grid_auto_rows", "ردیف‌های خودکار شبکه", "grid-auto-rows", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_auto_rows, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_ROWS, "GRID_AUTO_ROWS", "grid_auto_rows", "ردیف های خودکار شبکه", "grid-auto-rows", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_auto_rows, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_COLUMN, "GRID_COLUMN", "grid_column", "ستون‌های شبکه", "grid-column", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_column, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_COLUMN, "GRID_COLUMN", "grid_column", "ستون های شبکه", "grid-column", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_column, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_COLUMN_END, "GRID_COLUMN_END", "grid_column_end", "پایان ستون شبکه", "grid-column-end", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_column_end, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_COLUMN_START, "GRID_COLUMN_START", "grid_column_start", "شروع ستون شبکه", "grid-column-start", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_column_start, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_ROW, "GRID_ROW", "grid_row", "ردیف‌های شبکه", "grid-row", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_row, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_ROW, "GRID_ROW", "grid_row", "ردیف های شبکه", "grid-row", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_row, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_ROW, "GRID_ROW", "grid_row", "پایان ردیف شبکه", "grid-row", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_row, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_ROW_START, "GRID_ROW_START", "grid_row_start", "شروع ردیف شبکه", "grid-row-start", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_row_start, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE, "GRID_TEMPLATE", "grid_template", "الگوی شبکه", "grid-template", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_template, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_AREAS, "GRID_TEMPLATE_AREAS", "grid_template_areas", "مناطق الگوی شبکه", "grid-template-areas", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_template_areas, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_COLUMNS, "GRID_TEMPLATE_COLUMNS", "grid_template_columns", "ستون‌های الگوی شبکه", "grid-template-columns", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_template_columns, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_COLUMNS, "GRID_TEMPLATE_COLUMNS", "grid_template_columns", "ستون های الگوی شبکه", "grid-template-columns", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_template_columns, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS, "GRID_TEMPLATE_ROWS", "grid_template_rows", "ردیف‌های الگوی شبکه", "grid-template-rows", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_template_rows, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS, "GRID_TEMPLATE_ROWS", "grid_template_rows", "ردیف های الگوی شبکه", "grid-template-rows", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_grid_template_rows, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_JUSTIFY_CONTENT, "JUSTIFY_CONTENT", "justify_content", "توجیه محتوا", "justify-content", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_justify_content, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_LEFT, "LEFT", "left", "چپ", "left", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_left, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_LETTER_SPACING, "LETTER_SPACING", "letter_spacing", "فاصله بین حروف", "letter-spacing", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_LINE_HEIGHT, "LINE_HEIGHT", "line_height", "ارتفاع خط", "line-height", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_LIST_STYLE, "LIST_STYLE", "list_style", "سبک فهرست", "list-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_list_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN, "MARGIN", "margin", "فضا", "margin", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_margin, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_BOTTOM, "MARGIN_BOTTOM", "margin_bottom", "فضا پایین", "margin-bottom", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_margin_bottom, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_BOTTOM, "MARGIN_BOTTOM", "margin_bottom", "فضای پایین", "margin-bottom", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_margin_bottom, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_LEFT, "MARGIN_LEFT", "margin_left", "فضا چپ", "margin-left", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_margin_left, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_LEFT, "MARGIN_LEFT", "margin_left", "فضای چپ", "margin-left", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_margin_left, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_RIGHT, "MARGIN_RIGHT", "margin_right", "فضا راست", "margin-right", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_margin_right, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_RIGHT, "MARGIN_RIGHT", "margin_right", "فضای راست", "margin-right", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_margin_right, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_TOP, "MARGIN_TOP", "margin_top", "فضا بالا", "margin-top", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_margin_top, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_TOP, "MARGIN_TOP", "margin_top", "فضای بالا", "margin-top", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_margin_top, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MAX_HEIGHT, "MAX_HEIGHT", "max_height", "حداکثر ارتفاع", "max-height", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MAX_WIDTH, "MAX_WIDTH", "max_width", "حداکثر عرض", "max-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MIN_HEIGHT, "MIN_HEIGHT", "min_height", "حداقل ارتفاع", "min-height", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MIN_WIDTH, "MIN_WIDTH", "min_width", "حداقل عرض", "min-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OBJECT_FIT, "OBJECT_FIT", "object_fit", "تناسب شیء", "object-fit", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_object_fit, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OPACITY, "OPACITY", "opacity", "شفافیت", "opacity", AST_LAYOUT_ATTRIBUTE_FILTER_PERCENTAGE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW, "OVERFLOW", "overflow", "بیش از حد", "overflow", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_overflow, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_X, "OVERFLOW_X", "overflow_x", "بیش از حد (X)", "overflow-x", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_overflow_x, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_Y, "OVERFLOW_Y", "overflow_y", "بیش از حد (Y)", "overflow-y", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_overflow_y, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING, "PADDING", "padding", "فاصله", "padding", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_padding, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_RIGHT, "PADDING_RIGHT", "padding_right", "فاصله راست", "padding-right", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_padding, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_LEFT, "PADDING_LEFT", "padding_left", "فاصله چپ", "padding-left", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_padding, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_TOP, "PADDING_TOP", "padding_top", "فاصله بالا", "padding-top", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_padding, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_BOTTOM, "PADDING_BOTTOM", "padding_bottom", "فاصله پایین", "padding-bottom", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, ast_layout_allowed_style_list_padding, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_DECORATION, "TEXT_DECORATION", "text_decoration", "زینت متن", "text-decoration", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_text_decoration, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_TRANSFORM, "TEXT_TRANSFORM", "text_transform", "تبدیل متن", "text-transform", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_text_transform, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_VISIBILITY, "VISIBILITY", "visibility", "قابلیت مشاهده", "visibility", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_visibility, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_Z_INDEX, "Z_INDEX", "z_index", "الویت موقعیت", "z-index", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, ast_layout_allowed_style_list_z_index, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_Z_INDEX, "Z_INDEX", "z_index", "ترتیب اولویت", "z-index", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, ast_layout_allowed_style_list_z_index, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OUTLINE_COLOR, "OUTLINE_COLOR", "outline_color", "رنگ مرز", "outline-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, ast_layout_allowed_style_list_outline_color, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OUTLINE_OFFSET, "OUTLINE_OFFSET", "outline_offset", "فاصله حاشیه", "outline-offset", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OUTLINE_STYLE, "OUTLINE_STYLE", "outline_style", "سبک حاشیه", "outline-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_outline_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OUTLINE_WIDTH, "OUTLINE_WIDTH", "outline_width", "عرض حاشیه", "outline-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_outline_width, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_ANCHOR, "OVERFLOW_ANCHOR", "overflow_anchor", "لنگر بیش از حد", "overflow-anchor", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_overflow_anchor, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_BLOCK, "OVERFLOW_BLOCK", "overflow_block", "بیش از حد بلوک", "overflow-block", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_overflow_block, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_CLIP_MARGIN, "OVERFLOW_CLIP_MARGIN", "overflow_clip_margin", "فاصله برش بیش از حد", "overflow-clip-margin", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_INLINE, "OVERFLOW_INLINE", "overflow_inline", "بیش از حد درون خطی", "overflow-inline", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_overflow_inline, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_WRAP, "OVERFLOW_WRAP", "overflow_wrap", "پیچش بیش از حد", "overflow-wrap", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_overflow_wrap, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_BLOCK, "PADDING_BLOCK", "padding_block", "فاصله بلوک", "padding-block", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_BLOCK_END, "PADDING_BLOCK_END", "padding_block_end", "فاصله انتهای بلوک", "padding-block-end", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_padding_block_end, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_BLOCK_START, "PADDING_BLOCK_START", "padding_block_start", "فاصله شروع بلوک", "padding-block-start", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_padding_block_start, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_INLINE, "PADDING_INLINE", "padding_inline", "فاصله درون خطی", "padding-inline", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_padding_inline, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_INLINE_END, "PADDING_INLINE_END", "padding_inline_end", "فاصله انتهای درون خطی", "padding-inline-end", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_padding_inline_end, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_INLINE_START, "PADDING_INLINE_START", "padding_inline_start", "فاصله شروع درون خطی", "padding-inline-start", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_padding_inline_start, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAGE, "PAGE", "page", "صفحه", "page", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_page, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAGE_BREAK_AFTER, "PAGE_BREAK_AFTER", "page_break_after", "شکست صفحه بعد از", "page-break-after", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_page_break_after, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAGE_BREAK_BEFORE, "PAGE_BREAK_BEFORE", "page_break_before", "شکست صفحه قبل از", "page-break-before", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_page_break_before, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAGE_BREAK_INSIDE, "PAGE_BREAK_INSIDE", "page_break_inside", "شکست صفحه درون", "page-break-inside", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_page_break_inside, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAINT_ORDER, "PAINT_ORDER", "paint_order", "ترتیب نقاشی", "paint-order", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_paint_order, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PERSPECTIVE, "PERSPECTIVE", "perspective", "پرسپکتیو", "perspective", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_perspective, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PERSPECTIVE_ORIGIN, "PERSPECTIVE_ORIGIN", "perspective_origin", "مبدأ پرسپکتیو", "perspective-origin", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_perspective, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PLACE_CONTENT, "PLACE_CONTENT", "place_content", "محتوای مکان", "place-content", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_place_content, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PLACE_ITEMS, "PLACE_ITEMS", "place_items", "موارد مکان", "place-items", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_place_items, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PLACE_SELF, "PLACE_SELF", "place_self", "خود مکان", "place-self", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_place_self, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_POINTER_EVENTS, "POINTER_EVENTS", "pointer_events", "رویدادهای اشاره‌گر", "pointer-events", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_pointer_events, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_POINTER_EVENTS, "POINTER_EVENTS", "pointer_events", "رویدادهای اشاره گر", "pointer-events", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_pointer_events, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_POSITION, "POSITION", "position", "موقعیت", "position", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_position, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PRINT_COLOR_ADJUST, "PRINT_COLOR_ADJUST", "print_color_adjust", "تنظیم رنگ چاپ", "print-color-adjust", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_print_color_adjust, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_QUOTES, "QUOTES", "quotes", "نقل‌قول", "quotes", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_quotes, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_QUOTES, "QUOTES", "quotes", "نقل قول", "quotes", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_quotes, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_R, "R", "r", "شعاع", "r", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RESIZE, "RESIZE", "resize", "تغییر اندازه", "resize", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_resize, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RIGHT, "RIGHT", "right", "راست", "right", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_right, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ROTATE, "ROTATE", "rotate", "چرخش", "rotate", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_rotate, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ROW_GAP, "ROW_GAP", "row_gap", "فاصله ردیف", "row-gap", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_rotate, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RUBY_ALIGN, "RUBY_ALIGN", "ruby_align", "هم‌راستایی روبی", "ruby-align", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_ruby_align, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RUBY_ALIGN, "RUBY_ALIGN", "ruby_align", "هم راستایی روبی", "ruby-align", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_ruby_align, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RUBY_POSITION, "RUBY_POSITION", "ruby_position", "موقعیت روبی", "ruby-position", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_ruby_position, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RX, "RX", "rx", "شعاع X", "rx", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RY, "RY", "ry", "شعاع Y", "ry", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCALE, "SCALE", "scale", "مقیاس", "scale", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_BEHAVIOR, "SCROLL_BEHAVIOR", "scroll_behavior", "رفتار پیمایش", "scroll-behavior", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_scroll_behavior, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN, "SCROLL_MARGIN", "scroll_margin", "فاصله پیمایش", "scroll-margin", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_BLOCK, "SCROLL_MARGIN_BLOCK", "scroll_margin_block", "فاصله بلوک پیمایش", "scroll-margin-block", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_BLOCK_END, "SCROLL_MARGIN_BLOCK_END", "scroll_margin_block_end", "فاصله انتهای بلوک پیمایش", "scroll-margin-block-end", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_BLOCK_START, "SCROLL_MARGIN_BLOCK_START", "scroll_margin_block_start", "فاصله شروع بلوک پیمایش", "scroll-margin-block-start", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_BOTTOM, "SCROLL_MARGIN_BOTTOM", "scroll_margin_bottom", "فاصله پایین پیمایش", "scroll-margin-bottom", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_INLINE, "SCROLL_MARGIN_INLINE", "scroll_margin_inline", "فاصله درون خطی پیمایش", "scroll-margin-inline", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_INLINE_END, "SCROLL_MARGIN_INLINE_END", "scroll_margin_inline_end", "فاصله انتهای درون خطی پیمایش", "scroll-margin-inline-end", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_INLINE_START, "SCROLL_MARGIN_INLINE_START", "scroll_margin_inline_start", "فاصله شروع درون خطی پیمایش", "scroll-margin-inline-start", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_LEFT, "SCROLL_MARGIN_LEFT", "scroll_margin_left", "فاصله چپ پیمایش", "scroll-margin-left", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_RIGHT, "SCROLL_MARGIN_RIGHT", "scroll_margin_right", "فاصله راست پیمایش", "scroll-margin-right", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_TOP, "SCROLL_MARGIN_TOP", "scroll_margin_top", "فاصله بالا پیمایش", "scroll-margin-top", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING, "SCROLL_PADDING", "scroll_padding", "فاصله پیمایش", "scroll-padding", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_BLOCK, "SCROLL_PADDING_BLOCK", "scroll_padding_block", "فاصله بلوک پیمایش", "scroll-padding-block", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_BLOCK_END, "SCROLL_PADDING_BLOCK_END", "scroll_padding_block_end", "فاصله انتهای بلوک پیمایش", "scroll-padding-block-end", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_BLOCK_START, "SCROLL_PADDING_BLOCK_START", "scroll_padding_block_start", "فاصله شروع بلوک پیمایش", "scroll-padding-block-start", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_BOTTOM, "SCROLL_PADDING_BOTTOM", "scroll_padding_bottom", "فاصله پایین پیمایش", "scroll-padding-bottom", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_INLINE, "SCROLL_PADDING_INLINE", "scroll_padding_inline", "فاصله درون خطی پیمایش", "scroll-padding-inline", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_INLINE_END, "SCROLL_PADDING_INLINE_END", "scroll_padding_inline_end", "فاصله انتهای درون خطی پیمایش", "scroll-padding-inline-end", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_INLINE_START, "SCROLL_PADDING_INLINE_START", "scroll_padding_inline_start", "فاصله شروع درون خطی پیمایش", "scroll-padding-inline-start", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_LEFT, "SCROLL_PADDING_LEFT", "scroll_padding_left", "فاصله چپ پیمایش", "scroll-padding-left", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_RIGHT, "SCROLL_PADDING_RIGHT", "scroll_padding_right", "فاصله راست پیمایش", "scroll-padding-right", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_TOP, "SCROLL_PADDING_TOP", "scroll_padding_top", "فاصله بالا پیمایش", "scroll-padding-top", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_SNAP_ALIGN, "SCROLL_SNAP_ALIGN", "scroll_snap_align", "تراز پیمایش", "scroll-snap-align", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_scroll_snap_align, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_SNAP_TYPE, "SCROLL_SNAP_TYPE", "scroll_snap_type", "نوع پیمایش", "scroll-snap-type", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_scroll_snap_type, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SHAPE_OUTSIDE, "SHAPE_OUTSIDE", "shape_outside", "شکل خارج", "shape-outside", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_shape_outside, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_ALIGN, "TEXT_ALIGN", "text_align", "تراز متن", "text-align", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_text_align, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_ALIGN_LAST, "TEXT_ALIGN_LAST", "text_align_last", "تراز آخرین متن", "text-align-last", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_text_align_last, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ALIGN_ITEMS, "ALIGN_ITEMS", "align_items", "تراز‌کردن‌ اقلام", "align-items", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_align_items, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ALIGN_ITEMS, "ALIGN_ITEMS", "align_items", "تراز‌ کردن‌ اقلام", "align-items", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_align_items, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ALIGN_ITEMS, "ALIGN_ITEMS", "align_items", "تراز‌کردن‌ محتوا", "align-items", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_align_items, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ALIGN_ITEMS, "ALIGN_ITEMS", "align_items", "تراز محتوا", "align-items", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_align_items, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_INDENT, "TEXT_INDENT", "text_indent", "تورفتگی متن", "text-indent", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_text_indent, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_INDENT, "TEXT_INDENT", "text_indent", "تو رفتگی متن", "text-indent", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_text_indent, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TOP, "TOP", "top", "بالا", "top", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, ast_layout_allowed_style_list_top, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSFORM, "TRANSFORM", "transform", "تبدیل", "transform", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_transform, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSFORM_ORIGIN, "TRANSFORM_ORIGIN", "transform_origin", "مرکز تبدیل", "transform-origin", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_transform_origin, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSLATE, "TRANSLATE", "translate", "ترجمه", "translate", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_UNICODE_BIDI, "UNICODE_BIDI", "unicode_bidi", "معکوس یونیکد", "unicode-bidi", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_unicode_bidi, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_USER_SELECT, "USER_SELECT", "user_select", "انتخاب کاربر", "user-select", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_user_select, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WILL_CHANGE, "WILL_CHANGE", "will_change", "تغییر خواهد کرد", "will-change", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_will_change, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSFORM_BOX, "TRANSFORM_BOX", "transform_box", "باکس تبدیل", "transform-box", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_transform_box, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSFORM_STYLE, "TRANSFORM_STYLE", "transform_style", "سبک تبدیل", "transform-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_transform_style, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION, "TRANSITION", "transition", "انتقال", "transition", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, ast_layout_allowed_style_list_transition, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_BEHAVIOR, "TRANSITION_BEHAVIOR", "transition_behavior", "رفتار انتقال", "transition-behavior", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_transition_behavior, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_DELAY, "TRANSITION_DELAY", "transition_delay", "تاخیر انتقال", "transition-behavior", AST_LAYOUT_ATTRIBUTE_FILTER_TIME, ast_layout_allowed_style_list_transition_delay, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_DURATION, "TRANSITION_DURATION", "transition_duration", "مدت انتقال", "transition-behavior", AST_LAYOUT_ATTRIBUTE_FILTER_TIME, ast_layout_allowed_style_list_transition_duration, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_PROPERTY, "TRANSITION_PROPERTY", "transition_property", "ویژگی انتقال", "transition-property", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_transition_property, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_TIMING_FUNCTION, "TRANSITION_TIMING_FUNCTION", "transition_timing_function", "تابع زمان‌بندی انتقال", "transition-timing-function", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_transition_timing_function, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_TIMING_FUNCTION, "TRANSITION_TIMING_FUNCTION", "transition_timing_function", "تابع زمان بندی انتقال", "transition-timing-function", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_transition_timing_function, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_VECTOR_EFFECT, "VECTOR_EFFECT", "vector_effect", "اثر وکتور", "vector-effect", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_vector_effect, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_VERTICAL_ALIGN, "VERTICAL_ALIGN", "vertical_align", "تراز عمودی", "vertical-align", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_vertical_align, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WHITE_SPACE, "WHITE_SPACE", "white_space", "فضای سفید", "white-space", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_white_space, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WIDOWS, "WIDOWS", "widows", "بیوه‌ها", "widows", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WIDOWS, "WIDOWS", "widows", "بیوه‌ ها", "widows", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WORD_BREAK, "WORD_BREAK", "word_break", "شکستن کلمه", "word-break", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_word_break, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WORD_SPACING, "WORD_SPACING", "word_spacing", "فاصله کلمه", "word-spacing", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WRITING_MODE, "WRITING_MODE", "writing_mode", "حالت نوشتن", "writing-mode", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_writing_mode, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ZOOM, "ZOOM", "zoom", "بزرگنمایی", "zoom", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_style_list_zoom, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_HIDE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ERROR, "ERROR", "error", "", "error", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WIDTH, "WIDTH", + "width", "عرض", "width", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_HEIGHT, + "HEIGHT", "height", "ارتفاع", "height", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ACCENT_COLOR, + "ACCENT_COLOR", "accent_color", "رنگ برجسته", + "accent-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_APPEARANCE, + "APPEARANCE", "appearance", "ظاهر", + "appearance", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_appearance, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ASPECT_RATIO, + "ASPECT_RATIO", "aspect_ratio", "نسبت ابعاد", + "aspect-ratio", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_aspect_ratio, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKDROP_FILTER, + "BACKDROP_FILTER", "backdrop_filter", + "فیلتر پس‌زمینه", + "backdrop-filter", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKDROP_FILTER, "BACKDROP_FILTER", + "backdrop_filter", "فیلتر پس زمینه", "backdrop-filter", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKFACE_VISIBILITY, "BACKFACE_VISIBILITY", + "backface_visibility", "مشاهده‌پذیری پشت‌نما", + "backface-visibility", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_backface_visibility, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKFACE_VISIBILITY, "BACKFACE_VISIBILITY", + "backface_visibility", "مشاهده پذیری پشت‌نما", + "backface-visibility", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_backface_visibility, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKFACE_VISIBILITY, "BACKFACE_VISIBILITY", + "backface_visibility", "مشاهده پذیری پشت نما", "backface-visibility", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_backface_visibility, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BLOCK_SIZE, + "BLOCK_SIZE", "block_size", "اندازه بلوک", + "block-size", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_block_size, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_IMAGE, "BACKGROUND_IMAGE", + "background_image", "تصویر پس‌زمینه", "background-image", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_image, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_IMAGE, "BACKGROUND_IMAGE", + "background_image", "تصویر پس‌ زمینه", "background-image", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_image, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_ATTACHMENT, + "BACKGROUND_ATTACHMENT", "background_attachment", + "پیوست تصویر پس‌زمینه", "background-attachment", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_background_attachment, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_ATTACHMENT, + "BACKGROUND_ATTACHMENT", "background_attachment", + "پیوست تصویر پس‌ زمینه", "background-attachment", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_background_attachment, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_BLEND_MODE, + "BACKGROUND_BLEND_MODE", "background_blend_mode", + "حالت ترکیب پس‌زمینه", "background-blend-mode", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_background_blend_mode, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_BLEND_MODE, + "BACKGROUND_BLEND_MODE", "background_blend_mode", "حالت ترکیب پس زمینه", + "background-blend-mode", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_background_blend_mode, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_CLIP, + "BACKGROUND_CLIP", "background_clip", + "برش پس‌زمینه", "background-clip", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_background_clip, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_CLIP, "BACKGROUND_CLIP", + "background_clip", "برش پس زمینه", "background-clip", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_background_clip, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_COLOR, "BACKGROUND_COLOR", + "background_color", "رنگ پس‌زمینه", "background-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, + ast_layout_allowed_style_list_background_clip, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_COLOR, "BACKGROUND_COLOR", + "background_color", "رنگ پس زمینه", "background-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, + ast_layout_allowed_style_list_background_clip, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_ORIGIN, "BACKGROUND_ORIGIN", + "background_origin", "مبدا پس‌زمینه", "background-origin", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_background_origin, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_ORIGIN, "BACKGROUND_ORIGIN", + "background_origin", "مبدا پس زمینه", "background-origin", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_background_origin, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_BASIS, + "FLEX_BASIS", "flex_basis", "مبنای انعطاف", + "flex-basis", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_flex_basis, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION, "BACKGROUND_POSITION", + "background_position", "موقعیت پس‌زمینه", + "background-position", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_position_x, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION, "BACKGROUND_POSITION", + "background_position", "موقعیت پس‌ زمینه", + "background-position", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_position_x, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION_X, + "BACKGROUND_POSITION_X", "background_position_x", + "موقعیت افقی پس‌زمینه", "background-position-x", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_position_x, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION_X, + "BACKGROUND_POSITION_X", "background_position_x", + "موقعیت افقی پس‌ زمینه", "background-position-x", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_position_x, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION_Y, + "BACKGROUND_POSITION_Y", "background_position_y", + "موقعیت عمودی پس‌زمینه", "background-position-y", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_position_x, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_POSITION_Y, + "BACKGROUND_POSITION_Y", "background_position_y", + "موقعیت عمودی پس‌ زمینه", "background-position-y", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_position_x, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_REPEAT, "BACKGROUND_REPEAT", + "background_repeat", "تکرار پس‌زمینه", "background-repeat", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_repeat, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_REPEAT, "BACKGROUND_REPEAT", + "background_repeat", "تکرار پس‌ زمینه", "background-repeat", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_repeat, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_SIZE, + "BACKGROUND_SIZE", "background_size", + "اندازه پس‌زمینه", + "background-size", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_size, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BACKGROUND_SIZE, "BACKGROUND_SIZE", + "background_size", "اندازه پس‌ زمینه", "background-size", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_background_size, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_RADIUS, + "BORDER_RADIUS", "border_radius", "گردی", + "border-radius", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER, + "BORDER", "border", "مرز", "border", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_END_COLOR, + "BORDER_BLOCK_END_COLOR", "border_block_end_color", "رنگ مرز انتهایی بلوک", + "border-block-end-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_END_STYLE, + "BORDER_BLOCK_END_STYLE", "border_block_end_style", "سبک مرز انتهایی بلوک", + "border-block-end-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_block_end_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_END_WIDTH, + "BORDER_BLOCK_END_WIDTH", "border_block_end_width", "عرض مرز انتهایی بلوک", + "border-block-end-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_border_block_end_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_START_COLOR, + "BORDER_BLOCK_START_COLOR", "border_block_start_color", + "رنگ مرز ابتدایی بلوک", "border-block-start-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_START_STYLE, + "BORDER_BLOCK_START_STYLE", "border_block_start_style", + "رنگ مرز ابتدایی بلوک", "border-block-start-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_block_start_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BLOCK_START_WIDTH, + "BORDER_BLOCK_START_WIDTH", "border_block_start_width", + "عرض مرز ابتدایی بلوک", "border-block-start-width", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_block_start_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_COLOR, "BORDER_BOTTOM_COLOR", + "border_bottom_color", "رنگ مرز پایین", "border-bottom-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, + ast_layout_allowed_style_list_border_block_start_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_LEFT_RADIUS, + "BORDER_BOTTOM_LEFT_RADIUS", "border_bottom_left_radius", "گردی پایین چپ", + "border-bottom-left-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_RIGHT_RADIUS, + "BORDER_BOTTOM_RIGHT_RADIUS", "border_bottom_right_radius", + "گردی پایین راست", "border-bottom-right-radius", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_STYLE, "BORDER_BOTTOM_STYLE", + "border_bottom_style", "سبک مرز پایین", "border-bottom-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_bottom_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_BOTTOM_WIDTH, "BORDER_BOTTOM_WIDTH", + "border_bottom_width", "عرض مرز پایین", "border-bottom-width", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_border_bottom_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_COLLAPSE, + "BORDER_COLLAPSE", "border_collapse", + "ادغام مرز", "border-collapse", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_collapse, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_COLLAPSE, "BORDER_COLLAPSE", + "border_collapse", "ادغام مرز ها", "border-collapse", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_collapse, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_COLLAPSE, "BORDER_COLLAPSE", + "border_collapse", "ادغام مرزها", "border-collapse", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_collapse, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_END_END_RADIUS, + "BORDER_END_END_RADIUS", "border_end_end_radius", "گردی انتها", + "border-end-end-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_END_START_RADIUS, + "BORDER_END_START_RADIUS", "border_end_start_radius", "گردی شروع", + "border-end-start-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_OUTSET, "BORDER_IMAGE_OUTSET", + "border_image_outset", "برآمدگی تصویر مرز", "border-image-outset", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_REPEAT, "BORDER_IMAGE_REPEAT", + "border_image_repeat", "تکرار تصویر مرز", "border-image-repeat", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_image_repeat, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_SLICE, "BORDER_IMAGE_SLICE", + "border_image_slice", "برش تصویر مرز", "border-image-slice", + AST_LAYOUT_ATTRIBUTE_FILTER_NUMBER, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_SOURCE, "BORDER_IMAGE_SOURCE", + "border_image_source", "منبع تصویر مرز", "border-image-source", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_image_source, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_IMAGE_WIDTH, "BORDER_IMAGE_WIDTH", + "border_image_width", "عرض تصویر مرز", "border-image-width", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_border_image_width, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_END_COLOR, + "BORDER_INLINE_END_COLOR", "border_inline_end_color", "رنگ مرز انتهایی خطی", + "border-inline-end-color", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_END_STYLE, + "BORDER_INLINE_END_STYLE", "border_inline_end_style", "سبک مرز انتهایی خطی", + "border-inline-end-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_inline_end_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_END_WIDTH, + "BORDER_INLINE_END_WIDTH", "border_inline_end_width", "عرض مرز انتهایی خطی", + "border-inline-end-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_START_COLOR, + "BORDER_INLINE_START_COLOR", "border_inline_start_color", + "رنگ مرز ابتدایی خطی", "border-inline-start-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_START_STYLE, + "BORDER_INLINE_START_STYLE", "border_inline_start_style", + "سبک مرز ابتدایی خطی", "border-inline-start-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_inline_start_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_INLINE_START_WIDTH, + "BORDER_INLINE_START_WIDTH", "border_inline_start_width", + "عرض مرز ابتدایی خطی", "border-inline-start-width", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_LEFT_COLOR, "BORDER_LEFT_COLOR", + "border_left_color", "رنگ مرز چپ", "border-left-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_LEFT_STYLE, "BORDER_LEFT_STYLE", + "border_left_style", "سبک مرز چپ", "border-left-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_left_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_LEFT_WIDTH, "BORDER_LEFT_WIDTH", + "border_left_width", "عرض مرز چپ", "border-left-width", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_RIGHT_COLOR, "BORDER_RIGHT_COLOR", + "border_right_color", "رنگ مرز راست", "border-right-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_RIGHT_STYLE, "BORDER_RIGHT_STYLE", + "border_right_style", "سبک مرز راست", "border-right-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_right_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_RIGHT_WIDTH, "BORDER_RIGHT_WIDTH", + "border_right_width", "عرض مرز راست", "border-right-width", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_SPACING, + "BORDER_SPACING", "border_spacing", "فاصله مرز", + "border-spacing", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_START_END_RADIUS, + "BORDER_START_END_RADIUS", "border_start_end_radius", "گردی ابتدا و انتها", + "border-start-end-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_START_START_RADIUS, + "BORDER_START_START_RADIUS", "border_start_start_radius", + "شعاع ابتدایی شروع مرز", "border-start-start-radius", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_COLOR, "BORDER_TOP_COLOR", + "border_top_color", "رنگ مرز بالا", "border-top-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_LEFT_RADIUS, + "BORDER_TOP_LEFT_RADIUS", "border_top_left_radius", "گردی بالا چپ", + "border-top-left-radius", AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_RIGHT_RADIUS, + "BORDER_TOP_RIGHT_RADIUS", "border_top_right_radius", "گردی بالا راست", + "border-top-right-radius", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_STYLE, "BORDER_TOP_STYLE", + "border_top_style", "سبک مرز بالا", "border-top-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_border_top_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BORDER_TOP_WIDTH, "BORDER_TOP_WIDTH", + "border_top_width", "عرض مرز بالا", "border-top-width", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_border_top_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BOTTOM, + "BOTTOM", "bottom", "پایین", "bottom", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_bottom, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BOX_SIZING, + "BOX_SIZING", "box_sizing", + "نوع اندازه‌گیری جعبه", + "box-sizing", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_box_sizing, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BOX_SIZING, "BOX_SIZING", "box_sizing", + "نوع اندازه گیری جعبه", "box-sizing", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_box_sizing, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BOX_SHADOW, + "BOX_SHADOW", "box_shadow", "سایه جعبه", + "box-shadow", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BREAK_INSIDE, + "BREAK_INSIDE", "break_inside", "شکست درون", + "break-inside", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_break_inside, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BREAK_BEFORE, + "BREAK_BEFORE", "break_before", "شکست قبل", + "break-before", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_break_before, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_BREAK_AFTER, + "BREAK_AFTER", "break_after", "شکست بعد", + "break-after", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_break_after, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CAPTION_SIDE, + "CAPTION_SIDE", "caption_side", "موقعیت عنوان", + "caption-side", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_caption_side, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CARET_COLOR, + "CARET_COLOR", "caret_color", "رنگ نشانگر متنی", + "caret-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CLEAR, "CLEAR", + "clear", "پاک‌سازی", "caret-color", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_clear, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CLEAR, "CLEAR", "clear", "پاک سازی", + "caret-color", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_clear, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CLIP_PATH, + "CLIP_PATH", "clip_path", "مسیر برش", + "clip-path", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_clip_path, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CLIP_RULE, + "CLIP_RULE", "clip_rule", "قاعده برش", + "clip-rule", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_clip_rule, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR, "COLOR", + "color", "رنگ", "color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_INTERPOLATION, "COLOR_INTERPOLATION", + "color_interpolation", "درهم‌آمیزی رنگ", + "color-interpolation", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_color_interpolation, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_INTERPOLATION, "COLOR_INTERPOLATION", + "color_interpolation", "درهم آمیزی رنگ", "color-interpolation", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_color_interpolation, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_INTERPOLATION_FILTERS, + "COLOR_INTERPOLATION_FILTERS", "color_interpolation_filters", + "درهم‌آمیزی رنگ فیلترها", + "color-interpolation-filters", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_color_interpolation_filters, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_INTERPOLATION_FILTERS, + "COLOR_INTERPOLATION_FILTERS", "color_interpolation_filters", + "درهم آمیزی رنگ فیلترها", "color-interpolation-filters", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_color_interpolation_filters, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLOR_SCHEME, + "COLOR_SCHEME", "color_scheme", "طرح رنگ", + "color-scheme", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_color_scheme, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_COUNT, + "COLUMN_COUNT", "column_count", + "تعداد ستون‌ها", "column-count", + AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, + ast_layout_allowed_style_list_column_count, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_COUNT, "COLUMN_COUNT", + "column_count", "تعداد ستون‌ ها", "column-count", + AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, + ast_layout_allowed_style_list_column_count, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_FILL, + "COLUMN_FILL", "column_fill", + "پر کردن ستون‌ها", "column-fill", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_column_fill, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_FILL, "COLUMN_FILL", "column_fill", + "پر کردن ستون ها", "column-fill", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_column_fill, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_GAP, + "COLUMN_GAP", "column_gap", + "فاصله بین ستون‌ها", + "column-gap", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_GAP, "COLUMN_GAP", "column_gap", + "فاصله بین ستون‌ ها", "column-gap", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_RULE_COLOR, "COLUMN_RULE_COLOR", + "column_rule_color", "رنگ خط افقی ستون", "column-rule-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_RULE_STYLE, "COLUMN_RULE_STYLE", + "column_rule_style", "سبک خط افقی ستون", "column-rule-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_column_rule_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_RULE_WIDTH, "COLUMN_RULE_WIDTH", + "column_rule_width", "عرض خط افقی ستون", "column-rule-width", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_SPAN, + "COLUMN_SPAN", "column_span", + "گستردگی ستون‌ها", "column-span", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_column_span, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMN_SPAN, "COLUMN_SPAN", "column_span", + "گستردگی ستون ها", "column-span", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_column_span, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMNS, + "COLUMNS", "columns", "ستون‌ها", + "columns", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COLUMNS, "COLUMNS", "columns", + "ستون‌ ها", "columns", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN, + "CONTAIN", "contain", "حاوی بودن", "contain", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_contain, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_BLOCK_SIZE, + "CONTAIN_INTRINSIC_BLOCK_SIZE", "contain_intrinsic_block_size", + "اندازه بلوک ذاتی", "contain-intrinsic-block-size", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_contain_intrinsic_block_size, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_HEIGHT, + "CONTAIN_INTRINSIC_HEIGHT", "contain_intrinsic_height", "ارتفاع ذاتی", + "contain-intrinsic-height", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_contain_intrinsic_height, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_INLINE_SIZE, + "CONTAIN_INTRINSIC_INLINE_SIZE", "contain_intrinsic_inline_size", + "اندازه درون‌خطی ذاتی", "contain-intrinsic-inline-size", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_contain_intrinsic_inline_size, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_INLINE_SIZE, + "CONTAIN_INTRINSIC_INLINE_SIZE", "contain_intrinsic_inline_size", + "اندازه درون خطی ذاتی", "contain-intrinsic-inline-size", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_contain_intrinsic_inline_size, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_SIZE, + "CONTAIN_INTRINSIC_SIZE", "contain_intrinsic_size", "اندازه ذاتی", + "contain-intrinsic-size", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_contain_intrinsic_size, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAIN_INTRINSIC_WIDTH, + "CONTAIN_INTRINSIC_WIDTH", "contain_intrinsic_width", "عرض ذاتی", + "contain-intrinsic-width", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_contain_intrinsic_width, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAINER, + "CONTAINER", "container", "ظرف", "container", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_container, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAINER_NAME, + "CONTAINER_NAME", "container_name", "نام ظرف", + "container-name", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_container_name, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTAINER_TYPE, + "CONTAINER_TYPE", "container_type", "نوع ظرف", + "container-type", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_container_type, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTENT, + "CONTENT", "content", "محتوا", "content", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_content, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CONTENT_VISIBILITY, "CONTENT_VISIBILITY", + "content_visibility", "مشاهده محتوا", "content-visibility", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_content_visibility, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COUNTER_INCREMENT, "COUNTER_INCREMENT", + "counter_increment", "افزایش شمارنده", "counter-increment", + AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, + ast_layout_allowed_style_list_counter_increment, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COUNTER_RESET, + "COUNTER_RESET", "counter_reset", + "بازنشانی شمارنده", "counter-reset", + AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_COUNTER_SET, + "COUNTER_SET", "counter_set", "تنظیم شمارنده", + "counter-set", + AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, + ast_layout_allowed_style_list_counter_set, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_CURSOR, + "CURSOR", "cursor", "نشانگر", "cursor", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_cursor, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_DIRECTION, + "DIRECTION", "direction", "جهت", "direction", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_direction, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_DISPLAY, + "DISPLAY", "display", "قرارگیری", "display", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_display, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_DISPLAY, "DISPLAY", "display", "قرار گیری", + "display", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_display, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_EMPTY_CELLS, + "EMPTY_CELLS", "empty_cells", + "سلول‌های خالی", "empty-cells", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_empty_cells, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_EMPTY_CELLS, "EMPTY_CELLS", "empty_cells", + "سلول های خالی", "empty-cells", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_empty_cells, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FILL, "FILL", + "fill", "پر کردن", "fill", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_fill, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FILL_OPACITY, + "FILL_OPACITY", "fill_opacity", + "شفافیت پر کردن", "fill-opacity", + AST_LAYOUT_ATTRIBUTE_FILTER_PERCENTAGE, + ast_layout_allowed_style_list_fill, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FILL_RULE, + "FILL_RULE", "fill_rule", "قاعده پر کردن", + "fill-rule", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_fill_rule, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FILTER, + "FILTER", "filter", "فیلتر", "filter", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_filter, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX, "FLEX", + "flex", "انعطاف", "flex", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_flex, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_DIRECTION, + "FLEX_DIRECTION", "flex_direction", + "جهت انعطاف", "flex-direction", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_flex_direction, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_FLOW, + "FLEX_FLOW", "flex_flow", "جریان انعطاف", + "flex-flow", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_flex_flow, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_GROW, + "FLEX_GROW", "flex_grow", "رشد انعطاف", + "flex-grow", + AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_SHRINK, + "FLEX_SHRINK", "flex_shrink", + "کوچک‌شدن انعطاف", "flex-shrink", + AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_SHRINK, "FLEX_SHRINK", "flex_shrink", + "کوچک‌ شدن انعطاف", "flex-shrink", + AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLEX_WRAP, + "FLEX_WRAP", "flex_wrap", "چینش انعطاف", + "flex-wrap", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_flex_wrap, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FLOAT, "FLOAT", + "float", "شناور", "float", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_float, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_FAMILY, + "FONT_FAMILY", "font_family", "نام قلم", + "font-family", + AST_LAYOUT_ATTRIBUTE_FILTER_STRINGS_ANY, + ast_layout_allowed_style_list_font_family, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_FEATURE_SETTINGS, + "FONT_FEATURE_SETTINGS", "font_feature_settings", "تنظیمات ویژگی قلم", + "font-feature-settings", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_font_feature_settings, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_KERNING, + "FONT_KERNING", "font_kerning", "کرنینگ قلم", + "font-kerning", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_font_kerning, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_LANGUAGE_OVERRIDE, + "FONT_LANGUAGE_OVERRIDE", "font_language_override", "بازنویسی زبان قلم", + "font-language-override", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_font_language_override, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_OPTICAL_SIZING, "FONT_OPTICAL_SIZING", + "font_optical_sizing", "اندازه‌گیری اپتیکال قلم", + "font-optical-sizing", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_font_optical_sizing, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_OPTICAL_SIZING, "FONT_OPTICAL_SIZING", + "font_optical_sizing", "اندازه گیری اپتیکال قلم", "font-optical-sizing", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_font_optical_sizing, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_SIZE, + "FONT_SIZE", "font_size", "اندازه قلم", + "font-size", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_STRETCH, + "FONT_STRETCH", "font_stretch", "کشیدگی قلم", + "font-stretch", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_font_stretch, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_STYLE, + "FONT_STYLE", "font_style", "سبک قلم", + "font-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_font_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_VARIANT, + "FONT_VARIANT", "font_variant", "نوع قلم", + "font-variant", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_font_variant, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_DISPLAY, + "FONT_DISPLAY", "font_display", "نمایش قلم", + "font-display", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_font_display, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_FONT_WEIGHT, + "FONT_WEIGHT", "font_weight", "وزن قلم", + "font-weight", + AST_LAYOUT_ATTRIBUTE_FILTER_POSITIVE_INTEGER, + ast_layout_allowed_style_list_font_weight, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID, "GRID", + "grid", "شبکه", "grid", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AREA, + "GRID_AREA", "grid_area", "منطقه شبکه", + "grid-area", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_area, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_COLUMNS, "GRID_AUTO_COLUMNS", + "grid_auto_columns", "ستون‌های خودکار شبکه", + "grid-auto-columns", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_auto_columns, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_COLUMNS, "GRID_AUTO_COLUMNS", + "grid_auto_columns", "ستون های خودکار شبکه", "grid-auto-columns", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_auto_columns, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_FLOW, + "GRID_AUTO_FLOW", "grid_auto_flow", + "جریان خودکار شبکه", "grid-auto-flow", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_auto_flow, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_ROWS, + "GRID_AUTO_ROWS", "grid_auto_rows", + "ردیف‌های خودکار شبکه", + "grid-auto-rows", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_auto_rows, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_AUTO_ROWS, "GRID_AUTO_ROWS", + "grid_auto_rows", "ردیف های خودکار شبکه", "grid-auto-rows", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_auto_rows, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_COLUMN, + "GRID_COLUMN", "grid_column", + "ستون‌های شبکه", "grid-column", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_column, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_COLUMN, "GRID_COLUMN", "grid_column", + "ستون های شبکه", "grid-column", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_column, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_COLUMN_END, + "GRID_COLUMN_END", "grid_column_end", + "پایان ستون شبکه", "grid-column-end", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_column_end, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_COLUMN_START, "GRID_COLUMN_START", + "grid_column_start", "شروع ستون شبکه", "grid-column-start", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_column_start, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_ROW, + "GRID_ROW", "grid_row", + "ردیف‌های شبکه", "grid-row", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_row, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_ROW, "GRID_ROW", "grid_row", + "ردیف های شبکه", "grid-row", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_row, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_ROW, "GRID_ROW", "grid_row", + "پایان ردیف شبکه", "grid-row", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_row, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_ROW_START, + "GRID_ROW_START", "grid_row_start", + "شروع ردیف شبکه", "grid-row-start", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_row_start, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE, + "GRID_TEMPLATE", "grid_template", "الگوی شبکه", + "grid-template", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_template, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_AREAS, "GRID_TEMPLATE_AREAS", + "grid_template_areas", "مناطق الگوی شبکه", "grid-template-areas", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_template_areas, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_COLUMNS, + "GRID_TEMPLATE_COLUMNS", "grid_template_columns", + "ستون‌های الگوی شبکه", "grid-template-columns", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_template_columns, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_COLUMNS, + "GRID_TEMPLATE_COLUMNS", "grid_template_columns", "ستون های الگوی شبکه", + "grid-template-columns", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_template_columns, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS, "GRID_TEMPLATE_ROWS", + "grid_template_rows", "ردیف‌های الگوی شبکه", + "grid-template-rows", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_template_rows, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS, "GRID_TEMPLATE_ROWS", + "grid_template_rows", "ردیف های الگوی شبکه", "grid-template-rows", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_grid_template_rows, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_JUSTIFY_CONTENT, + "JUSTIFY_CONTENT", "justify_content", + "توجیه محتوا", "justify-content", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_justify_content, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_LEFT, "LEFT", + "left", "چپ", "left", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_left, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_LETTER_SPACING, + "LETTER_SPACING", "letter_spacing", + "فاصله بین حروف", "letter-spacing", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_LINE_HEIGHT, + "LINE_HEIGHT", "line_height", "ارتفاع خط", + "line-height", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_LIST_STYLE, + "LIST_STYLE", "list_style", "سبک فهرست", + "list-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_list_style, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN, + "MARGIN", "margin", "فضا", "margin", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_margin, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_BOTTOM, + "MARGIN_BOTTOM", "margin_bottom", "فضا پایین", + "margin-bottom", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_margin_bottom, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_BOTTOM, "MARGIN_BOTTOM", + "margin_bottom", "فضای پایین", "margin-bottom", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_margin_bottom, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_LEFT, + "MARGIN_LEFT", "margin_left", "فضا چپ", + "margin-left", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_margin_left, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_LEFT, "MARGIN_LEFT", "margin_left", + "فضای چپ", "margin-left", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_margin_left, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_RIGHT, + "MARGIN_RIGHT", "margin_right", "فضا راست", + "margin-right", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_margin_right, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_RIGHT, "MARGIN_RIGHT", + "margin_right", "فضای راست", "margin-right", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_margin_right, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_TOP, + "MARGIN_TOP", "margin_top", "فضا بالا", + "margin-top", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_margin_top, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MARGIN_TOP, "MARGIN_TOP", "margin_top", + "فضای بالا", "margin-top", AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_margin_top, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MAX_HEIGHT, + "MAX_HEIGHT", "max_height", "حداکثر ارتفاع", + "max-height", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MAX_WIDTH, + "MAX_WIDTH", "max_width", "حداکثر عرض", + "max-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MIN_HEIGHT, + "MIN_HEIGHT", "min_height", "حداقل ارتفاع", + "min-height", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_MIN_WIDTH, + "MIN_WIDTH", "min_width", "حداقل عرض", + "min-width", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OBJECT_FIT, + "OBJECT_FIT", "object_fit", "تناسب شیء", + "object-fit", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_object_fit, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OPACITY, + "OPACITY", "opacity", "شفافیت", "opacity", + AST_LAYOUT_ATTRIBUTE_FILTER_PERCENTAGE, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW, + "OVERFLOW", "overflow", "بیش از حد", "overflow", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_overflow, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_X, + "OVERFLOW_X", "overflow_x", "بیش از حد (X)", + "overflow-x", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_overflow_x, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_Y, + "OVERFLOW_Y", "overflow_y", "بیش از حد (Y)", + "overflow-y", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_overflow_y, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING, + "PADDING", "padding", "فاصله", "padding", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_padding, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_RIGHT, + "PADDING_RIGHT", "padding_right", "فاصله راست", + "padding-right", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_padding, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_LEFT, + "PADDING_LEFT", "padding_left", "فاصله چپ", + "padding-left", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_padding, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_TOP, + "PADDING_TOP", "padding_top", "فاصله بالا", + "padding-top", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_padding, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_BOTTOM, + "PADDING_BOTTOM", "padding_bottom", + "فاصله پایین", "padding-bottom", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZES124, + ast_layout_allowed_style_list_padding, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_DECORATION, + "TEXT_DECORATION", "text_decoration", + "زینت متن", "text-decoration", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_text_decoration, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_TRANSFORM, + "TEXT_TRANSFORM", "text_transform", "تبدیل متن", + "text-transform", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_text_transform, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_VISIBILITY, + "VISIBILITY", "visibility", "قابلیت مشاهده", + "visibility", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_visibility, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_Z_INDEX, + "Z_INDEX", "z_index", "الویت موقعیت", "z-index", + AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, + ast_layout_allowed_style_list_z_index, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_Z_INDEX, "Z_INDEX", "z_index", + "ترتیب اولویت", "z-index", AST_LAYOUT_ATTRIBUTE_FILTER_INTEGER, + ast_layout_allowed_style_list_z_index, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OUTLINE_COLOR, + "OUTLINE_COLOR", "outline_color", "رنگ مرز", + "outline-color", + AST_LAYOUT_ATTRIBUTE_FILTER_COLOR, + ast_layout_allowed_style_list_outline_color, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OUTLINE_OFFSET, + "OUTLINE_OFFSET", "outline_offset", + "فاصله حاشیه", "outline-offset", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OUTLINE_STYLE, + "OUTLINE_STYLE", "outline_style", "سبک حاشیه", + "outline-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_outline_style, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OUTLINE_WIDTH, + "OUTLINE_WIDTH", "outline_width", "عرض حاشیه", + "outline-width", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_outline_width, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_ANCHOR, + "OVERFLOW_ANCHOR", "overflow_anchor", + "لنگر بیش از حد", "overflow-anchor", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_overflow_anchor, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_BLOCK, + "OVERFLOW_BLOCK", "overflow_block", + "بیش از حد بلوک", "overflow-block", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_overflow_block, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_CLIP_MARGIN, + "OVERFLOW_CLIP_MARGIN", "overflow_clip_margin", "فاصله برش بیش از حد", + "overflow-clip-margin", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_INLINE, + "OVERFLOW_INLINE", "overflow_inline", + "بیش از حد درون خطی", "overflow-inline", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_overflow_inline, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_OVERFLOW_WRAP, + "OVERFLOW_WRAP", "overflow_wrap", + "پیچش بیش از حد", "overflow-wrap", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_overflow_wrap, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_BLOCK, + "PADDING_BLOCK", "padding_block", "فاصله بلوک", + "padding-block", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_BLOCK_END, "PADDING_BLOCK_END", + "padding_block_end", "فاصله انتهای بلوک", "padding-block-end", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_padding_block_end, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_BLOCK_START, "PADDING_BLOCK_START", + "padding_block_start", "فاصله شروع بلوک", "padding-block-start", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_padding_block_start, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_INLINE, + "PADDING_INLINE", "padding_inline", + "فاصله درون خطی", "padding-inline", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_padding_inline, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_INLINE_END, "PADDING_INLINE_END", + "padding_inline_end", "فاصله انتهای درون خطی", "padding-inline-end", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_padding_inline_end, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PADDING_INLINE_START, + "PADDING_INLINE_START", "padding_inline_start", "فاصله شروع درون خطی", + "padding-inline-start", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_padding_inline_start, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAGE, "PAGE", + "page", "صفحه", "page", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_page, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAGE_BREAK_AFTER, "PAGE_BREAK_AFTER", + "page_break_after", "شکست صفحه بعد از", "page-break-after", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_page_break_after, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAGE_BREAK_BEFORE, "PAGE_BREAK_BEFORE", + "page_break_before", "شکست صفحه قبل از", "page-break-before", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_page_break_before, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAGE_BREAK_INSIDE, "PAGE_BREAK_INSIDE", + "page_break_inside", "شکست صفحه درون", "page-break-inside", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_page_break_inside, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PAINT_ORDER, + "PAINT_ORDER", "paint_order", "ترتیب نقاشی", + "paint-order", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_paint_order, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PERSPECTIVE, + "PERSPECTIVE", "perspective", "پرسپکتیو", + "perspective", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_perspective, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PERSPECTIVE_ORIGIN, "PERSPECTIVE_ORIGIN", + "perspective_origin", "مبدأ پرسپکتیو", "perspective-origin", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_perspective, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PLACE_CONTENT, + "PLACE_CONTENT", "place_content", "محتوای مکان", + "place-content", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_place_content, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PLACE_ITEMS, + "PLACE_ITEMS", "place_items", "موارد مکان", + "place-items", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_place_items, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PLACE_SELF, + "PLACE_SELF", "place_self", "خود مکان", + "place-self", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_place_self, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_POINTER_EVENTS, + "POINTER_EVENTS", "pointer_events", + "رویدادهای اشاره‌گر", + "pointer-events", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_pointer_events, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_POINTER_EVENTS, "POINTER_EVENTS", + "pointer_events", "رویدادهای اشاره گر", "pointer-events", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_pointer_events, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_POSITION, + "POSITION", "position", "موقعیت", "position", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_position, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_PRINT_COLOR_ADJUST, "PRINT_COLOR_ADJUST", + "print_color_adjust", "تنظیم رنگ چاپ", "print-color-adjust", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_print_color_adjust, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_QUOTES, + "QUOTES", "quotes", "نقل‌قول", "quotes", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_quotes, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_QUOTES, "QUOTES", "quotes", "نقل قول", + "quotes", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_quotes, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_R, "R", "r", + "شعاع", "r", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RESIZE, + "RESIZE", "resize", "تغییر اندازه", "resize", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_resize, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RIGHT, "RIGHT", + "right", "راست", "right", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_right, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ROTATE, + "ROTATE", "rotate", "چرخش", "rotate", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_rotate, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ROW_GAP, + "ROW_GAP", "row_gap", "فاصله ردیف", "row-gap", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_rotate, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RUBY_ALIGN, + "RUBY_ALIGN", "ruby_align", + "هم‌راستایی روبی", "ruby-align", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_ruby_align, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RUBY_ALIGN, "RUBY_ALIGN", "ruby_align", + "هم راستایی روبی", "ruby-align", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_ruby_align, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RUBY_POSITION, + "RUBY_POSITION", "ruby_position", "موقعیت روبی", + "ruby-position", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_ruby_position, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RX, "RX", "rx", + "شعاع X", "rx", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_RY, "RY", "ry", + "شعاع Y", "ry", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCALE, "SCALE", + "scale", "مقیاس", "scale", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_BEHAVIOR, + "SCROLL_BEHAVIOR", "scroll_behavior", + "رفتار پیمایش", "scroll-behavior", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_scroll_behavior, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN, + "SCROLL_MARGIN", "scroll_margin", + "فاصله پیمایش", "scroll-margin", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_BLOCK, "SCROLL_MARGIN_BLOCK", + "scroll_margin_block", "فاصله بلوک پیمایش", "scroll-margin-block", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_BLOCK_END, + "SCROLL_MARGIN_BLOCK_END", "scroll_margin_block_end", + "فاصله انتهای بلوک پیمایش", "scroll-margin-block-end", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_BLOCK_START, + "SCROLL_MARGIN_BLOCK_START", "scroll_margin_block_start", + "فاصله شروع بلوک پیمایش", "scroll-margin-block-start", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_BOTTOM, + "SCROLL_MARGIN_BOTTOM", "scroll_margin_bottom", "فاصله پایین پیمایش", + "scroll-margin-bottom", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_INLINE, + "SCROLL_MARGIN_INLINE", "scroll_margin_inline", "فاصله درون خطی پیمایش", + "scroll-margin-inline", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_INLINE_END, + "SCROLL_MARGIN_INLINE_END", "scroll_margin_inline_end", + "فاصله انتهای درون خطی پیمایش", "scroll-margin-inline-end", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_INLINE_START, + "SCROLL_MARGIN_INLINE_START", "scroll_margin_inline_start", + "فاصله شروع درون خطی پیمایش", "scroll-margin-inline-start", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_LEFT, "SCROLL_MARGIN_LEFT", + "scroll_margin_left", "فاصله چپ پیمایش", "scroll-margin-left", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_RIGHT, "SCROLL_MARGIN_RIGHT", + "scroll_margin_right", "فاصله راست پیمایش", "scroll-margin-right", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_MARGIN_TOP, "SCROLL_MARGIN_TOP", + "scroll_margin_top", "فاصله بالا پیمایش", "scroll-margin-top", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING, + "SCROLL_PADDING", "scroll_padding", + "فاصله پیمایش", "scroll-padding", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_BLOCK, + "SCROLL_PADDING_BLOCK", "scroll_padding_block", "فاصله بلوک پیمایش", + "scroll-padding-block", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_BLOCK_END, + "SCROLL_PADDING_BLOCK_END", "scroll_padding_block_end", + "فاصله انتهای بلوک پیمایش", "scroll-padding-block-end", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_BLOCK_START, + "SCROLL_PADDING_BLOCK_START", "scroll_padding_block_start", + "فاصله شروع بلوک پیمایش", "scroll-padding-block-start", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_BOTTOM, + "SCROLL_PADDING_BOTTOM", "scroll_padding_bottom", "فاصله پایین پیمایش", + "scroll-padding-bottom", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_INLINE, + "SCROLL_PADDING_INLINE", "scroll_padding_inline", "فاصله درون خطی پیمایش", + "scroll-padding-inline", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_INLINE_END, + "SCROLL_PADDING_INLINE_END", "scroll_padding_inline_end", + "فاصله انتهای درون خطی پیمایش", "scroll-padding-inline-end", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_INLINE_START, + "SCROLL_PADDING_INLINE_START", "scroll_padding_inline_start", + "فاصله شروع درون خطی پیمایش", "scroll-padding-inline-start", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_LEFT, "SCROLL_PADDING_LEFT", + "scroll_padding_left", "فاصله چپ پیمایش", "scroll-padding-left", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_RIGHT, + "SCROLL_PADDING_RIGHT", "scroll_padding_right", "فاصله راست پیمایش", + "scroll-padding-right", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_PADDING_TOP, "SCROLL_PADDING_TOP", + "scroll_padding_top", "فاصله بالا پیمایش", "scroll-padding-top", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_SNAP_ALIGN, "SCROLL_SNAP_ALIGN", + "scroll_snap_align", "تراز پیمایش", "scroll-snap-align", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_scroll_snap_align, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SCROLL_SNAP_TYPE, "SCROLL_SNAP_TYPE", + "scroll_snap_type", "نوع پیمایش", "scroll-snap-type", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_scroll_snap_type, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_SHAPE_OUTSIDE, + "SHAPE_OUTSIDE", "shape_outside", "شکل خارج", + "shape-outside", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_shape_outside, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_ALIGN, + "TEXT_ALIGN", "text_align", "تراز متن", + "text-align", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_text_align, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_ALIGN_LAST, + "TEXT_ALIGN_LAST", "text_align_last", + "تراز آخرین متن", "text-align-last", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_text_align_last, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ALIGN_ITEMS, + "ALIGN_ITEMS", "align_items", + "تراز‌کردن‌ اقلام", + "align-items", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_align_items, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ALIGN_ITEMS, "ALIGN_ITEMS", "align_items", + "تراز‌ کردن‌ اقلام", "align-items", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_align_items, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ALIGN_ITEMS, "ALIGN_ITEMS", "align_items", + "تراز‌کردن‌ محتوا", "align-items", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_align_items, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ALIGN_ITEMS, "ALIGN_ITEMS", "align_items", + "تراز محتوا", "align-items", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_align_items, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_INDENT, + "TEXT_INDENT", "text_indent", "تورفتگی متن", + "text-indent", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_text_indent, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TEXT_INDENT, "TEXT_INDENT", "text_indent", + "تو رفتگی متن", "text-indent", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_text_indent, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TOP, "TOP", + "top", "بالا", "top", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, + ast_layout_allowed_style_list_top, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSFORM, + "TRANSFORM", "transform", "تبدیل", "transform", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_transform, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSFORM_ORIGIN, "TRANSFORM_ORIGIN", + "transform_origin", "مرکز تبدیل", "transform-origin", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_transform_origin, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSLATE, + "TRANSLATE", "translate", "ترجمه", "translate", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_UNICODE_BIDI, + "UNICODE_BIDI", "unicode_bidi", "معکوس یونیکد", + "unicode-bidi", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_unicode_bidi, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_USER_SELECT, + "USER_SELECT", "user_select", "انتخاب کاربر", + "user-select", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_user_select, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WILL_CHANGE, + "WILL_CHANGE", "will_change", "تغییر خواهد کرد", + "will-change", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_will_change, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSFORM_BOX, + "TRANSFORM_BOX", "transform_box", "باکس تبدیل", + "transform-box", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_transform_box, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSFORM_STYLE, + "TRANSFORM_STYLE", "transform_style", + "سبک تبدیل", "transform-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_transform_style, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION, + "TRANSITION", "transition", "انتقال", + "transition", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + ast_layout_allowed_style_list_transition, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_BEHAVIOR, "TRANSITION_BEHAVIOR", + "transition_behavior", "رفتار انتقال", "transition-behavior", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_transition_behavior, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_DELAY, "TRANSITION_DELAY", + "transition_delay", "تاخیر انتقال", "transition-behavior", + AST_LAYOUT_ATTRIBUTE_FILTER_TIME, + ast_layout_allowed_style_list_transition_delay, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_DURATION, "TRANSITION_DURATION", + "transition_duration", "مدت انتقال", "transition-behavior", + AST_LAYOUT_ATTRIBUTE_FILTER_TIME, + ast_layout_allowed_style_list_transition_duration, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_PROPERTY, "TRANSITION_PROPERTY", + "transition_property", "ویژگی انتقال", "transition-property", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_transition_property, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_TIMING_FUNCTION, + "TRANSITION_TIMING_FUNCTION", "transition_timing_function", + "تابع زمان‌بندی انتقال", "transition-timing-function", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_transition_timing_function, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_TRANSITION_TIMING_FUNCTION, + "TRANSITION_TIMING_FUNCTION", "transition_timing_function", + "تابع زمان بندی انتقال", "transition-timing-function", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_transition_timing_function, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_VECTOR_EFFECT, + "VECTOR_EFFECT", "vector_effect", "اثر وکتور", + "vector-effect", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_vector_effect, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_VERTICAL_ALIGN, + "VERTICAL_ALIGN", "vertical_align", + "تراز عمودی", "vertical-align", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_vertical_align, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WHITE_SPACE, + "WHITE_SPACE", "white_space", "فضای سفید", + "white-space", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_white_space, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WIDOWS, + "WIDOWS", "widows", "بیوه‌ها", "widows", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_REPEAT( + AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WIDOWS, "WIDOWS", "widows", + "بیوه‌ ها", "widows", AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WORD_BREAK, + "WORD_BREAK", "word_break", "شکستن کلمه", + "word-break", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_word_break, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WORD_SPACING, + "WORD_SPACING", "word_spacing", "فاصله کلمه", + "word-spacing", + AST_LAYOUT_ATTRIBUTE_FILTER_SIZE, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_WRITING_MODE, + "WRITING_MODE", "writing_mode", "حالت نوشتن", + "writing-mode", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_writing_mode, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ZOOM, "ZOOM", + "zoom", "بزرگنمایی", "zoom", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_style_list_zoom, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_HIDE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ERROR, + "ERROR", "error", "", "error", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, + NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) // ----------- END AUTO GENERATED ----------- // diff --git a/src/generated-config/ast_layout_attribute_style_value.h b/src/generated-config/ast_layout_attribute_style_value.h index 43226cbd..cd05750a 100644 --- a/src/generated-config/ast_layout_attribute_style_value.h +++ b/src/generated-config/ast_layout_attribute_style_value.h @@ -2,1474 +2,1439 @@ #define _AST_LAYOUT_ATTRIBUTE_STYLE_VALUE_ // ----------- BEGIN AUTO GENERATED ----------- // -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_size_default[] = { - {"خودکار", "auto"}, - {"حداکثر محتوا", "max-content"}, - {"حداقل محتوا", "min-content"}, - {"فیت", "fit-content"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_size_default[] = + { + {"خودکار", "auto"}, + {"حداکثر محتوا", "max-content"}, + {"حداقل محتوا", "min-content"}, + {"فیت", "fit-content"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_appearance[] = { - {"مدیر کنترل پیش‌فرض", "auto"}, - {"دکمه", "button"}, - {"پیش‌فرض", "default"}, - {"متن", "text"}, - {"منوی کشویی", "dropdown"}, - {"فیلد متنی", "textfield"}, - {"خروجی", "output"}, - {"مخفی", "none"}, - {NULL, NULL}, + {"مدیر کنترل پیش‌فرض", "auto"}, + {"دکمه", "button"}, + {"پیش‌فرض", "default"}, + {"متن", "text"}, + {"منوی کشویی", "dropdown"}, + {"فیلد متنی", "textfield"}, + {"خروجی", "output"}, + {"مخفی", "none"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_color[] = { - {"بی‌رنگ", "transparent"}, - {"بی رنگ", "transparent"}, - {"شفاف", "transparent"}, - {"سیاه", "black"}, - {"بی‌رنگ", "transparent"}, - {"بی رنگ", "transparent"}, - {"شفاف", "transparent"}, - {"سیاه", "black"}, - {"سفید", "white"}, - {"صورتی", "pink"}, - {"بنفش", "purple"}, - {"قرمز", "red"}, - {"سبز", "green"}, - {"زرد", "yellow"}, - {"ابی", "blue"}, - {"آبی", "blue"}, - {"قهوه‌ای", "brown"}, - {"قهوه ای", "brown"}, - {"نارنجی", "orange"}, - {"خاکستری", "gray"}, - {"طوسی", "silver"}, - {"طلایی", "gold"}, - {"بژ", "beige"}, - {"زیتونی", "olive"}, - {"لاجوردی", "navy"}, - {"فیروزه‌ای", "turquoise"}, - {"فیروزه ای", "turquoise"}, - {"نیلی", "indigo"}, - {"خرمایی", "crimson"}, - {"قرمز تیره", "darkred"}, - {"صورتی تیره", "deeppink"}, - {"آتشین", "firebrick"}, - {"صورتی داغ", "hotpink"}, - {"قرمز هندی", "indianred"}, - {"اسطوخودوسی", "lavenderblush"}, - {"مرجانی روشن", "lightcoral"}, - {"صورتی روشن", "lightpink"}, - {"زرشکی", "maroon"}, - {"رز مه آلود", "mistyrose"}, - {"قرمز بنفش کم", "palevioletred"}, - {"پوست", "bisque"}, - {"مرجانی", "coral"}, - {"نارنجی تیره", "darkorange"}, - {"سالمون تیره", "darksalmon"}, - {"سالمون روشن", "lightsalmon"}, - {"نارنجی قرمز", "orangered"}, - {"خامه پاپایا", "papayawhip"}, - {"هلو", "peachpuff"}, - {"سالمون", "salmon"}, - {"گوجه فرنگی", "tomato"}, - {"خمیر ذرت", "cornsilk"}, - {"طلایی تیره", "darkgoldenrod"}, - {"خاکی تیره", "darkkhaki"}, - {"طلایی روشن", "lightgoldenrodyellow"}, - {"زرد روشن", "lightyellow"}, - {"خاکی", "khaki"}, - {"پرتقالی کم", "palegoldenrod"}, - {"زرد کم", "palegoldenrod"}, - {"سبز دریایی", "aquamarine"}, - {"چارتوز", "chartreuse"}, - {"سبز تیره", "darkgreen"}, - {"زیتونی تیره", "darkolivegreen"}, - {"سبز دریایی تیره", "darkseagreen"}, - {"خاکستری تیره", "darkslategray"}, - {"سبز جنگلی", "forestgreen"}, - {"زرد سبز", "greenyellow"}, - {"شهد", "honeydew"}, - {"سبز چمنی", "lawngreen"}, - {"سبز روشن", "lightgreen"}, - {"سبز دریایی روشن", "lightseagreen"}, - {"لیمو سبز", "lime"}, - {"لیمو سبز روشن", "limegreen"}, - {"آب دریایی میانه", "mediumaquamarine"}, - {"سبز دریایی میانه", "mediumseagreen"}, - {"سبز بهاری میانه", "mediumspringgreen"}, - {"سبز زیتونی تیره", "olivedrab"}, - {"سبز کم", "palegreen"}, - {"سبز دریایی", "seagreen"}, - {"سبز بهاری", "springgreen"}, - {"فیروزه ای", "teal"}, - {"سبز زرد", "yellowgreen"}, - {"آبی آسمانی روشن", "aliceblue"}, - {"آبی", "aqua"}, - {"آبی روشن", "azure"}, - {"آبی کاپیتان", "cadetblue"}, - {"آبی گل گندم", "cornflowerblue"}, - {"آبی آسمانی تیره", "darkcyan"}, - {"فیروزه ای تیره", "darkturquoise"}, - {"آبی آسمانی عمیق", "deepskyblue"}, - {"آبی آسمانی داج", "dodgerblue"}, - {"آبی روشن", "lightblue"}, - {"فیروزه ای روشن", "lightcyan"}, - {"آبی آسمانی روشن", "lightskyblue"}, - {"آبی فولادی روشن", "lightsteelblue"}, - {"آبی میانه", "mediumblue"}, - {"فیروزه ای میانه", "mediumturquoise"}, - {"آبی نیمه شب", "midnightblue"}, - {"نیلی", "navy"}, - {"آبی روشن", "paleturquoise"}, - {"آبی پودری", "powderblue"}, - {"آبی سلطنتی", "royalblue"}, - {"آبی آسمانی", "skyblue"}, - {"آبی فولادی", "steelblue"}, - {"آبی بنفش", "blueviolet"}, - {"ارغوانی تیره", "darkmagenta"}, - {"بنفش ارکیده تیره", "darkorchid"}, - {"آبی ارغوانی تیره", "darkslateblue"}, - {"بنفش تیره", "darkviolet"}, - {"سرخابی", "fuchsia"}, - {"اسطوخودوس", "lavender"}, - {"ارغوانی", "magenta"}, - {"ارکیده میانه", "mediumorchid"}, - {"بنفش میانه", "mediumpurple"}, - {"آبی ارغوانی میانه", "mediumslateblue"}, - {"ارکیده", "orchid"}, - {"آلو", "plum"}, - {"بنفش", "purple"}, - {"بنفش ربکا", "rebeccapurple"}, - {"خار مریم", "thistle"}, - {"بنفش روشن", "violet"}, - {"سیاه", "black"}, - {"خاکستری تیره", "darkgray"}, - {"خاکستری تخته تیره", "darkslategray"}, - {"خاکستری کم‌رنگ", "dimgray"}, - {"گینزبورو", "gainsboro"}, - {"خاکستری", "gray"}, - {"خاکستری روشن", "lightgray"}, - {"خاکستری فولادی روشن", "lightsteelgray"}, - {"نقره‌ای", "silver"}, - {"خاکستری تخته", "slategray"}, - {"سفید", "white"}, - {"سفید دود", "whitesmoke"}, - {NULL, NULL}, + {"بی‌رنگ", "transparent"}, + {"بی رنگ", "transparent"}, + {"شفاف", "transparent"}, + {"سیاه", "black"}, + {"بی‌رنگ", "transparent"}, + {"بی رنگ", "transparent"}, + {"شفاف", "transparent"}, + {"سیاه", "black"}, + {"سفید", "white"}, + {"صورتی", "pink"}, + {"بنفش", "purple"}, + {"قرمز", "red"}, + {"سبز", "green"}, + {"زرد", "yellow"}, + {"ابی", "blue"}, + {"آبی", "blue"}, + {"قهوه‌ای", "brown"}, + {"قهوه ای", "brown"}, + {"نارنجی", "orange"}, + {"خاکستری", "gray"}, + {"طوسی", "silver"}, + {"طلایی", "gold"}, + {"بژ", "beige"}, + {"زیتونی", "olive"}, + {"لاجوردی", "navy"}, + {"فیروزه‌ای", "turquoise"}, + {"فیروزه ای", "turquoise"}, + {"نیلی", "indigo"}, + {"خرمایی", "crimson"}, + {"قرمز تیره", "darkred"}, + {"صورتی تیره", "deeppink"}, + {"آتشین", "firebrick"}, + {"صورتی داغ", "hotpink"}, + {"قرمز هندی", "indianred"}, + {"اسطوخودوسی", "lavenderblush"}, + {"مرجانی روشن", "lightcoral"}, + {"صورتی روشن", "lightpink"}, + {"زرشکی", "maroon"}, + {"رز مه آلود", "mistyrose"}, + {"قرمز بنفش کم", "palevioletred"}, + {"پوست", "bisque"}, + {"مرجانی", "coral"}, + {"نارنجی تیره", "darkorange"}, + {"سالمون تیره", "darksalmon"}, + {"سالمون روشن", "lightsalmon"}, + {"نارنجی قرمز", "orangered"}, + {"خامه پاپایا", "papayawhip"}, + {"هلو", "peachpuff"}, + {"سالمون", "salmon"}, + {"گوجه فرنگی", "tomato"}, + {"خمیر ذرت", "cornsilk"}, + {"طلایی تیره", "darkgoldenrod"}, + {"خاکی تیره", "darkkhaki"}, + {"طلایی روشن", "lightgoldenrodyellow"}, + {"زرد روشن", "lightyellow"}, + {"خاکی", "khaki"}, + {"پرتقالی کم", "palegoldenrod"}, + {"زرد کم", "palegoldenrod"}, + {"سبز دریایی", "aquamarine"}, + {"چارتوز", "chartreuse"}, + {"سبز تیره", "darkgreen"}, + {"زیتونی تیره", "darkolivegreen"}, + {"سبز دریایی تیره", "darkseagreen"}, + {"خاکستری تیره", "darkslategray"}, + {"سبز جنگلی", "forestgreen"}, + {"زرد سبز", "greenyellow"}, + {"شهد", "honeydew"}, + {"سبز چمنی", "lawngreen"}, + {"سبز روشن", "lightgreen"}, + {"سبز دریایی روشن", "lightseagreen"}, + {"لیمو سبز", "lime"}, + {"لیمو سبز روشن", "limegreen"}, + {"آب دریایی میانه", "mediumaquamarine"}, + {"سبز دریایی میانه", "mediumseagreen"}, + {"سبز بهاری میانه", "mediumspringgreen"}, + {"سبز زیتونی تیره", "olivedrab"}, + {"سبز کم", "palegreen"}, + {"سبز دریایی", "seagreen"}, + {"سبز بهاری", "springgreen"}, + {"فیروزه ای", "teal"}, + {"سبز زرد", "yellowgreen"}, + {"آبی آسمانی روشن", "aliceblue"}, + {"آبی", "aqua"}, + {"آبی روشن", "azure"}, + {"آبی کاپیتان", "cadetblue"}, + {"آبی گل گندم", "cornflowerblue"}, + {"آبی آسمانی تیره", "darkcyan"}, + {"فیروزه ای تیره", "darkturquoise"}, + {"آبی آسمانی عمیق", "deepskyblue"}, + {"آبی آسمانی داج", "dodgerblue"}, + {"آبی روشن", "lightblue"}, + {"فیروزه ای روشن", "lightcyan"}, + {"آبی آسمانی روشن", "lightskyblue"}, + {"آبی فولادی روشن", "lightsteelblue"}, + {"آبی میانه", "mediumblue"}, + {"فیروزه ای میانه", "mediumturquoise"}, + {"آبی نیمه شب", "midnightblue"}, + {"نیلی", "navy"}, + {"آبی روشن", "paleturquoise"}, + {"آبی پودری", "powderblue"}, + {"آبی سلطنتی", "royalblue"}, + {"آبی آسمانی", "skyblue"}, + {"آبی فولادی", "steelblue"}, + {"آبی بنفش", "blueviolet"}, + {"ارغوانی تیره", "darkmagenta"}, + {"بنفش ارکیده تیره", "darkorchid"}, + {"آبی ارغوانی تیره", "darkslateblue"}, + {"بنفش تیره", "darkviolet"}, + {"سرخابی", "fuchsia"}, + {"اسطوخودوس", "lavender"}, + {"ارغوانی", "magenta"}, + {"ارکیده میانه", "mediumorchid"}, + {"بنفش میانه", "mediumpurple"}, + {"آبی ارغوانی میانه", "mediumslateblue"}, + {"ارکیده", "orchid"}, + {"آلو", "plum"}, + {"بنفش", "purple"}, + {"بنفش ربکا", "rebeccapurple"}, + {"خار مریم", "thistle"}, + {"بنفش روشن", "violet"}, + {"سیاه", "black"}, + {"خاکستری تیره", "darkgray"}, + {"خاکستری تخته تیره", "darkslategray"}, + {"خاکستری کم‌رنگ", "dimgray"}, + {"گینزبورو", "gainsboro"}, + {"خاکستری", "gray"}, + {"خاکستری روشن", "lightgray"}, + {"خاکستری فولادی روشن", "lightsteelgray"}, + {"نقره‌ای", "silver"}, + {"خاکستری تخته", "slategray"}, + {"سفید", "white"}, + {"سفید دود", "whitesmoke"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_width[] = { - {"خودکار", "auto"}, - {"حداکثر محتوا", "max-content"}, - {"حداقل محتوا", "min-content"}, - {"فیت", "fit-content"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {"حداکثر محتوا", "max-content"}, + {"حداقل محتوا", "min-content"}, + {"فیت", "fit-content"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_height[] = { - {"خودکار", "auto"}, - {"حداکثر محتوا", "max-content"}, - {"حداقل محتوا", "min-content"}, - {"فیت", "fit-content"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {"حداکثر محتوا", "max-content"}, + {"حداقل محتوا", "min-content"}, + {"فیت", "fit-content"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_aspect_ratio[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_aspect_ratio[] = + { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_backface_visibility[] = { - {"مشاهده‌پذیر", "visible"}, - {"پنهان", "hidden"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_backface_visibility[] = { + {"مشاهده‌پذیر", "visible"}, + {"پنهان", "hidden"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_block_size[] = { - {"خودکار", "auto"}, - {"حداقل با محتوا", "min-content"}, - {"ماکزیمم محتوا", "max-content"}, - {"فیت", "fit-content"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_image[] = { - {"هیچ", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_attachment[] = { - {"پیمایش", "scroll"}, - {"ثابت", "fixed"}, - {"محلی", "local"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_blend_mode[] = { - {"عادی", "normal"}, - {"معمولی", "normal"}, - {"محلی", "local"}, - {"محلی", "local"}, - {"محلی", "local"}, - {"محلی", "local"}, - {"سخت", "multiply"}, - {"افزودن", "screen"}, - {"حذف", "overlay"}, - {"تیره کردن", "darken"}, - {"روشن کردن", "lighten"}, - {"سایه", "color-dodge"}, - {"فراکتال", "color-burn"}, - {"حالت ترکیب", "hue"}, - {"مات", "saturation"}, - {"رنگ", "color"}, - {"تن سایه", "luminosity"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_clip[] = { - {"محتوا", "content-box"}, - {"حاشیه", "padding-box"}, - {"کل عنصر", "border-box"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_origin[] = { - {"محتوا", "content-box"}, - {"حاشیه", "padding-box"}, - {"کل عنصر", "border-box"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_position_x[] = { - {"چپ", "left"}, - {"مرکز", "center"}, - {"راست", "right"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_position_y[] = { - {"بالا", "top"}, - {"مرکز", "center"}, - {"پایین", "bottom"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_repeat[] = { - {"تکرار", "repeat"}, - {"تکرار در محور افقی", "repeat-x"}, - {"تکرار در محور عمودی", "repeat-y"}, - {"هیچ", "no-repeat"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_size[] = { - {"خودکار", "auto"}, - {"پوشش", "cover"}, - {"مناسب با محتوا", "contain"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_block_end_style[] = { - {"پیوسته", "solid"}, - {"خط‌چین", "dashed"}, - {"خط چین", "dashed"}, - {"نقطه‌چین", "dotted"}, - {"نقطه چین", "dotted"}, - {"دوگانه", "double"}, - {"پنهان", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_block_end_width[] = { - {"خودکار", "auto"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_block_start_style[] = { - {"پیوسته", "solid"}, - {"خط‌چین", "dashed"}, - {"خط چین", "dashed"}, - {"نقطه چین", "dotted"}, - {"نقطه‌چین", "dotted"}, - {"دو گانه", "double"}, - {"دوگانه", "double"}, - {"پنهان", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_block_start_width[] = { - {"خودکار", "auto"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_bottom_style[] = { - {"پیوسته", "solid"}, - {"خط چین", "dashed"}, - {"خط‌چین", "dashed"}, - {"نقطه چین", "dotted"}, - {"نقطه‌چین", "dotted"}, - {"دو گانه", "double"}, - {"دوگانه", "double"}, - {"پنهان", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_collapse[] = { - {"بله", "collapse"}, - {"اره", "collapse"}, - {"خیر", "separate"}, - {"نه", "separate"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_image_repeat[] = { - {"تکرار", "repeat"}, - {"تکرارافقی", "repeat-x"}, - {"تکرار افقی", "repeat-x"}, - {"تکرارعمودی", "repeat-y"}, - {"تکرار عمودی", "repeat-y"}, - {"بدون‌تکرار", "no-repeat"}, - {"بدون تکرار", "no-repeat"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_image_source[] = { - {"هیچ", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_image_width[] = { - {"خودکار", "auto"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_inline_end_style[] = { - {"پیوسته", "solid"}, - {"خط‌چین", "dashed"}, - {"خط چین", "dashed"}, - {"نقطه‌ چین", "dotted"}, - {"نقطه‌چین", "dotted"}, - {"دوگانه", "double"}, - {"دو گانه", "double"}, - {"پنهان", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_inline_start_style[] = { - {"پیوسته", "solid"}, - {"خط چین", "dashed"}, - {"خط‌چین", "dashed"}, - {"نقطه چین", "dotted"}, - {"نقطه‌چین", "dotted"}, - {"دو گانه", "double"}, - {"دوگانه", "double"}, - {"پنهان", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_left_style[] = { - {"پیوسته", "solid"}, - {"خط چین", "dashed"}, - {"خط‌چین", "dashed"}, - {"نقطه چین", "dotted"}, - {"نقطه‌چین", "dotted"}, - {"دو گانه", "double"}, - {"دوگانه", "double"}, - {"پنهان", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_right_style[] = { - {"پیوسته", "solid"}, - {"خط چین", "dashed"}, - {"خط‌چین", "dashed"}, - {"نقطه چین", "dotted"}, - {"نقطه‌چین", "dotted"}, - {"دو گانه", "double"}, - {"دوگانه", "double"}, - {"پنهان", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_top_style[] = { - {"پیوسته", "solid"}, - {"خط چین", "dashed"}, - {"خط‌چین", "dashed"}, - {"نقطه چین", "dotted"}, - {"نقطه‌چین", "dotted"}, - {"دو گانه", "double"}, - {"دوگانه", "double"}, - {"پنهان", "none"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {"حداقل با محتوا", "min-content"}, + {"ماکزیمم محتوا", "max-content"}, + {"فیت", "fit-content"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_image[] = { + {"هیچ", "none"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_attachment[] = { + {"پیمایش", "scroll"}, + {"ثابت", "fixed"}, + {"محلی", "local"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_blend_mode[] = { + {"عادی", "normal"}, {"معمولی", "normal"}, + {"محلی", "local"}, {"محلی", "local"}, + {"محلی", "local"}, {"محلی", "local"}, + {"سخت", "multiply"}, {"افزودن", "screen"}, + {"حذف", "overlay"}, {"تیره کردن", "darken"}, + {"روشن کردن", "lighten"}, {"سایه", "color-dodge"}, + {"فراکتال", "color-burn"}, {"حالت ترکیب", "hue"}, + {"مات", "saturation"}, {"رنگ", "color"}, + {"تن سایه", "luminosity"}, {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_clip[] = { + {"محتوا", "content-box"}, + {"حاشیه", "padding-box"}, + {"کل عنصر", "border-box"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_origin[] = { + {"محتوا", "content-box"}, + {"حاشیه", "padding-box"}, + {"کل عنصر", "border-box"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_position_x[] = { + {"چپ", "left"}, + {"مرکز", "center"}, + {"راست", "right"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_position_y[] = { + {"بالا", "top"}, + {"مرکز", "center"}, + {"پایین", "bottom"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_repeat[] = { + {"تکرار", "repeat"}, + {"تکرار در محور افقی", "repeat-x"}, + {"تکرار در محور عمودی", "repeat-y"}, + {"هیچ", "no-repeat"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_size[] = { + {"خودکار", "auto"}, + {"پوشش", "cover"}, + {"مناسب با محتوا", "contain"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_block_end_style[] = { + {"پیوسته", "solid"}, {"خط‌چین", "dashed"}, + {"خط چین", "dashed"}, {"نقطه‌چین", "dotted"}, + {"نقطه چین", "dotted"}, {"دوگانه", "double"}, + {"پنهان", "none"}, {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_block_end_width[] = { + {"خودکار", "auto"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_block_start_style[] = { + {"پیوسته", "solid"}, + {"خط‌چین", "dashed"}, + {"خط چین", "dashed"}, + {"نقطه چین", "dotted"}, + {"نقطه‌چین", "dotted"}, + {"دو گانه", "double"}, + {"دوگانه", "double"}, + {"پنهان", "none"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_block_start_width[] = { + {"خودکار", "auto"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_bottom_style[] = { + {"پیوسته", "solid"}, + {"خط چین", "dashed"}, + {"خط‌چین", "dashed"}, + {"نقطه چین", "dotted"}, + {"نقطه‌چین", "dotted"}, + {"دو گانه", "double"}, + {"دوگانه", "double"}, + {"پنهان", "none"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_collapse[] = { + {"بله", "collapse"}, {"اره", "collapse"}, {"خیر", "separate"}, + {"نه", "separate"}, {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_image_repeat[] = { + {"تکرار", "repeat"}, {"تکرارافقی", "repeat-x"}, + {"تکرار افقی", "repeat-x"}, {"تکرارعمودی", "repeat-y"}, + {"تکرار عمودی", "repeat-y"}, {"بدون‌تکرار", "no-repeat"}, + {"بدون تکرار", "no-repeat"}, {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_image_source[] = { + {"هیچ", "none"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_image_width[] = { + {"خودکار", "auto"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_inline_end_style[] = { + {"پیوسته", "solid"}, + {"خط‌چین", "dashed"}, + {"خط چین", "dashed"}, + {"نقطه‌ چین", "dotted"}, + {"نقطه‌چین", "dotted"}, + {"دوگانه", "double"}, + {"دو گانه", "double"}, + {"پنهان", "none"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_inline_start_style[] = { + {"پیوسته", "solid"}, + {"خط چین", "dashed"}, + {"خط‌چین", "dashed"}, + {"نقطه چین", "dotted"}, + {"نقطه‌چین", "dotted"}, + {"دو گانه", "double"}, + {"دوگانه", "double"}, + {"پنهان", "none"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_left_style[] = { + {"پیوسته", "solid"}, + {"خط چین", "dashed"}, + {"خط‌چین", "dashed"}, + {"نقطه چین", "dotted"}, + {"نقطه‌چین", "dotted"}, + {"دو گانه", "double"}, + {"دوگانه", "double"}, + {"پنهان", "none"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_right_style[] = { + {"پیوسته", "solid"}, + {"خط چین", "dashed"}, + {"خط‌چین", "dashed"}, + {"نقطه چین", "dotted"}, + {"نقطه‌چین", "dotted"}, + {"دو گانه", "double"}, + {"دوگانه", "double"}, + {"پنهان", "none"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_top_style[] = { + {"پیوسته", "solid"}, + {"خط چین", "dashed"}, + {"خط‌چین", "dashed"}, + {"نقطه چین", "dotted"}, + {"نقطه‌چین", "dotted"}, + {"دو گانه", "double"}, + {"دوگانه", "double"}, + {"پنهان", "none"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_bottom[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_box_sizing[] = { - {"محتویات", "content-box"}, - {"مرزی", "border-box"}, - {NULL, NULL}, + {"محتویات", "content-box"}, + {"مرزی", "border-box"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_break_inside[] = { - {"اجتناب", "avoid"}, - {"اجتناب پرچم", "avoid-page"}, - {"اجتناب صفحه", "avoid-column"}, - {"شکست", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_break_inside[] = + { + {"اجتناب", "avoid"}, + {"اجتناب پرچم", "avoid-page"}, + {"اجتناب صفحه", "avoid-column"}, + {"شکست", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_break_before[] = { - {"شکست", "auto"}, - {"صفحه", "page"}, - {"ستون", "column"}, - {"خلاصه", "region"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_break_before[] = + { + {"شکست", "auto"}, {"صفحه", "page"}, {"ستون", "column"}, + {"خلاصه", "region"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_break_after[] = { - {"شکست", "auto"}, - {"صفحه", "page"}, - {"ستون", "column"}, - {"خلاصه", "region"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_break_after[] = + { + {"شکست", "auto"}, {"صفحه", "page"}, {"ستون", "column"}, + {"خلاصه", "region"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_caption_side[] = { - {"هیچ", "none"}, - {"بالا", "top"}, - {"پایین", "bottom"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_caption_side[] = + { + {"هیچ", "none"}, + {"بالا", "top"}, + {"پایین", "bottom"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_clear[] = { - {"پایین", "none"}, - {"راست", "right"}, - {"چپ", "left"}, - {"هردو", "both"}, - {"هر دو", "both"}, - {NULL, NULL}, + {"پایین", "none"}, {"راست", "right"}, {"چپ", "left"}, + {"هردو", "both"}, {"هر دو", "both"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_clip_path[] = { - {"هیچ", "none"}, - {"دایره", "circle()"}, - {"مستطیل", "rect()"}, - {"پنج‌ ضلعی", "polygon()"}, - {"پنج‌ضلعی", "polygon()"}, - {"مسیر", "path()"}, - {NULL, NULL}, + {"هیچ", "none"}, + {"دایره", "circle()"}, + {"مستطیل", "rect()"}, + {"پنج‌ ضلعی", "polygon()"}, + {"پنج‌ضلعی", "polygon()"}, + {"مسیر", "path()"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_clip_rule[] = { - {"تازه", "nonzero"}, - {"یکسان", "evenodd"}, - {NULL, NULL}, + {"تازه", "nonzero"}, + {"یکسان", "evenodd"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_color_interpolation[] = { - {"خودکار", "auto"}, - {"RGB", "srgb"}, - {"rgb", "srgb"}, - {"خطی", "linearRGB"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_color_interpolation[] = { + {"خودکار", "auto"}, {"RGB", "srgb"}, {"rgb", "srgb"}, + {"خطی", "linearRGB"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_color_interpolation_filters[] = { - {"خودکار", "auto"}, - {"RGB", "srgb"}, - {"rgb", "srgb"}, - {"خطی", "linearRGB"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_color_interpolation_filters[] = { + {"خودکار", "auto"}, {"RGB", "srgb"}, {"rgb", "srgb"}, + {"خطی", "linearRGB"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_color_scheme[] = { - {"خودکار", "auto"}, - {"روشن", "light"}, - {"تاریک", "dark"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_color_scheme[] = + { + {"خودکار", "auto"}, + {"روشن", "light"}, + {"تاریک", "dark"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_count[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_count[] = + { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_fill[] = { - {"خودکار", "auto"}, - {"بلافاصله", "balance"}, - {"بلا فاصله", "balance"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_fill[] = + { + {"خودکار", "auto"}, + {"بلافاصله", "balance"}, + {"بلا فاصله", "balance"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_rule_style[] = { - {"پیوسته", "solid"}, - {"خط‌چین", "dashed"}, - {"خط چین", "dashed"}, - {"نقطه‌چین", "dotted"}, - {"نقطه چین", "dotted"}, - {"دوگانه", "double"}, - {"دو گانه", "double"}, - {"پنهان", "none"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_column_rule_style[] = { + {"پیوسته", "solid"}, {"خط‌چین", "dashed"}, + {"خط چین", "dashed"}, {"نقطه‌چین", "dotted"}, + {"نقطه چین", "dotted"}, {"دوگانه", "double"}, + {"دو گانه", "double"}, {"پنهان", "none"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_span[] = { - {"یک ستون", "none"}, - {"بیش از یک ستون", "all"}, - {"بیش از یک‌ستون", "all"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_span[] = + { + {"یک ستون", "none"}, + {"بیش از یک ستون", "all"}, + {"بیش از یک‌ستون", "all"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain[] = { - {"خودکار", "auto"}, - {"محتوا", "content"}, - {"لایه", "layout"}, - {"اندازه", "size"}, - {"لایه و اندازه", "layout size"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {"محتوا", "content"}, + {"لایه", "layout"}, + {"اندازه", "size"}, + {"لایه و اندازه", "layout size"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_block_size[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_block_size[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_height[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_height[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_inline_size[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_inline_size[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_size[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_size[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_width[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_width[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_container[] = { - {"خودکار", "auto"}, - {"کامل", "inline-size"}, - {"بیشتر", "block-size"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {"کامل", "inline-size"}, + {"بیشتر", "block-size"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_container_name[] = { - {"نام", "name"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_container_name[] = { + {"نام", "name"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_container_type[] = { - {"خودکار", "auto"}, - {"بزرگ", "inline-size"}, - {"بیشتر", "block-size"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_container_type[] = { + {"خودکار", "auto"}, + {"بزرگ", "inline-size"}, + {"بیشتر", "block-size"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_content[] = { - {"خالی", "none"}, - {"محتوا", "content"}, - {"متغیر", "var()"}, - {NULL, NULL}, + {"خالی", "none"}, + {"محتوا", "content"}, + {"متغیر", "var()"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_content_visibility[] = { - {"پنهان", "hidden"}, - {"معلوم", "visible"}, - {"مشاهده", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_content_visibility[] = { + {"پنهان", "hidden"}, + {"معلوم", "visible"}, + {"مشاهده", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_counter_increment[] = { - {"عدد", "number"}, - {"حساب", "counter()"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_counter_increment[] = { + {"عدد", "number"}, + {"حساب", "counter()"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_counter_set[] = { - {"عدد", "number"}, - {"شمارنده", "counter()"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_counter_set[] = + { + {"عدد", "number"}, + {"شمارنده", "counter()"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_cursor[] = { - {"دست", "pointer"}, - {"نشانگر", "default"}, - {"مشکل", "not-allowed"}, - {"متن", "text"}, - {"بازی", "progress"}, - {NULL, NULL}, + {"دست", "pointer"}, {"نشانگر", "default"}, {"مشکل", "not-allowed"}, + {"متن", "text"}, {"بازی", "progress"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_direction[] = { - {"چپ به راست", "ltr"}, - {"راست به چپ", "rtl"}, - {NULL, NULL}, + {"چپ به راست", "ltr"}, + {"راست به چپ", "rtl"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_display[] = { - {"بلوک", "block"}, - {"خطی", "inline"}, - {"بلوک خطی", "inline-block"}, - {"پنهان", "none"}, - {"فلکس", "flex"}, - {"منطف", "flex"}, - {"محتوا", "contents"}, - {"شبکه", "grid"}, - {"فرعی", "subgrid"}, - {"فهرست", "list-item"}, - {"فهرست داخلی", "inline-list-item"}, - {"جدول", "table"}, - {"جدول سطر گروه", "table-row-group"}, - {"جدول سربرگ گروه", "table-header-group"}, - {"جدول زیرنویس گروه", "table-footer-group"}, - {"جدول ردیف", "table-row"}, - {"جدول سلول", "table-cell"}, - {"جدول ستون", "table-column"}, - {"جدول گروه ستون", "table-column-group"}, - {"جدول ثابت", "table-caption"}, - {"شبکه داخلی", "table-column"}, - {"فلکس داخلی", "inline-flex"}, - {"محتوا داخلی", "inline-contents"}, - {"محتوای شبکه", "ruby"}, - {"پایه شبکه", "ruby-base"}, - {"روبی گروه", "ruby-text"}, - {"پایه روبی داخلی", "ruby-base-container"}, - {"متن روبی داخلی", "ruby-text-container"}, - {"گروه روبی داخلی", "inline-contents"}, - {"اصطلاح", "run-in"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_align_items[] = { - {"پنهان", "hide"}, - {"شروع", "flex-start"}, - {"مرکز", "center"}, - {"پایان", "flex-end"}, - {"کشش", "stretch"}, - {"خط مبنا", "baseline"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_empty_cells[] = { - {"پنهان", "hide"}, - {"نمایش", "show"}, - {NULL, NULL}, + {"بلوک", "block"}, + {"خطی", "inline"}, + {"بلوک خطی", "inline-block"}, + {"پنهان", "none"}, + {"فلکس", "flex"}, + {"منطف", "flex"}, + {"محتوا", "contents"}, + {"شبکه", "grid"}, + {"فرعی", "subgrid"}, + {"فهرست", "list-item"}, + {"فهرست داخلی", "inline-list-item"}, + {"جدول", "table"}, + {"جدول سطر گروه", "table-row-group"}, + {"جدول سربرگ گروه", "table-header-group"}, + {"جدول زیرنویس گروه", "table-footer-group"}, + {"جدول ردیف", "table-row"}, + {"جدول سلول", "table-cell"}, + {"جدول ستون", "table-column"}, + {"جدول گروه ستون", "table-column-group"}, + {"جدول ثابت", "table-caption"}, + {"شبکه داخلی", "table-column"}, + {"فلکس داخلی", "inline-flex"}, + {"محتوا داخلی", "inline-contents"}, + {"محتوای شبکه", "ruby"}, + {"پایه شبکه", "ruby-base"}, + {"روبی گروه", "ruby-text"}, + {"پایه روبی داخلی", "ruby-base-container"}, + {"متن روبی داخلی", "ruby-text-container"}, + {"گروه روبی داخلی", "inline-contents"}, + {"اصطلاح", "run-in"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_align_items[] = + { + {"پنهان", "hide"}, {"شروع", "flex-start"}, {"مرکز", "center"}, + {"پایان", "flex-end"}, {"کشش", "stretch"}, {"خط مبنا", "baseline"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_empty_cells[] = + { + {"پنهان", "hide"}, + {"نمایش", "show"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_fill[] = { - {"رنگ", "color"}, - {"تصویر", "image"}, - {NULL, NULL}, + {"رنگ", "color"}, + {"تصویر", "image"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_fill_rule[] = { - {"تازه", "nonzero"}, - {"یکسان", "evenodd"}, - {NULL, NULL}, + {"تازه", "nonzero"}, + {"یکسان", "evenodd"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_filter[] = { - {"مات", "blur()"}, - {"گرم", "blur()"}, - {"کنتراست", "brightness()"}, - {"گرادیان", "drop-shadow()"}, - {NULL, NULL}, + {"مات", "blur()"}, + {"گرم", "blur()"}, + {"کنتراست", "brightness()"}, + {"گرادیان", "drop-shadow()"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex_basis[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex_direction[] = { - {"افقی", "row"}, - {"عمودی", "column"}, - {"افقی معکوس", "row-reverse"}, - {"عمودی معکوس", "column-reverse"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_flex_direction[] = { + {"افقی", "row"}, + {"عمودی", "column"}, + {"افقی معکوس", "row-reverse"}, + {"عمودی معکوس", "column-reverse"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex_flow[] = { - {"جهت فلکس و چینش", "row wrap"}, - {"پخش", "row nowrap"}, - {"جهت عمودی و چینش", "column wrap"}, - {"عمودی و پخش", "column nowrap"}, - {NULL, NULL}, + {"جهت فلکس و چینش", "row wrap"}, + {"پخش", "row nowrap"}, + {"جهت عمودی و چینش", "column wrap"}, + {"عمودی و پخش", "column nowrap"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex_wrap[] = { - {"پهن", "nowrap"}, - {"چینش", "wrap"}, - {"چینش معکوس", "wrap-reverse"}, - {NULL, NULL}, + {"پهن", "nowrap"}, + {"چینش", "wrap"}, + {"چینش معکوس", "wrap-reverse"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_float[] = { - {"چپ", "left"}, - {"راست", "right"}, - {"خالی", "none"}, - {NULL, NULL}, + {"چپ", "left"}, + {"راست", "right"}, + {"خالی", "none"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font[] = { - {NULL, NULL}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_display[] = { - {"خودکار", "auto"}, - {"بلوک", "block"}, - {"تعویض", "swap"}, - {"پشتیبانی", "fallback"}, - {"اختیاری", "optional"}, - {"دلخواه", "optional"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_display[] = + { + {"خودکار", "auto"}, + {"بلوک", "block"}, + {"تعویض", "swap"}, + {"پشتیبانی", "fallback"}, + {"اختیاری", "optional"}, + {"دلخواه", "optional"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_family[] = { - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_family[] = + { + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_feature_settings[] = { - {"خودکار", "auto"}, - {"فعال", "normal"}, - {"غیرفعال", "none"}, - {"غیر فعال", "none"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_feature_settings[] = { + {"خودکار", "auto"}, {"فعال", "normal"}, {"غیرفعال", "none"}, + {"غیر فعال", "none"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_kerning[] = { - {"خودکار", "auto"}, - {"نه", "none"}, - {"بله", "normal"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_kerning[] = + { + {"خودکار", "auto"}, + {"نه", "none"}, + {"بله", "normal"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_language_override[] = { - {"خودکار", "auto"}, - {"غیر فعال", "normal"}, - {"غیرفعال", "normal"}, - {"فعال", "override"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_language_override[] = { + {"خودکار", "auto"}, {"غیر فعال", "normal"}, {"غیرفعال", "normal"}, + {"فعال", "override"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_optical_sizing[] = { - {"خودکار", "auto"}, - {"سازگار", "optical"}, - {"غیر سازگار", "none"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_optical_sizing[] = { + {"خودکار", "auto"}, + {"سازگار", "optical"}, + {"غیر سازگار", "none"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_stretch[] = { - {"پهن", "ultra-condensed"}, - {"متوسط", "normal"}, - {"کشیده", "ultra-expanded"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_stretch[] = + { + {"پهن", "ultra-condensed"}, + {"متوسط", "normal"}, + {"کشیده", "ultra-expanded"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_style[] = { - {"عادی", "normal"}, - {"معمولی", "normal"}, - {"خوب", "italic"}, - {"خمیده", "oblique"}, - {NULL, NULL}, + {"عادی", "normal"}, {"معمولی", "normal"}, {"خوب", "italic"}, + {"خمیده", "oblique"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_variant[] = { - {"معمولی", "normal"}, - {"عادی", "normal"}, - {"حرف‌های بزرگ", "small-caps"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_variant[] = + { + {"معمولی", "normal"}, + {"عادی", "normal"}, + {"حرف‌های بزرگ", "small-caps"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_weight[] = { - {"معمولی", "normal"}, - {"عادی", "normal"}, - {"ضخیم", "bold"}, - {"سنگین", "bold"}, - {"خیلی ضخیم", "bolder"}, - {"خیلی سنگین", "bolder"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_weight[] = + { + {"معمولی", "normal"}, {"عادی", "normal"}, {"ضخیم", "bold"}, + {"سنگین", "bold"}, {"خیلی ضخیم", "bolder"}, {"خیلی سنگین", "bolder"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid[] = { - {"خودکار", "auto"}, - {"ستون", "column"}, - {"ردیف", "row"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {"ستون", "column"}, + {"ردیف", "row"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_area[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_auto_columns[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_auto_columns[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_auto_flow[] = { - {"خودکار", "auto"}, - {"ستون", "column"}, - {"ردیف", "row"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_auto_flow[] = { + {"خودکار", "auto"}, + {"ستون", "column"}, + {"ردیف", "row"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_auto_rows[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_auto_rows[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_column[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_column[] = + { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_column_end[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_column_end[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_column_start[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_column_start[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_row[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_row_end[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_row_end[] = + { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_row_start[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_row_start[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_template[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_template[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_template_areas[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_template_areas[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_template_columns[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_template_columns[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_template_rows[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_template_rows[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_height[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_justify_content[] = { - {"چپ", "flex-start"}, - {"مرکز", "center"}, - {"راست", "flex-end"}, - {"پخش", "space-between"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_justify_content[] = { + {"چپ", "flex-start"}, {"مرکز", "center"}, {"راست", "flex-end"}, + {"پخش", "space-between"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_left[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_list_style[] = { - {"پوشش", "cover"}, - {"نشان‌دهنده", "disc"}, - {"نشان دهنده", "disc"}, - {"دایره‌ای", "circle"}, - {"مستطیل", "square"}, - {"پنهان", "none"}, - {"غیر فعال", "none"}, - {NULL, NULL}, + {"پوشش", "cover"}, {"نشان‌دهنده", "disc"}, + {"نشان دهنده", "disc"}, {"دایره‌ای", "circle"}, + {"مستطیل", "square"}, {"پنهان", "none"}, + {"غیر فعال", "none"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_bottom[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_margin_bottom[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_left[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_left[] = + { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_right[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_right[] = + { + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_top[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_object_fit[] = { - {"پوشش", "cover"}, - {"پوشش کامل", "contain"}, - {"خودکار", "auto"}, - {NULL, NULL}, + {"پوشش", "cover"}, + {"پوشش کامل", "contain"}, + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_decoration[] = { - {"زیرخط", "underline"}, - {"زیر خط", "underline"}, - {"خط خورده", "line-through"}, - {"بی‌خط", "none"}, - {"بی خط", "none"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_text_decoration[] = { + {"زیرخط", "underline"}, + {"زیر خط", "underline"}, + {"خط خورده", "line-through"}, + {"بی‌خط", "none"}, + {"بی خط", "none"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_z_index[] = { - {NULL, NULL}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_outline_color[] = { - {"هیچ", "none"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_outline_color[] = { + {"هیچ", "none"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_outline_style[] = { - {"خط‌چین", "dashed"}, - {"خط چین", "dashed"}, - {"خط دار", "dotted"}, - {"خط‌دار", "dotted"}, - {"مستقیم", "solid"}, - {"دو گانه", "double"}, - {"دوگانه", "double"}, - {"موجی", "groove"}, - {"فرورفته", "inset"}, - {"فرو رفته", "inset"}, - {"برامده", "outset"}, - {"برآمده", "outset"}, - {"برامده", "outset"}, - {"هیچ", "none"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_outline_style[] = { + {"خط‌چین", "dashed"}, + {"خط چین", "dashed"}, + {"خط دار", "dotted"}, + {"خط‌دار", "dotted"}, + {"مستقیم", "solid"}, + {"دو گانه", "double"}, + {"دوگانه", "double"}, + {"موجی", "groove"}, + {"فرورفته", "inset"}, + {"فرو رفته", "inset"}, + {"برامده", "outset"}, + {"برآمده", "outset"}, + {"برامده", "outset"}, + {"هیچ", "none"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_outline_width[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_outline_width[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow[] = { - {"پنهان", "hidden"}, - {"غیرفعال", "visible"}, - {"غیر فعال", "visible"}, - {"چرخش", "scroll"}, - {"خودکار", "auto"}, - {NULL, NULL}, + {"پنهان", "hidden"}, {"غیرفعال", "visible"}, {"غیر فعال", "visible"}, + {"چرخش", "scroll"}, {"خودکار", "auto"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_anchor[] = { - {"بله", "auto"}, - {"خیر", "none"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_anchor[] = { + {"بله", "auto"}, + {"خیر", "none"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_block[] = { - {"پنهان", "hidden"}, - {"غیرفعال", "visible"}, - {"غیر فعال", "visible"}, - {"چرخش", "scroll"}, - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_block[] = { + {"پنهان", "hidden"}, {"غیرفعال", "visible"}, {"غیر فعال", "visible"}, + {"چرخش", "scroll"}, {"خودکار", "auto"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_inline[] = { - {"پنهان", "hidden"}, - {"غیرفعال", "visible"}, - {"غیر فعال", "visible"}, - {"چرخش", "scroll"}, - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_inline[] = { + {"پنهان", "hidden"}, {"غیرفعال", "visible"}, {"غیر فعال", "visible"}, + {"چرخش", "scroll"}, {"خودکار", "auto"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_wrap[] = { - {"خیر", "auto"}, - {"بله", "break-word"}, - {"خیر", "normal"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_wrap[] = { + {"خیر", "auto"}, + {"بله", "break-word"}, + {"خیر", "normal"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_x[] = { - {"پنهان", "hidden"}, - {"غیر فعال", "visible"}, - {"غیرفعال", "visible"}, - {"چرخش", "scroll"}, - {"خودکار", "auto"}, - {NULL, NULL}, + {"پنهان", "hidden"}, {"غیر فعال", "visible"}, {"غیرفعال", "visible"}, + {"چرخش", "scroll"}, {"خودکار", "auto"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_y[] = { - {"پنهان", "hidden"}, - {"غیر فعال", "visible"}, - {"غیرفعال", "visible"}, - {"چرخش", "scroll"}, - {"خودکار", "auto"}, - {NULL, NULL}, + {"پنهان", "hidden"}, {"غیر فعال", "visible"}, {"غیرفعال", "visible"}, + {"چرخش", "scroll"}, {"خودکار", "auto"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_block_end[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_block_end[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_block_start[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_block_start[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_bottom[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_bottom[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_inline[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_inline[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_inline_end[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_inline_end[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_inline_start[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_inline_start[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_left[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_left[] = + { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_right[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_right[] = { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_top[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_top[] = + { + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_page[] = { - {"خودکار", "auto"}, - {"بله", "auto"}, - {"خیر", "none"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {"بله", "auto"}, + {"خیر", "none"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_page_break_after[] = { - {"همیشه", "always"}, - {"بله", "always"}, - {"خیر", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_page_break_after[] = { + {"همیشه", "always"}, + {"بله", "always"}, + {"خیر", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_page_break_before[] = { - {"همیشه", "always"}, - {"بله", "always"}, - {"خیر", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_page_break_before[] = { + {"همیشه", "always"}, + {"بله", "always"}, + {"خیر", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_page_break_inside[] = { - {"بله", "auto"}, - {"خودکار", "auto"}, - {"خیر", "avoid"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_page_break_inside[] = { + {"بله", "auto"}, + {"خودکار", "auto"}, + {"خیر", "avoid"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_paint_order[] = { - {"محتوا", "content"}, - {"مرز", "border"}, - {"حاشیه", "border"}, - {"فاصله", "padding"}, - {"همه", "all"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_paint_order[] = + { + {"محتوا", "content"}, {"مرز", "border"}, {"حاشیه", "border"}, + {"فاصله", "padding"}, {"همه", "all"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_perspective[] = { - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_perspective[] = + { + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_place_content[] = { - {"فضا", "space-between"}, - {"مرکز", "center"}, - {"جپ", "start"}, - {"راست", "end"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_place_content[] = { + {"فضا", "space-between"}, {"مرکز", "center"}, {"جپ", "start"}, + {"راست", "end"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_place_items[] = { - {"فضا", "space-between"}, - {"مرکز", "center"}, - {"جپ", "start"}, - {"راست", "end"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_place_items[] = + { + {"فضا", "space-between"}, {"مرکز", "center"}, {"جپ", "start"}, + {"راست", "end"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_place_self[] = { - {"فضا", "space-between"}, - {"مرکز", "center"}, - {"جپ", "start"}, - {"راست", "end"}, - {NULL, NULL}, + {"فضا", "space-between"}, {"مرکز", "center"}, {"جپ", "start"}, + {"راست", "end"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_pointer_events[] = { - {"فعال", "auto"}, - {"غیرفعال", "none"}, - {"غیر فعال", "none"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_pointer_events[] = { + {"فعال", "auto"}, + {"غیرفعال", "none"}, + {"غیر فعال", "none"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_position[] = { - {"مطلق", "absolute"}, - {"ثابت", "fixed"}, - {"چسبان", "sticky"}, - {"نسبی", "relative"}, - {"خودکار", "static"}, - {NULL, NULL}, + {"مطلق", "absolute"}, {"ثابت", "fixed"}, {"چسبان", "sticky"}, + {"نسبی", "relative"}, {"خودکار", "static"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_print_color_adjust[] = { - {"خودکار", "auto"}, - {"بهینه", "exact"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_print_color_adjust[] = { + {"خودکار", "auto"}, + {"بهینه", "exact"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_quotes[] = { - {"هیچ", "none"}, - {"خودکار", "auto"}, - {"تکی", "\"«\" \"»\""}, - {"دوتایی", "\"«\" \"»\" \"‹\" \"›\""}, - {NULL, NULL}, + {"هیچ", "none"}, {"خودکار", "auto"}, + {"تکی", "\"«\" \"»\""}, {"دوتایی", "\"«\" \"»\" \"‹\" \"›\""}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_resize[] = { - {"افقی", "horizontal"}, - {"عمودی", "vertical"}, - {"خودکار", "both"}, - {"غیرفعال", "none"}, - {"غیر فعال", "none"}, - {NULL, NULL}, + {"افقی", "horizontal"}, {"عمودی", "vertical"}, {"خودکار", "both"}, + {"غیرفعال", "none"}, {"غیر فعال", "none"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_right[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_rotate[] = { - {"درجه", "deg"}, - {"رادیان", "rad"}, - {"مدور", "turn"}, - {NULL, NULL}, + {"درجه", "deg"}, + {"رادیان", "rad"}, + {"مدور", "turn"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_ruby_align[] = { - {"راست", "right"}, - {"چپ", "left"}, - {"مرکز", "center"}, - {"بنیاد", "base"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_ruby_position[] = { - {"", "smooth"}, - {"", "smooth"}, - {"بالا", "over"}, - {"روی", "over"}, - {"پایین", "under"}, - {"زیر", "under"}, - {"قبل", "before"}, - {"پیش", "before"}, - {"بعد", "after"}, - {"پس", "after"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_scroll_behavior[] = { - {"نرم", "smooth"}, - {"هموار", "smooth"}, - {"خودکار", "auto"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_scroll_snap_align[] = { - {"چپ", "start"}, - {"مرکز", "center"}, - {"راست", "end"}, - {"ترازبندی", "none"}, - {"تراز بندی", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_scroll_snap_type[] = { - {"دایره", "circle"}, - {"تک محور", "x"}, - {"تکمحور", "x"}, - {"دو محور", "y"}, - {"دومحور", "y"}, - {"غیرفعال", "none"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_shape_outside[] = { - {"دایره", "circle"}, - {"مستطیل", "rect"}, - {"بیضی", "ellipse"}, - {NULL, NULL}, + {"راست", "right"}, {"چپ", "left"}, {"مرکز", "center"}, + {"بنیاد", "base"}, {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_ruby_position[] = { + {"", "smooth"}, {"", "smooth"}, {"بالا", "over"}, + {"روی", "over"}, {"پایین", "under"}, {"زیر", "under"}, + {"قبل", "before"}, {"پیش", "before"}, {"بعد", "after"}, + {"پس", "after"}, {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_scroll_behavior[] = { + {"نرم", "smooth"}, + {"هموار", "smooth"}, + {"خودکار", "auto"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_scroll_snap_align[] = { + {"چپ", "start"}, {"مرکز", "center"}, {"راست", "end"}, + {"ترازبندی", "none"}, {"تراز بندی", "none"}, {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_scroll_snap_type[] = { + {"دایره", "circle"}, {"تک محور", "x"}, {"تکمحور", "x"}, + {"دو محور", "y"}, {"دومحور", "y"}, {"غیرفعال", "none"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_shape_outside[] = { + {"دایره", "circle"}, + {"مستطیل", "rect"}, + {"بیضی", "ellipse"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_align[] = { - {"چپ", "left"}, - {"راست", "right"}, - {"مرکز", "center"}, - {"ترازبندی", "justify"}, - {"تراز بندی", "justify"}, - {NULL, NULL}, + {"چپ", "left"}, {"راست", "right"}, {"مرکز", "center"}, + {"ترازبندی", "justify"}, {"تراز بندی", "justify"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_align_last[] = { - {"خودکار", "auto"}, - {"چپ", "left"}, - {"راست", "right"}, - {"مرکز", "center"}, - {"تراز بندی", "justify"}, - {"تراز‌بندی", "justify"}, - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_text_align_last[] = { + {"خودکار", "auto"}, {"چپ", "left"}, + {"راست", "right"}, {"مرکز", "center"}, + {"تراز بندی", "justify"}, {"تراز‌بندی", "justify"}, + {"خودکار", "auto"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_indent[] = { - {"خودکار", "auto"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_indent[] = + { + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_transform[] = { - {"بزرگ", "uppercase"}, - {"کوچک", "lowercase"}, - {"بزرگ و کوچک", "capitalize"}, - {"خودکار", "none"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_text_transform[] = { + {"بزرگ", "uppercase"}, + {"کوچک", "lowercase"}, + {"بزرگ و کوچک", "capitalize"}, + {"خودکار", "none"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_top[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transform[] = { - {"چرخش", "rotate"}, - {"مقیاس", "scale"}, - {"ترجمه", "translate"}, - {"شیب", "skew"}, - {NULL, NULL}, + {"چرخش", "rotate"}, {"مقیاس", "scale"}, {"ترجمه", "translate"}, + {"شیب", "skew"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_unicode_bidi[] = { - {"خودکار", "normal"}, - {"معکوس", "bidi-override"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_unicode_bidi[] = + { + {"خودکار", "normal"}, + {"معکوس", "bidi-override"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_user_select[] = { - {"اجازه", "auto"}, - {"غیرفعال", "none"}, - {"غیر فعال", "none"}, - {"جلوگیری", "text"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_user_select[] = + { + {"اجازه", "auto"}, {"غیرفعال", "none"}, {"غیر فعال", "none"}, + {"جلوگیری", "text"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_width[] = { - {"خودکار", "auto"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_will_change[] = { - {"خودکار", "auto"}, - {"شفاف", "transform"}, - {"کاهش", "opacity"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_will_change[] = + { + {"خودکار", "auto"}, + {"شفاف", "transform"}, + {"کاهش", "opacity"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transform_box[] = { - {"مرز", "border-box"}, - {"محتوا", "content-box"}, - {"پوشش", "fill-box"}, - {"نمایش", "view-box"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transform_box[] = { + {"مرز", "border-box"}, {"محتوا", "content-box"}, + {"پوشش", "fill-box"}, {"نمایش", "view-box"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transform_origin[] = { - {"مرکز", "center"}, - {"چپ", "left"}, - {"راست", "right"}, - {"بالا", "top"}, - {"پایین", "bottom"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transform_origin[] = { + {"مرکز", "center"}, {"چپ", "left"}, {"راست", "right"}, + {"بالا", "top"}, {"پایین", "bottom"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transform_style[] = { - {"مسطح", "flat"}, - {"سه‌بعدی", "preserve-3d"}, - {"سه بعدی", "preserve-3d"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transform_style[] = { + {"مسطح", "flat"}, + {"سه‌بعدی", "preserve-3d"}, + {"سه بعدی", "preserve-3d"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition[] = { - {"مدت", "duration"}, - {"تاخیر", "delay"}, - {"ویژگی", "property"}, - {"تابع زمان ‌بندی", "timing-function"}, - {"تابع زمان‌بندی", "timing-function"}, - {NULL, NULL}, + {"مدت", "duration"}, + {"تاخیر", "delay"}, + {"ویژگی", "property"}, + {"تابع زمان ‌بندی", "timing-function"}, + {"تابع زمان‌بندی", "timing-function"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_behavior[] = { - {"مسطح", "flat"}, - {"مناسب", "smooth"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_behavior[] = { + {"مسطح", "flat"}, + {"مناسب", "smooth"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_delay[] = { - {"ثانیه", "s"}, - {"میلی‌ ثانیه", "ms"}, - {"میلی‌ثانیه", "ms"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_delay[] = { + {"ثانیه", "s"}, + {"میلی‌ ثانیه", "ms"}, + {"میلی‌ثانیه", "ms"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_duration[] = { - {"ثانیه", "s"}, - {"میلی‌ ثانیه", "ms"}, - {"میلی‌ثانیه", "ms"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_duration[] = { + {"ثانیه", "s"}, + {"میلی‌ ثانیه", "ms"}, + {"میلی‌ثانیه", "ms"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_property[] = { - {"همه", "all"}, - {"عرض", "width"}, - {"ارتفاع", "height"}, - {"شفافیت", "opacity"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_property[] = { + {"همه", "all"}, {"عرض", "width"}, {"ارتفاع", "height"}, + {"شفافیت", "opacity"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_timing_function[] = { - {"وارد شدن", "ease-in"}, - {"خارج شدن", "ease-out"}, - {"وارد و خارج شدن", "ease-in-out"}, - {"خطی", "linear"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_timing_function[] = { + {"وارد شدن", "ease-in"}, + {"خارج شدن", "ease-out"}, + {"وارد و خارج شدن", "ease-in-out"}, + {"خطی", "linear"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_vector_effect[] = { - {"هیچ", "none"}, - {"مقیاس", "non-scaling-stroke"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_vector_effect[] = { + {"هیچ", "none"}, + {"مقیاس", "non-scaling-stroke"}, + {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_vertical_align[] = { - {"بالا", "top"}, - {"پایین", "bottom"}, - {"میانه", "middle"}, - {"متن بالا", "text-top"}, - {"متن پایین", "text-bottom"}, - {"زیرنویس", "sub"}, - {"متن بالانویس", "super"}, - {"بیس لاین", "baseline"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_vertical_align[] = { + {"بالا", "top"}, + {"پایین", "bottom"}, + {"میانه", "middle"}, + {"متن بالا", "text-top"}, + {"متن پایین", "text-bottom"}, + {"زیرنویس", "sub"}, + {"متن بالانویس", "super"}, + {"بیس لاین", "baseline"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_visibility[] = { - {"ظاهر", "visible"}, - {"قابل مشاهده", "visible"}, - {"پنهان", "hidden"}, - {"خاموش", "collapse"}, - {NULL, NULL}, -}; - -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_white_space[] = { - {"عادی", "normal"}, - {"معمولی", "normal"}, - {"بدون شکستن", "nowrap"}, - {"پیش قالب‌بندی شده", "pre"}, - {"پیش قالب‌ بندی شده", "pre"}, - {"پیش قالب‌بندی شده و عادی", "pre-wrap"}, - {"پیش قالب‌ بندی شده و عادی", "pre-wrap"}, - {"پیش قالب‌بندی شده و شکستن", "pre-line"}, - {"پیش قالب‌ بندی شده و شکستن", "pre-line"}, - {NULL, NULL}, + {"ظاهر", "visible"}, {"قابل مشاهده", "visible"}, + {"پنهان", "hidden"}, {"خاموش", "collapse"}, + {NULL, NULL}, +}; + +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_white_space[] = + { + {"عادی", "normal"}, + {"معمولی", "normal"}, + {"بدون شکستن", "nowrap"}, + {"پیش قالب‌بندی شده", "pre"}, + {"پیش قالب‌ بندی شده", "pre"}, + {"پیش قالب‌بندی شده و عادی", "pre-wrap"}, + {"پیش قالب‌ بندی شده و عادی", "pre-wrap"}, + {"پیش قالب‌بندی شده و شکستن", "pre-line"}, + {"پیش قالب‌ بندی شده و شکستن", "pre-line"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_word_break[] = { - {"عادی", "normal"}, - {"معمولی", "normal"}, - {"بشکن", "break-all"}, - {"شکست کلمه", "keep-all"}, - {"شکست", "keep-all"}, - {NULL, NULL}, + {"عادی", "normal"}, {"معمولی", "normal"}, {"بشکن", "break-all"}, + {"شکست کلمه", "keep-all"}, {"شکست", "keep-all"}, {NULL, NULL}, }; -const ast_layout_attribute_pair_t ast_layout_allowed_style_list_writing_mode[] = { - {"افقی", "horizontal-tb"}, - {"عمودی از راست به چپ", "vertical-rl"}, - {"عمودی از چپ به راست", "vertical-lr"}, - {NULL, NULL}, +const ast_layout_attribute_pair_t ast_layout_allowed_style_list_writing_mode[] = + { + {"افقی", "horizontal-tb"}, + {"عمودی از راست به چپ", "vertical-rl"}, + {"عمودی از چپ به راست", "vertical-lr"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_style_list_zoom[] = { - {"خودکار", "auto"}, - {"مقیاس", "scale"}, - {NULL, NULL}, + {"خودکار", "auto"}, + {"مقیاس", "scale"}, + {NULL, NULL}, }; // ----------- END AUTO GENERATED ----------- // #endif - diff --git a/src/generated-config/ast_layout_attribute_style_value_extern.h b/src/generated-config/ast_layout_attribute_style_value_extern.h index 19b22b8b..3cb36653 100644 --- a/src/generated-config/ast_layout_attribute_style_value_extern.h +++ b/src/generated-config/ast_layout_attribute_style_value_extern.h @@ -1,7 +1,9 @@ // ----------- BEGIN AUTO GENERATED ----------- // -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_size_default[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_size_default[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_appearance[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_appearance[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_color[]; @@ -9,283 +11,409 @@ extern const ast_layout_attribute_pair_t ast_layout_allowed_style_width[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_height[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_aspect_ratio[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_aspect_ratio[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_backface_visibility[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_backface_visibility[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_block_size[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_block_size[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_image[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_image[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_attachment[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_attachment[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_blend_mode[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_blend_mode[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_clip[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_clip[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_origin[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_origin[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_position_x[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_position_x[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_position_y[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_position_y[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_repeat[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_repeat[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_background_size[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_background_size[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_block_end_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_block_end_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_block_end_width[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_block_end_width[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_block_start_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_block_start_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_block_start_width[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_block_start_width[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_bottom_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_bottom_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_collapse[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_collapse[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_image_repeat[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_image_repeat[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_image_source[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_image_source[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_image_width[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_image_width[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_inline_end_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_inline_end_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_inline_start_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_inline_start_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_left_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_left_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_right_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_right_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_border_top_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_border_top_style[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_bottom[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_box_sizing[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_box_sizing[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_break_inside[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_break_inside[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_break_before[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_break_before[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_break_after[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_break_after[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_caption_side[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_caption_side[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_clear[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_clip_path[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_clip_path[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_clip_rule[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_clip_rule[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_color_interpolation[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_color_interpolation[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_color_interpolation_filters[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_color_interpolation_filters[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_color_scheme[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_color_scheme[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_count[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_column_count[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_fill[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_column_fill[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_rule_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_column_rule_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_column_span[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_column_span[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_block_size[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_block_size[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_height[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_height[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_inline_size[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_inline_size[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_size[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_size[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_contain_intrinsic_width[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_contain_intrinsic_width[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_container[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_container[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_container_name[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_container_name[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_container_type[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_container_type[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_content[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_content[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_content_visibility[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_content_visibility[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_counter_increment[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_counter_increment[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_counter_set[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_counter_set[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_cursor[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_direction[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_direction[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_display[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_display[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_align_items[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_align_items[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_empty_cells[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_empty_cells[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_fill[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_fill_rule[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_fill_rule[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_filter[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex_basis[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_flex_basis[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex_direction[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_flex_direction[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex_flow[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_flex_flow[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_flex_wrap[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_flex_wrap[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_float[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_display[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_display[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_family[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_family[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_feature_settings[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_feature_settings[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_kerning[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_kerning[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_language_override[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_language_override[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_optical_sizing[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_optical_sizing[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_stretch[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_stretch[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_variant[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_variant[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_font_weight[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_font_weight[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_area[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_area[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_auto_columns[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_auto_columns[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_auto_flow[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_auto_flow[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_auto_rows[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_auto_rows[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_column[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_column[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_column_end[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_column_end[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_column_start[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_column_start[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_row[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_row[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_row_end[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_row_end[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_row_start[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_row_start[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_template[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_template[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_template_areas[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_template_areas[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_template_columns[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_template_columns[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_grid_template_rows[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_grid_template_rows[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_height[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_justify_content[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_justify_content[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_left[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_list_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_list_style[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_bottom[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_margin_bottom[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_left[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_margin_left[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_right[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_margin_right[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_margin_top[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_margin_top[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_object_fit[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_object_fit[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_decoration[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_text_decoration[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_z_index[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_z_index[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_outline_color[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_outline_color[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_outline_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_outline_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_outline_width[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_outline_width[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_anchor[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_anchor[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_block[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_block[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_inline[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_inline[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_wrap[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_wrap[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_x[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_x[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_overflow_y[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_overflow_y[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_block_end[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_block_end[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_block_start[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_block_start[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_bottom[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_bottom[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_inline[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_inline[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_inline_end[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_inline_end[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_inline_start[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_inline_start[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_left[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_left[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_right[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_right[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_padding_top[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_padding_top[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_page[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_page_break_after[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_page_break_after[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_page_break_before[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_page_break_before[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_page_break_inside[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_page_break_inside[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_paint_order[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_paint_order[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_perspective[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_perspective[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_place_content[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_place_content[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_place_items[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_place_items[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_place_self[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_place_self[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_pointer_events[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_pointer_events[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_position[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_position[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_print_color_adjust[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_print_color_adjust[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_quotes[]; @@ -295,67 +423,96 @@ extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_right[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_rotate[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_ruby_align[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_ruby_align[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_ruby_position[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_ruby_position[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_scroll_behavior[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_scroll_behavior[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_scroll_snap_align[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_scroll_snap_align[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_scroll_snap_type[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_scroll_snap_type[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_shape_outside[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_shape_outside[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_align[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_text_align[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_align_last[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_text_align_last[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_indent[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_text_indent[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_text_transform[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_text_transform[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_top[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transform[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transform[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_unicode_bidi[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_unicode_bidi[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_user_select[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_user_select[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_width[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_will_change[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_will_change[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transform_box[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transform_box[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transform_origin[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transform_origin[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transform_style[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transform_style[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_behavior[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_behavior[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_delay[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_delay[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_duration[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_duration[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_property[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_property[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_transition_timing_function[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_transition_timing_function[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_vector_effect[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_vector_effect[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_vertical_align[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_vertical_align[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_visibility[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_visibility[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_white_space[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_white_space[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_word_break[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_word_break[]; -extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_writing_mode[]; +extern const ast_layout_attribute_pair_t + ast_layout_allowed_style_list_writing_mode[]; extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_zoom[]; diff --git a/src/generated-config/ast_layout_attribute_type.h b/src/generated-config/ast_layout_attribute_type.h index 63b1cd5e..d0eaf605 100644 --- a/src/generated-config/ast_layout_attribute_type.h +++ b/src/generated-config/ast_layout_attribute_type.h @@ -1,72 +1,177 @@ // ----------- BEGIN AUTO GENERATED ----------- // -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_ERROR, "ERROR", "error", "", "", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_GROUP, "GROUP", "group", "گروه", "group", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_WEIGHT, "FONT_WEIGHT", "font_weight", "وزن", "font-weight", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_UNICODE_RANGE, "FONT_UNICODE_RANGE", "font_unicode_range", "محدود یونیکد", "unicode-range", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_STYLE, "FONT_STYLE", "font_style", "سبک", "font-style", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_CLASS, "CLASS", "class", "کلاس", "class", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_ID, "ID", "id", "شناسه", "id", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, "CONTENT", "content", "محتوا", "content", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_SRC, "FONT_SRC", "font_src", "منبع", "src", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_FONT_URL) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_HREF, "HREF", "href", "منبع", "href", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_SRC, "SRC", "src", "منبع", "src", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_LABEL, "LABEL", "label", "برچسب", "label", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, "REPEAT", "repeat", "تکرار", "repeat", AST_LAYOUT_ATTRIBUTE_FILTER_NUMBER, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_DIR, "DIR", "dir", "جهت", "dir", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_dir, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_LANG, "LANG", "lang", "زبان", "lang", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_lang, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_TITLE, "TITLE", "title", "عنوان", "title", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_TYPE, "TYPE", "type", "نوع", "type", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_form_type, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_KIND, "KIND", "kind", "روش", "target", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_form_kind, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_AUTHOR, "AUTHOR", "author", "نویسنده", "author", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_DESCRIPTION, "DESCRIPTION", "description", "توضیح", "description", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_KEYWORDS, "KEYWORDS", "keywords", "کلمات", "keywords", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_ICON, "ICON", "icon", "نمایه", "icon", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_NAME, "FONT_NAME", "font_name", "نام", "font-family", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_NAME, "NAME", "name", "نام", "name", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_CHARSET, "CHARSET", "charset", "فرمت متنی", "charset", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, ast_layout_allowed_charset, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_REFRESH, "REFRESH", "refresh", "بروزرسانی", "refresh", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_VIEWPORT, "VIEWPORT", "viewport", "محدوده نمایش", "viewport", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_VALUE, "VALUE", "value", "مقدار", "value", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FOR, "FOR", "for", "برای", "for", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_PLACEHOLDER, "PLACEHOLDER", "placeholder", "راهنما", "placeholder", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_REQUIRED, "REQUIRED", "required", "اجباری", "required", AST_LAYOUT_ATTRIBUTE_FILTER_BOOL, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MAX_WIDTH, "RESPONSIVE_MAX_WIDTH", "responsive_max_width", "شرط حداکثر عرض", "media-max-width", AST_LAYOUT_ATTRIBUTE_FILTER_NUMBER, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MAX_HEIGHT, "RESPONSIVE_MAX_HEIGHT", "responsive_max_height", "شرط حداکثر ارتفاع", "media-max-height", AST_LAYOUT_ATTRIBUTE_FILTER_NUMBER, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MIN_WIDTH, "RESPONSIVE_MIN_WIDTH", "responsive_min_width", "شرط حداقل عرض", "media-min-width", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) - -ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MIN_HEIGHT, "RESPONSIVE_MIN_HEIGHT", "responsive_min_height", "شرط حداقل ارتفاع", "media-min-height", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_ERROR, "ERROR", "error", "", + "", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_GROUP, "GROUP", "group", + "گروه", "group", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_WEIGHT, "FONT_WEIGHT", + "font_weight", "وزن", "font-weight", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_UNICODE_RANGE, + "FONT_UNICODE_RANGE", "font_unicode_range", + "محدود یونیکد", "unicode-range", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_STYLE, "FONT_STYLE", + "font_style", "سبک", "font-style", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_CLASS, "CLASS", "class", + "کلاس", "class", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_ID, "ID", "id", "شناسه", + "id", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, "CONTENT", + "content", "محتوا", "content", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_SRC, "FONT_SRC", + "font_src", "منبع", "src", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_FONT_URL) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_HREF, "HREF", "href", + "منبع", "href", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_SRC, "SRC", "src", "منبع", + "src", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_LABEL, "LABEL", "label", + "برچسب", "label", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, "REPEAT", "repeat", + "تکرار", "repeat", AST_LAYOUT_ATTRIBUTE_FILTER_NUMBER, + NULL, NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_DIR, "DIR", "dir", "جهت", + "dir", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_dir, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_LANG, "LANG", "lang", + "زبان", "lang", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_lang, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_TITLE, "TITLE", "title", + "عنوان", "title", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_TYPE, "TYPE", "type", "نوع", + "type", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_form_type, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_KIND, "KIND", "kind", "روش", + "target", AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_form_kind, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_AUTHOR, "AUTHOR", "author", + "نویسنده", "author", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_DESCRIPTION, "DESCRIPTION", + "description", "توضیح", "description", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_KEYWORDS, "KEYWORDS", + "keywords", "کلمات", "keywords", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_ICON, "ICON", "icon", + "نمایه", "icon", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FONT_NAME, "FONT_NAME", + "font_name", "نام", "font-family", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_NAME, "NAME", "name", "نام", + "name", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_CHARSET, "CHARSET", + "charset", "فرمت متنی", "charset", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, + ast_layout_allowed_charset, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_REFRESH, "REFRESH", + "refresh", "بروزرسانی", "refresh", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_VIEWPORT, "VIEWPORT", + "viewport", "محدوده نمایش", "viewport", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_VALUE, "VALUE", "value", + "مقدار", "value", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_FOR, "FOR", "for", "برای", + "for", AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, + NULL, AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_PLACEHOLDER, "PLACEHOLDER", + "placeholder", "راهنما", "placeholder", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING_ANY, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_REQUIRED, "REQUIRED", + "required", "اجباری", "required", + AST_LAYOUT_ATTRIBUTE_FILTER_BOOL, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MAX_WIDTH, + "RESPONSIVE_MAX_WIDTH", "responsive_max_width", + "شرط حداکثر عرض", "media-max-width", + AST_LAYOUT_ATTRIBUTE_FILTER_NUMBER, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MAX_HEIGHT, + "RESPONSIVE_MAX_HEIGHT", "responsive_max_height", + "شرط حداکثر ارتفاع", "media-max-height", + AST_LAYOUT_ATTRIBUTE_FILTER_NUMBER, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MIN_WIDTH, + "RESPONSIVE_MIN_WIDTH", "responsive_min_width", + "شرط حداقل عرض", "media-min-width", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) + +ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MIN_HEIGHT, + "RESPONSIVE_MIN_HEIGHT", "responsive_min_height", + "شرط حداقل ارتفاع", "media-min-height", + AST_LAYOUT_ATTRIBUTE_FILTER_STRING, NULL, NULL, + AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_SIMPLE) // ----------- END AUTO GENERATED ----------- // diff --git a/src/generated-config/ast_layout_attribute_value.h b/src/generated-config/ast_layout_attribute_value.h index fde246c4..51801d40 100644 --- a/src/generated-config/ast_layout_attribute_value.h +++ b/src/generated-config/ast_layout_attribute_value.h @@ -3,40 +3,33 @@ // ----------- BEGIN AUTO GENERATED ----------- // const ast_layout_attribute_pair_t ast_layout_allowed_dir[] = { - {"چپ به راست", "ltr"}, - {"چپ راست", "ltr"}, - {"راست به چپ", "rtl"}, - {"راست چپ", "rtl"}, - {NULL, NULL}, + {"چپ به راست", "ltr"}, {"چپ راست", "ltr"}, {"راست به چپ", "rtl"}, + {"راست چپ", "rtl"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_form_type[] = { - {"گت", "get"}, - {"پست", "post"}, - {NULL, NULL}, + {"گت", "get"}, + {"پست", "post"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_form_kind[] = { - {"خالی", "_blank"}, - {"خود", "_self"}, - {"والد", "_parent"}, - {"بالا", "_top"}, - {NULL, NULL}, + {"خالی", "_blank"}, {"خود", "_self"}, {"والد", "_parent"}, + {"بالا", "_top"}, {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_charset[] = { - {"یوتی‌اف", "UTF-8"}, - {"یوتی‌اف8", "UTF-8"}, - {"یوتی‌اف 8", "UTF-8"}, - {NULL, NULL}, + {"یوتی‌اف", "UTF-8"}, + {"یوتی‌اف8", "UTF-8"}, + {"یوتی‌اف 8", "UTF-8"}, + {NULL, NULL}, }; const ast_layout_attribute_pair_t ast_layout_allowed_lang[] = { - {"انگلیسی", "fa"}, - {"فارسی", "fa"}, - {NULL, NULL}, + {"انگلیسی", "fa"}, + {"فارسی", "fa"}, + {NULL, NULL}, }; // ----------- END AUTO GENERATED ----------- // #endif - diff --git a/src/generated-config/ast_layout_attribute_value_extern.h b/src/generated-config/ast_layout_attribute_value_extern.h index fb80d688..f4af554e 100644 --- a/src/generated-config/ast_layout_attribute_value_extern.h +++ b/src/generated-config/ast_layout_attribute_value_extern.h @@ -14,4 +14,3 @@ extern const ast_layout_attribute_pair_t ast_layout_allowed_lang[]; // ----------- END AUTO GENERATED ----------- // #endif - diff --git a/src/generated-config/ast_layout_type.h b/src/generated-config/ast_layout_type.h index a6720712..3ad4967a 100644 --- a/src/generated-config/ast_layout_type.h +++ b/src/generated-config/ast_layout_type.h @@ -2,7 +2,8 @@ // ENDUSER_NAME, IS_SINGLE_TAG) // ----------- BEGIN AUTO GENERATED ----------- // -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_INCLUDE, "INCLUDE", "include", "", "بارگیری", true) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_INCLUDE, "INCLUDE", "include", "", "بارگیری", + true) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_ERROR, "ERROR", "error", "", "خطا", true) @@ -10,41 +11,56 @@ ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_LAYOUT, "LAYOUT", "layout", "", "صفحه", fals ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_DIV, "DIV", "div", "div", "جعبه", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_PARAGRAPH, "PARAGRAPH", "paragraph", "p", "پاراگراف", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_PARAGRAPH, "PARAGRAPH", "paragraph", "p", + "پاراگراف", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_BUTTON, "BUTTON", "button", "button", "دکمه", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_BUTTON, "BUTTON", "button", "button", "دکمه", + false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TEXTAREA, "TEXTAREA", "textarea", "textarea", "ویرایشگرمتن", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_TEXTAREA, "TEXTAREA", "textarea", "textarea", "ویرایشگر متن", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TEXTAREA, "TEXTAREA", "textarea", "textarea", + "ویرایشگرمتن", false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_TEXTAREA, "TEXTAREA", "textarea", + "textarea", "ویرایشگر متن", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_LABEL, "LABEL", "label", "label", "برچسب", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_LABEL, "LABEL", "label", "label", "برچسب", + false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_SELECT, "SELECT", "select", "select", "فهرست کشویی", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_SELECT, "SELECT", "select", "select", + "فهرست کشویی", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FIELDSET, "FIELDSET", "fieldset", "fieldset", "گروه‌بندی", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_FIELDSET, "FIELDSET", "fieldset", "fieldset", "گروه بندی", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FIELDSET, "FIELDSET", "fieldset", "fieldset", + "گروه‌بندی", false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_FIELDSET, "FIELDSET", "fieldset", + "fieldset", "گروه بندی", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_LEGEND, "LEGEND", "legend", "legend", "عنوان گروه", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_LEGEND, "LEGEND", "legend", "legend", + "عنوان گروه", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FORM, "FORM", "form", "form", "فرم", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_OPTGROUP, "OPTGROUP", "optgroup", "optgroup", "گروه انتخاب", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_OPTGROUP, "OPTGROUP", "optgroup", "optgroup", + "گروه انتخاب", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_DATALIST, "DATALIST", "datalist", "datalist", "داده فهرست", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_DATALIST, "DATALIST", "datalist", "datalist", + "داده فهرست", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_SPAN, "SPAN", "span", "span", "قطعه", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_STRONG, "STRONG", "strong", "strong", "ضخیم مهم", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_STRONG, "STRONG", "strong", "strong", + "ضخیم مهم", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_EM, "EM", "em", "em", "ایتالیک پیشرفته", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_ITALIC, "ITALIC", "italic", "i", "ایتالیک", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_ITALIC, "ITALIC", "italic", "i", "ایتالیک", + false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_BOLD, "BOLD", "bold", "b", "ضخیم", false) ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_BOLD, "BOLD", "bold", "b", "درشت", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_UNDERLINE, "UNDERLINE", "underline", "u", "زیرخط", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_UNDERLINE, "UNDERLINE", "underline", "u", "زیر خط", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_UNDERLINE, "UNDERLINE", "underline", "u", + "زیرخط", false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_UNDERLINE, "UNDERLINE", "underline", "u", + "زیر خط", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_SUB, "SUB", "sub", "sub", "زیرین", false) @@ -52,40 +68,56 @@ ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_SUP, "SUP", "sup", "sup", "رویین", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_S, "S", "s", "s", "خط خورده", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_HEADER, "HEADER", "header", "header", "سربخش", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_HEADER, "HEADER", "header", "header", "سر بخش", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_HEADER, "HEADER", "header", "header", "سربخش", + false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_HEADER, "HEADER", "header", "header", + "سر بخش", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FOOTER, "FOOTER", "footer", "footer", "پاصفحه", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_FOOTER, "FOOTER", "footer", "footer", "پا صفحه", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FOOTER, "FOOTER", "footer", "footer", "پاصفحه", + false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_FOOTER, "FOOTER", "footer", "footer", + "پا صفحه", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_NAV, "NAV", "nav", "nav", "ناوبری", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_SECTION, "SECTION", "section", "section", "بخش", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_SECTION, "SECTION", "section", "section", "بخش", + false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_ARTICLE, "ARTICLE", "article", "article", "مقاله", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_ARTICLE, "ARTICLE", "article", "article", + "مقاله", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_ASIDE, "ASIDE", "aside", "aside", "جداگانه", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_ASIDE, "ASIDE", "aside", "aside", "جدا گانه", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_ASIDE, "ASIDE", "aside", "aside", "جداگانه", + false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_ASIDE, "ASIDE", "aside", "aside", + "جدا گانه", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_MAIN, "MAIN", "main", "main", "اصلی", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FIGURE, "FIGURE", "figure", "figure", "شکل", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FIGURE, "FIGURE", "figure", "figure", "شکل", + false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FIGCAPTION, "FIGCAPTION", "figcaption", "figcaption", "زیرنویس شکل", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_FIGCAPTION, "FIGCAPTION", "figcaption", "figcaption", "زیر نویس شکل", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FIGCAPTION, "FIGCAPTION", "figcaption", + "figcaption", "زیرنویس شکل", false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_FIGCAPTION, "FIGCAPTION", "figcaption", + "figcaption", "زیر نویس شکل", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_VIDEO, "VIDEO", "video", "video", "فیلم", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_AUDIO, "AUDIO", "audio", "audio", "صدا", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_IFRAME, "IFRAME", "iframe", "iframe", "سایت", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_IFRAME, "IFRAME", "iframe", "iframe", "سایت", + false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_CANVAS, "CANVAS", "canvas", "canvas", "گرافیکی", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_CANVAS, "CANVAS", "canvas", "canvas", "گرافیکی", + false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_UL, "UL", "ul", "ul", "فهرست غیرمرتب", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_UL, "UL", "ul", "ul", "فهرست غیر مرتب", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_UL, "UL", "ul", "ul", "فهرست نامرتب", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_UL, "UL", "ul", "ul", "فهرست نا مرتب", false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_UL, "UL", "ul", "ul", "فهرست غیر مرتب", + false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_UL, "UL", "ul", "ul", "فهرست نامرتب", + false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_UL, "UL", "ul", "ul", "فهرست نا مرتب", + false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_LINK, "LINK", "link", "a", "پیوند", false) @@ -97,20 +129,29 @@ ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_LI, "LI", "li", "li", "مورد", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE, "TABLE", "table", "table", "جدول", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_HEADER, "TABLE_HEADER", "table_header", "thead", "سرجدول", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_TABLE_HEADER, "TABLE_HEADER", "table_header", "thead", "سر جدول", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_HEADER, "TABLE_HEADER", "table_header", + "thead", "سرجدول", false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_TABLE_HEADER, "TABLE_HEADER", + "table_header", "thead", "سر جدول", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_FOOTER, "TABLE_FOOTER", "table_footer", "tfoot", "پاصفحه جدول", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_TABLE_FOOTER, "TABLE_FOOTER", "table_footer", "tfoot", "پا صفحه جدول", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_FOOTER, "TABLE_FOOTER", "table_footer", + "tfoot", "پاصفحه جدول", false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_TABLE_FOOTER, "TABLE_FOOTER", + "table_footer", "tfoot", "پا صفحه جدول", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_TR, "TABLE_TR", "table_tr", "tr", "ردیف", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_TR, "TABLE_TR", "table_tr", "tr", "ردیف", + false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_TD, "TABLE_TD", "table_td", "td", "سلول", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_TD, "TABLE_TD", "table_td", "td", "سلول", + false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_TH, "TABLE_TH", "table_th", "th", "سرسلول", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_TABLE_TH, "TABLE_TH", "table_th", "th", "سر سلول", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_TABLE_TH, "TABLE_TH", "table_th", "th", + "سرسلول", false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_TABLE_TH, "TABLE_TH", "table_th", "th", + "سر سلول", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_CAPTION, "CAPTION", "caption", "caption", "عنوان جدول", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_CAPTION, "CAPTION", "caption", "caption", + "عنوان جدول", false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_COL, "COL", "col", "th", "ستون", false) @@ -118,13 +159,16 @@ ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_BR, "BR", "br", "br", "خط بعدی", true) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_HR, "HR", "hr", "hr", "خط", true) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_INPUT, "INPUT", "input", "input", "ورودی", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_INPUT, "INPUT", "input", "input", "ورودی", + false) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_IMG, "IMG", "img", "img", "تصویر", true) ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_FONT, "FONT", "font", "font", "قلم", false) -ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_MEDIA, "MEDIA", "media", "@media", "واکنش گرا", false) -ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_MEDIA, "MEDIA", "media", "@media", "واکنش‌گرا", false) +ADD_LAYOUT_TYPE(AST_LAYOUT_TYPE_MEDIA, "MEDIA", "media", "@media", "واکنش گرا", + false) +ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_MEDIA, "MEDIA", "media", "@media", + "واکنش‌گرا", false) // ----------- END AUTO GENERATED ----------- // diff --git a/src/generated-config/ast_layout_type_attributes.h b/src/generated-config/ast_layout_type_attributes.h index c8656ccd..6077c6e2 100644 --- a/src/generated-config/ast_layout_type_attributes.h +++ b/src/generated-config/ast_layout_type_attributes.h @@ -1,40 +1,49 @@ // ----------- BEGIN AUTO GENERATED ----------- // else if (attribute->parent_node_type == AST_LAYOUT_TYPE_INCLUDE) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_include, valid_attributes_include_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_include, + valid_attributes_include_length)) { return true; } } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_ERROR) { } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_LAYOUT) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_layout, valid_attributes_layout_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_layout, + valid_attributes_layout_length)) { return true; } } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_DIV) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_div, valid_attributes_div_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_div, + valid_attributes_div_length)) { return true; } } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_PARAGRAPH) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_paragraph, valid_attributes_paragraph_length)) { + if (is_attribute_type_in_array(attribute_key_type, + valid_attributes_paragraph, + valid_attributes_paragraph_length)) { return true; } } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_BUTTON) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_button, valid_attributes_button_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_button, + valid_attributes_button_length)) { return true; } } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_TEXTAREA) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_textarea, valid_attributes_textarea_length)) { + if (is_attribute_type_in_array(attribute_key_type, + valid_attributes_textarea, + valid_attributes_textarea_length)) { return true; } } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_LABEL) { } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_SELECT) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_select, valid_attributes_select_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_select, + valid_attributes_select_length)) { return true; } } @@ -43,7 +52,8 @@ else if (attribute->parent_node_type == AST_LAYOUT_TYPE_FIELDSET) { else if (attribute->parent_node_type == AST_LAYOUT_TYPE_LEGEND) { } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_FORM) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_form, valid_attributes_form_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_form, + valid_attributes_form_length)) { return true; } } @@ -52,7 +62,8 @@ else if (attribute->parent_node_type == AST_LAYOUT_TYPE_OPTGROUP) { else if (attribute->parent_node_type == AST_LAYOUT_TYPE_DATALIST) { } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_SPAN) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_span, valid_attributes_span_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_span, + valid_attributes_span_length)) { return true; } } @@ -101,19 +112,22 @@ else if (attribute->parent_node_type == AST_LAYOUT_TYPE_CANVAS) { else if (attribute->parent_node_type == AST_LAYOUT_TYPE_UL) { } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_LINK) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_link, valid_attributes_link_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_link, + valid_attributes_link_length)) { return true; } } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_OL) { } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_OPTION) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_option, valid_attributes_option_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_option, + valid_attributes_option_length)) { return true; } } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_LI) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_li, valid_attributes_li_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_li, + valid_attributes_li_length)) { return true; } } @@ -138,14 +152,16 @@ else if (attribute->parent_node_type == AST_LAYOUT_TYPE_BR) { else if (attribute->parent_node_type == AST_LAYOUT_TYPE_HR) { } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_INPUT) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_input, valid_attributes_input_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_input, + valid_attributes_input_length)) { return true; } } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_IMG) { } else if (attribute->parent_node_type == AST_LAYOUT_TYPE_FONT) { - if (is_attribute_type_in_array(attribute_key_type, valid_attributes_font, valid_attributes_font_length)) { + if (is_attribute_type_in_array(attribute_key_type, valid_attributes_font, + valid_attributes_font_length)) { return true; } } diff --git a/src/generated-config/ast_layout_type_attributes_all.h b/src/generated-config/ast_layout_type_attributes_all.h index 96d157cc..0225c5d0 100644 --- a/src/generated-config/ast_layout_type_attributes_all.h +++ b/src/generated-config/ast_layout_type_attributes_all.h @@ -2,125 +2,157 @@ #define _AST_LAYOUT_TYPE_ATTRIBUTES_ALL_H_ layout_map_entry_t layout_map[] = { -// ----------- BEGIN AUTO GENERATED ----------- // -{ AST_LAYOUT_TYPE_INCLUDE, valid_attributes_include, valid_attributes_include_length }, + // ----------- BEGIN AUTO GENERATED ----------- // + {AST_LAYOUT_TYPE_INCLUDE, valid_attributes_include, + valid_attributes_include_length}, -{ AST_LAYOUT_TYPE_ERROR, valid_attributes_error, valid_attributes_error_length }, + {AST_LAYOUT_TYPE_ERROR, valid_attributes_error, + valid_attributes_error_length}, -{ AST_LAYOUT_TYPE_LAYOUT, valid_attributes_layout, valid_attributes_layout_length }, + {AST_LAYOUT_TYPE_LAYOUT, valid_attributes_layout, + valid_attributes_layout_length}, -{ AST_LAYOUT_TYPE_DIV, valid_attributes_div, valid_attributes_div_length }, + {AST_LAYOUT_TYPE_DIV, valid_attributes_div, valid_attributes_div_length}, -{ AST_LAYOUT_TYPE_PARAGRAPH, valid_attributes_paragraph, valid_attributes_paragraph_length }, + {AST_LAYOUT_TYPE_PARAGRAPH, valid_attributes_paragraph, + valid_attributes_paragraph_length}, -{ AST_LAYOUT_TYPE_BUTTON, valid_attributes_button, valid_attributes_button_length }, + {AST_LAYOUT_TYPE_BUTTON, valid_attributes_button, + valid_attributes_button_length}, -{ AST_LAYOUT_TYPE_TEXTAREA, valid_attributes_textarea, valid_attributes_textarea_length }, + {AST_LAYOUT_TYPE_TEXTAREA, valid_attributes_textarea, + valid_attributes_textarea_length}, -{ AST_LAYOUT_TYPE_LABEL, valid_attributes_label, valid_attributes_label_length }, + {AST_LAYOUT_TYPE_LABEL, valid_attributes_label, + valid_attributes_label_length}, -{ AST_LAYOUT_TYPE_SELECT, valid_attributes_select, valid_attributes_select_length }, + {AST_LAYOUT_TYPE_SELECT, valid_attributes_select, + valid_attributes_select_length}, -{ AST_LAYOUT_TYPE_FIELDSET, valid_attributes_fieldset, valid_attributes_fieldset_length }, + {AST_LAYOUT_TYPE_FIELDSET, valid_attributes_fieldset, + valid_attributes_fieldset_length}, -{ AST_LAYOUT_TYPE_LEGEND, valid_attributes_legend, valid_attributes_legend_length }, + {AST_LAYOUT_TYPE_LEGEND, valid_attributes_legend, + valid_attributes_legend_length}, -{ AST_LAYOUT_TYPE_FORM, valid_attributes_form, valid_attributes_form_length }, + {AST_LAYOUT_TYPE_FORM, valid_attributes_form, valid_attributes_form_length}, -{ AST_LAYOUT_TYPE_OPTGROUP, valid_attributes_optgroup, valid_attributes_optgroup_length }, + {AST_LAYOUT_TYPE_OPTGROUP, valid_attributes_optgroup, + valid_attributes_optgroup_length}, -{ AST_LAYOUT_TYPE_DATALIST, valid_attributes_datalist, valid_attributes_datalist_length }, + {AST_LAYOUT_TYPE_DATALIST, valid_attributes_datalist, + valid_attributes_datalist_length}, -{ AST_LAYOUT_TYPE_SPAN, valid_attributes_span, valid_attributes_span_length }, + {AST_LAYOUT_TYPE_SPAN, valid_attributes_span, valid_attributes_span_length}, -{ AST_LAYOUT_TYPE_STRONG, valid_attributes_strong, valid_attributes_strong_length }, + {AST_LAYOUT_TYPE_STRONG, valid_attributes_strong, + valid_attributes_strong_length}, -{ AST_LAYOUT_TYPE_EM, valid_attributes_em, valid_attributes_em_length }, + {AST_LAYOUT_TYPE_EM, valid_attributes_em, valid_attributes_em_length}, -{ AST_LAYOUT_TYPE_ITALIC, valid_attributes_italic, valid_attributes_italic_length }, + {AST_LAYOUT_TYPE_ITALIC, valid_attributes_italic, + valid_attributes_italic_length}, -{ AST_LAYOUT_TYPE_BOLD, valid_attributes_bold, valid_attributes_bold_length }, + {AST_LAYOUT_TYPE_BOLD, valid_attributes_bold, valid_attributes_bold_length}, -{ AST_LAYOUT_TYPE_UNDERLINE, valid_attributes_underline, valid_attributes_underline_length }, + {AST_LAYOUT_TYPE_UNDERLINE, valid_attributes_underline, + valid_attributes_underline_length}, -{ AST_LAYOUT_TYPE_SUB, valid_attributes_sub, valid_attributes_sub_length }, + {AST_LAYOUT_TYPE_SUB, valid_attributes_sub, valid_attributes_sub_length}, -{ AST_LAYOUT_TYPE_SUP, valid_attributes_sup, valid_attributes_sup_length }, + {AST_LAYOUT_TYPE_SUP, valid_attributes_sup, valid_attributes_sup_length}, -{ AST_LAYOUT_TYPE_S, valid_attributes_s, valid_attributes_s_length }, + {AST_LAYOUT_TYPE_S, valid_attributes_s, valid_attributes_s_length}, -{ AST_LAYOUT_TYPE_HEADER, valid_attributes_header, valid_attributes_header_length }, + {AST_LAYOUT_TYPE_HEADER, valid_attributes_header, + valid_attributes_header_length}, -{ AST_LAYOUT_TYPE_FOOTER, valid_attributes_footer, valid_attributes_footer_length }, + {AST_LAYOUT_TYPE_FOOTER, valid_attributes_footer, + valid_attributes_footer_length}, -{ AST_LAYOUT_TYPE_NAV, valid_attributes_nav, valid_attributes_nav_length }, + {AST_LAYOUT_TYPE_NAV, valid_attributes_nav, valid_attributes_nav_length}, -{ AST_LAYOUT_TYPE_SECTION, valid_attributes_section, valid_attributes_section_length }, + {AST_LAYOUT_TYPE_SECTION, valid_attributes_section, + valid_attributes_section_length}, -{ AST_LAYOUT_TYPE_ARTICLE, valid_attributes_article, valid_attributes_article_length }, + {AST_LAYOUT_TYPE_ARTICLE, valid_attributes_article, + valid_attributes_article_length}, -{ AST_LAYOUT_TYPE_ASIDE, valid_attributes_aside, valid_attributes_aside_length }, + {AST_LAYOUT_TYPE_ASIDE, valid_attributes_aside, + valid_attributes_aside_length}, -{ AST_LAYOUT_TYPE_MAIN, valid_attributes_main, valid_attributes_main_length }, + {AST_LAYOUT_TYPE_MAIN, valid_attributes_main, valid_attributes_main_length}, -{ AST_LAYOUT_TYPE_FIGURE, valid_attributes_figure, valid_attributes_figure_length }, + {AST_LAYOUT_TYPE_FIGURE, valid_attributes_figure, + valid_attributes_figure_length}, -{ AST_LAYOUT_TYPE_FIGCAPTION, valid_attributes_figcaption, valid_attributes_figcaption_length }, + {AST_LAYOUT_TYPE_FIGCAPTION, valid_attributes_figcaption, + valid_attributes_figcaption_length}, -{ AST_LAYOUT_TYPE_VIDEO, valid_attributes_video, valid_attributes_video_length }, + {AST_LAYOUT_TYPE_VIDEO, valid_attributes_video, + valid_attributes_video_length}, -{ AST_LAYOUT_TYPE_AUDIO, valid_attributes_audio, valid_attributes_audio_length }, + {AST_LAYOUT_TYPE_AUDIO, valid_attributes_audio, + valid_attributes_audio_length}, -{ AST_LAYOUT_TYPE_IFRAME, valid_attributes_iframe, valid_attributes_iframe_length }, + {AST_LAYOUT_TYPE_IFRAME, valid_attributes_iframe, + valid_attributes_iframe_length}, -{ AST_LAYOUT_TYPE_CANVAS, valid_attributes_canvas, valid_attributes_canvas_length }, + {AST_LAYOUT_TYPE_CANVAS, valid_attributes_canvas, + valid_attributes_canvas_length}, -{ AST_LAYOUT_TYPE_UL, valid_attributes_ul, valid_attributes_ul_length }, + {AST_LAYOUT_TYPE_UL, valid_attributes_ul, valid_attributes_ul_length}, -{ AST_LAYOUT_TYPE_LINK, valid_attributes_link, valid_attributes_link_length }, + {AST_LAYOUT_TYPE_LINK, valid_attributes_link, valid_attributes_link_length}, -{ AST_LAYOUT_TYPE_OL, valid_attributes_ol, valid_attributes_ol_length }, + {AST_LAYOUT_TYPE_OL, valid_attributes_ol, valid_attributes_ol_length}, -{ AST_LAYOUT_TYPE_OPTION, valid_attributes_option, valid_attributes_option_length }, + {AST_LAYOUT_TYPE_OPTION, valid_attributes_option, + valid_attributes_option_length}, -{ AST_LAYOUT_TYPE_LI, valid_attributes_li, valid_attributes_li_length }, + {AST_LAYOUT_TYPE_LI, valid_attributes_li, valid_attributes_li_length}, -{ AST_LAYOUT_TYPE_TABLE, valid_attributes_table, valid_attributes_table_length }, + {AST_LAYOUT_TYPE_TABLE, valid_attributes_table, + valid_attributes_table_length}, -{ AST_LAYOUT_TYPE_TABLE_HEADER, valid_attributes_table_header, valid_attributes_table_header_length }, + {AST_LAYOUT_TYPE_TABLE_HEADER, valid_attributes_table_header, + valid_attributes_table_header_length}, -{ AST_LAYOUT_TYPE_TABLE_FOOTER, valid_attributes_table_footer, valid_attributes_table_footer_length }, + {AST_LAYOUT_TYPE_TABLE_FOOTER, valid_attributes_table_footer, + valid_attributes_table_footer_length}, -{ AST_LAYOUT_TYPE_TABLE_TR, valid_attributes_table_tr, valid_attributes_table_tr_length }, + {AST_LAYOUT_TYPE_TABLE_TR, valid_attributes_table_tr, + valid_attributes_table_tr_length}, -{ AST_LAYOUT_TYPE_TABLE_TD, valid_attributes_table_td, valid_attributes_table_td_length }, + {AST_LAYOUT_TYPE_TABLE_TD, valid_attributes_table_td, + valid_attributes_table_td_length}, -{ AST_LAYOUT_TYPE_TABLE_TH, valid_attributes_table_th, valid_attributes_table_th_length }, + {AST_LAYOUT_TYPE_TABLE_TH, valid_attributes_table_th, + valid_attributes_table_th_length}, -{ AST_LAYOUT_TYPE_CAPTION, valid_attributes_caption, valid_attributes_caption_length }, + {AST_LAYOUT_TYPE_CAPTION, valid_attributes_caption, + valid_attributes_caption_length}, -{ AST_LAYOUT_TYPE_COL, valid_attributes_col, valid_attributes_col_length }, + {AST_LAYOUT_TYPE_COL, valid_attributes_col, valid_attributes_col_length}, -{ AST_LAYOUT_TYPE_BR, valid_attributes_br, valid_attributes_br_length }, + {AST_LAYOUT_TYPE_BR, valid_attributes_br, valid_attributes_br_length}, -{ AST_LAYOUT_TYPE_HR, valid_attributes_hr, valid_attributes_hr_length }, + {AST_LAYOUT_TYPE_HR, valid_attributes_hr, valid_attributes_hr_length}, -{ AST_LAYOUT_TYPE_INPUT, valid_attributes_input, valid_attributes_input_length }, + {AST_LAYOUT_TYPE_INPUT, valid_attributes_input, + valid_attributes_input_length}, -{ AST_LAYOUT_TYPE_IMG, valid_attributes_img, valid_attributes_img_length }, - -{ AST_LAYOUT_TYPE_FONT, valid_attributes_font, valid_attributes_font_length }, - -{ AST_LAYOUT_TYPE_MEDIA, valid_attributes_media, valid_attributes_media_length }, - -// ----------- END AUTO GENERATED ----------- // + {AST_LAYOUT_TYPE_IMG, valid_attributes_img, valid_attributes_img_length}, + {AST_LAYOUT_TYPE_FONT, valid_attributes_font, valid_attributes_font_length}, + {AST_LAYOUT_TYPE_MEDIA, valid_attributes_media, + valid_attributes_media_length}, + // ----------- END AUTO GENERATED ----------- // }; const size_t map_size = sizeof(layout_map) / sizeof(layout_map[0]); #endif - diff --git a/src/generated-config/ast_layout_type_attributes_values.h b/src/generated-config/ast_layout_type_attributes_values.h index 5b4312f8..482f0f2b 100644 --- a/src/generated-config/ast_layout_type_attributes_values.h +++ b/src/generated-config/ast_layout_type_attributes_values.h @@ -6,44 +6,45 @@ ast_layout_attribute_type_t valid_attributes_include[] = { AST_LAYOUT_ATTRIBUTE_TYPE_SRC, AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, }; -const size_t valid_attributes_include_length = sizeof(valid_attributes_include) / sizeof(valid_attributes_include[0]); +const size_t valid_attributes_include_length = + sizeof(valid_attributes_include) / sizeof(valid_attributes_include[0]); -ast_layout_attribute_type_t valid_attributes_error[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_error[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_error_length = 0; ast_layout_attribute_type_t valid_attributes_layout[] = { - AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, - AST_LAYOUT_ATTRIBUTE_TYPE_TITLE, - AST_LAYOUT_ATTRIBUTE_TYPE_LANG, - AST_LAYOUT_ATTRIBUTE_TYPE_DIR, - AST_LAYOUT_ATTRIBUTE_TYPE_AUTHOR, - AST_LAYOUT_ATTRIBUTE_TYPE_DESCRIPTION, - AST_LAYOUT_ATTRIBUTE_TYPE_KEYWORDS, - AST_LAYOUT_ATTRIBUTE_TYPE_ICON, - AST_LAYOUT_ATTRIBUTE_TYPE_CHARSET, - AST_LAYOUT_ATTRIBUTE_TYPE_REFRESH, + AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, AST_LAYOUT_ATTRIBUTE_TYPE_TITLE, + AST_LAYOUT_ATTRIBUTE_TYPE_LANG, AST_LAYOUT_ATTRIBUTE_TYPE_DIR, + AST_LAYOUT_ATTRIBUTE_TYPE_AUTHOR, AST_LAYOUT_ATTRIBUTE_TYPE_DESCRIPTION, + AST_LAYOUT_ATTRIBUTE_TYPE_KEYWORDS, AST_LAYOUT_ATTRIBUTE_TYPE_ICON, + AST_LAYOUT_ATTRIBUTE_TYPE_CHARSET, AST_LAYOUT_ATTRIBUTE_TYPE_REFRESH, AST_LAYOUT_ATTRIBUTE_TYPE_VIEWPORT, }; -const size_t valid_attributes_layout_length = sizeof(valid_attributes_layout) / sizeof(valid_attributes_layout[0]); +const size_t valid_attributes_layout_length = + sizeof(valid_attributes_layout) / sizeof(valid_attributes_layout[0]); ast_layout_attribute_type_t valid_attributes_div[] = { AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, }; -const size_t valid_attributes_div_length = sizeof(valid_attributes_div) / sizeof(valid_attributes_div[0]); +const size_t valid_attributes_div_length = + sizeof(valid_attributes_div) / sizeof(valid_attributes_div[0]); ast_layout_attribute_type_t valid_attributes_paragraph[] = { AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, }; -const size_t valid_attributes_paragraph_length = sizeof(valid_attributes_paragraph) / sizeof(valid_attributes_paragraph[0]); +const size_t valid_attributes_paragraph_length = + sizeof(valid_attributes_paragraph) / sizeof(valid_attributes_paragraph[0]); ast_layout_attribute_type_t valid_attributes_button[] = { AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, AST_LAYOUT_ATTRIBUTE_TYPE_NAME, }; -const size_t valid_attributes_button_length = sizeof(valid_attributes_button) / sizeof(valid_attributes_button[0]); +const size_t valid_attributes_button_length = + sizeof(valid_attributes_button) / sizeof(valid_attributes_button[0]); ast_layout_attribute_type_t valid_attributes_textarea[] = { AST_LAYOUT_ATTRIBUTE_TYPE_NAME, @@ -51,158 +52,201 @@ ast_layout_attribute_type_t valid_attributes_textarea[] = { AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, AST_LAYOUT_ATTRIBUTE_TYPE_PLACEHOLDER, }; -const size_t valid_attributes_textarea_length = sizeof(valid_attributes_textarea) / sizeof(valid_attributes_textarea[0]); +const size_t valid_attributes_textarea_length = + sizeof(valid_attributes_textarea) / sizeof(valid_attributes_textarea[0]); -ast_layout_attribute_type_t valid_attributes_label[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_label[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_label_length = 0; ast_layout_attribute_type_t valid_attributes_select[] = { AST_LAYOUT_ATTRIBUTE_TYPE_NAME, AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, }; -const size_t valid_attributes_select_length = sizeof(valid_attributes_select) / sizeof(valid_attributes_select[0]); +const size_t valid_attributes_select_length = + sizeof(valid_attributes_select) / sizeof(valid_attributes_select[0]); -ast_layout_attribute_type_t valid_attributes_fieldset[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_fieldset[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_fieldset_length = 0; -ast_layout_attribute_type_t valid_attributes_legend[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_legend[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_legend_length = 0; ast_layout_attribute_type_t valid_attributes_form[] = { - AST_LAYOUT_ATTRIBUTE_TYPE_SRC, - AST_LAYOUT_ATTRIBUTE_TYPE_TYPE, - AST_LAYOUT_ATTRIBUTE_TYPE_KIND, - AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, + AST_LAYOUT_ATTRIBUTE_TYPE_SRC, AST_LAYOUT_ATTRIBUTE_TYPE_TYPE, + AST_LAYOUT_ATTRIBUTE_TYPE_KIND, AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, }; -const size_t valid_attributes_form_length = sizeof(valid_attributes_form) / sizeof(valid_attributes_form[0]); +const size_t valid_attributes_form_length = + sizeof(valid_attributes_form) / sizeof(valid_attributes_form[0]); -ast_layout_attribute_type_t valid_attributes_optgroup[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_optgroup[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_optgroup_length = 0; -ast_layout_attribute_type_t valid_attributes_datalist[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_datalist[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_datalist_length = 0; ast_layout_attribute_type_t valid_attributes_span[] = { AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, }; -const size_t valid_attributes_span_length = sizeof(valid_attributes_span) / sizeof(valid_attributes_span[0]); +const size_t valid_attributes_span_length = + sizeof(valid_attributes_span) / sizeof(valid_attributes_span[0]); -ast_layout_attribute_type_t valid_attributes_strong[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_strong[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_strong_length = 0; -ast_layout_attribute_type_t valid_attributes_em[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_em[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_em_length = 0; -ast_layout_attribute_type_t valid_attributes_italic[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_italic[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_italic_length = 0; -ast_layout_attribute_type_t valid_attributes_bold[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_bold[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_bold_length = 0; -ast_layout_attribute_type_t valid_attributes_underline[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_underline[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_underline_length = 0; -ast_layout_attribute_type_t valid_attributes_sub[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_sub[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_sub_length = 0; -ast_layout_attribute_type_t valid_attributes_sup[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_sup[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_sup_length = 0; -ast_layout_attribute_type_t valid_attributes_s[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_s[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_s_length = 0; -ast_layout_attribute_type_t valid_attributes_header[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_header[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_header_length = 0; -ast_layout_attribute_type_t valid_attributes_footer[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_footer[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_footer_length = 0; -ast_layout_attribute_type_t valid_attributes_nav[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_nav[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_nav_length = 0; -ast_layout_attribute_type_t valid_attributes_section[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_section[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_section_length = 0; -ast_layout_attribute_type_t valid_attributes_article[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_article[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_article_length = 0; -ast_layout_attribute_type_t valid_attributes_aside[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_aside[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_aside_length = 0; -ast_layout_attribute_type_t valid_attributes_main[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_main[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_main_length = 0; -ast_layout_attribute_type_t valid_attributes_figure[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_figure[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_figure_length = 0; -ast_layout_attribute_type_t valid_attributes_figcaption[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_figcaption[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_figcaption_length = 0; -ast_layout_attribute_type_t valid_attributes_video[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_video[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_video_length = 0; -ast_layout_attribute_type_t valid_attributes_audio[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_audio[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_audio_length = 0; -ast_layout_attribute_type_t valid_attributes_iframe[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_iframe[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_iframe_length = 0; -ast_layout_attribute_type_t valid_attributes_canvas[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_canvas[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_canvas_length = 0; -ast_layout_attribute_type_t valid_attributes_ul[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_ul[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_ul_length = 0; ast_layout_attribute_type_t valid_attributes_link[] = { AST_LAYOUT_ATTRIBUTE_TYPE_HREF, }; -const size_t valid_attributes_link_length = sizeof(valid_attributes_link) / sizeof(valid_attributes_link[0]); +const size_t valid_attributes_link_length = + sizeof(valid_attributes_link) / sizeof(valid_attributes_link[0]); -ast_layout_attribute_type_t valid_attributes_ol[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_ol[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_ol_length = 0; ast_layout_attribute_type_t valid_attributes_option[] = { AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, }; -const size_t valid_attributes_option_length = sizeof(valid_attributes_option) / sizeof(valid_attributes_option[0]); +const size_t valid_attributes_option_length = + sizeof(valid_attributes_option) / sizeof(valid_attributes_option[0]); ast_layout_attribute_type_t valid_attributes_li[] = { AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT, AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, }; -const size_t valid_attributes_li_length = sizeof(valid_attributes_li) / sizeof(valid_attributes_li[0]); +const size_t valid_attributes_li_length = + sizeof(valid_attributes_li) / sizeof(valid_attributes_li[0]); -ast_layout_attribute_type_t valid_attributes_table[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_table[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_table_length = 0; -ast_layout_attribute_type_t valid_attributes_table_header[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_table_header[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_table_header_length = 0; -ast_layout_attribute_type_t valid_attributes_table_footer[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_table_footer[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_table_footer_length = 0; -ast_layout_attribute_type_t valid_attributes_table_tr[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_table_tr[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_table_tr_length = 0; -ast_layout_attribute_type_t valid_attributes_table_td[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_table_td[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_table_td_length = 0; -ast_layout_attribute_type_t valid_attributes_table_th[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_table_th[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_table_th_length = 0; -ast_layout_attribute_type_t valid_attributes_caption[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_caption[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_caption_length = 0; -ast_layout_attribute_type_t valid_attributes_col[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_col[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_col_length = 0; -ast_layout_attribute_type_t valid_attributes_br[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_br[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_br_length = 0; -ast_layout_attribute_type_t valid_attributes_hr[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_hr[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_hr_length = 0; ast_layout_attribute_type_t valid_attributes_input[] = { @@ -210,9 +254,11 @@ ast_layout_attribute_type_t valid_attributes_input[] = { AST_LAYOUT_ATTRIBUTE_TYPE_NAME, AST_LAYOUT_ATTRIBUTE_TYPE_PLACEHOLDER, }; -const size_t valid_attributes_input_length = sizeof(valid_attributes_input) / sizeof(valid_attributes_input[0]); +const size_t valid_attributes_input_length = + sizeof(valid_attributes_input) / sizeof(valid_attributes_input[0]); -ast_layout_attribute_type_t valid_attributes_img[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_img[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_img_length = 0; ast_layout_attribute_type_t valid_attributes_font[] = { @@ -222,11 +268,12 @@ ast_layout_attribute_type_t valid_attributes_font[] = { AST_LAYOUT_ATTRIBUTE_TYPE_FONT_STYLE, AST_LAYOUT_ATTRIBUTE_TYPE_FONT_WEIGHT, }; -const size_t valid_attributes_font_length = sizeof(valid_attributes_font) / sizeof(valid_attributes_font[0]); +const size_t valid_attributes_font_length = + sizeof(valid_attributes_font) / sizeof(valid_attributes_font[0]); -ast_layout_attribute_type_t valid_attributes_media[] = { AST_LAYOUT_ATTRIBUTE_TYPE_ERROR }; +ast_layout_attribute_type_t valid_attributes_media[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_ERROR}; const size_t valid_attributes_media_length = 0; // ----------- END AUTO GENERATED ----------- // #endif - diff --git a/src/generated-config/ast_layout_type_attributes_values_extern.h b/src/generated-config/ast_layout_type_attributes_values_extern.h index 0a044db5..6bbcbb9a 100644 --- a/src/generated-config/ast_layout_type_attributes_values_extern.h +++ b/src/generated-config/ast_layout_type_attributes_values_extern.h @@ -169,4 +169,3 @@ extern const size_t valid_attributes_media_length; // ----------- END AUTO GENERATED ----------- // #endif - diff --git a/src/generator_layout.c b/src/generator_layout.c index ad241750..f0bdc3a2 100644 --- a/src/generator_layout.c +++ b/src/generator_layout.c @@ -24,17 +24,17 @@ #include "generator_layout.h" /** - * + * * @function attribute_value_handler - * @brief Processes the value of a layout attribute and transforms it based on its type. + * @brief Processes the value of a layout attribute and transforms it based on + * its type. * @param attribute Pointer to the layout attribute structure. * @param value The string value of the attribute to process. - * @return A dynamically allocated string containing the processed value, + * @return A dynamically allocated string containing the processed value, * or NULL if the handler type is unsupported or on failure. - * + * */ -char* attribute_value_handler(ast_layout_attribute_t* attribute, char* value) -{ +char *attribute_value_handler(ast_layout_attribute_t *attribute, char *value) { if (attribute == NULL || value == NULL) { return NULL; } @@ -44,18 +44,20 @@ char* attribute_value_handler(ast_layout_attribute_t* attribute, char* value) return string_strdup(value); case AST_LAYOUT_ATTRIBUTE_VALUE_HANDLER_FONT_URL: { - string_t* buf = string_create(30); + string_t *buf = string_create(30); if (buf == NULL) { return NULL; } string_append_str(buf, "url("); // string_append_char(buf, '\"'); - string_append_str(buf, value); // TODO: add "" at the begining and the end, and replaces " to \" in the value string + string_append_str( + buf, value); // TODO: add "" at the begining and the end, and + // replaces " to \" in the value string // string_append_char(buf, '\"'); string_append_str(buf, ")"); - char* buf_value = string_strdup(buf->data); + char *buf_value = string_strdup(buf->data); string_destroy(buf); return buf_value;