Enum CellMergeState
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
حالةدمج الخلايا
حالات دمج خلايا الجدول
لاستدعاء قائمة أرقام صحيحة، عليك استدعاء الصف الرئيسي والاسم والخاصية. مثلاً:
SlidesApp.CellMergeState.NORMAL
أماكن إقامة
الموقع | النوع | الوصف |
NORMAL | Enum | لم يتم دمج الخلية. |
HEAD | Enum | تم دمج الخلية وهي الخلية الرئيسية (أي أعلى يمين) ضمن مجموعة الخلايا المدمجة.
على سبيل المثال، نفترض الجدول التالي.
-------------------
|(0,0)|(0,1)|(0,2)|
-------------------
في حال دمج أول خليتين لتشكيل الجدول التالي، تكون الخلية (0,0) هي خلية العنوان وتكون الخلية (0,1) هي خلية مدمجة.
-------------------
|(0,0) |(0,2)|
-------------------
|
MERGED | Enum | تم دمج الخلية ولكنها ليست الخلية الرئيسية (أي الخلية في أعلى يمين الصفحة).
على سبيل المثال، نفترض الجدول التالي.
-------------------
|(0,0)|(0,1)|(0,2)|
-------------------
في حال دمج أول خليتَين لتشكيل الجدول التالي، تكون الخلية (0,0) هي خلية العنوان وتكون الخلية (0,1) هي خلية مدمَجة.
-------------------
|(0,0) |(0,2)|
-------------------
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003eCellMergeState\u003c/code\u003e defines the merge state of a table cell in Google Slides.\u003c/p\u003e\n"],["\u003cp\u003eThere are three possible states: \u003ccode\u003eNORMAL\u003c/code\u003e for unmerged cells, \u003ccode\u003eHEAD\u003c/code\u003e for the top-left cell of a merged range, and \u003ccode\u003eMERGED\u003c/code\u003e for other cells within a merged range.\u003c/p\u003e\n"],["\u003cp\u003eTo reference a specific state, use the syntax \u003ccode\u003eSlidesApp.CellMergeState.STATE_NAME\u003c/code\u003e, replacing \u003ccode\u003eSTATE_NAME\u003c/code\u003e with the desired state (e.g., \u003ccode\u003eSlidesApp.CellMergeState.NORMAL\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,["# Enum CellMergeState\n\nCellMergeState\n\nThe table cell merge states.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.CellMergeState.NORMAL`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `NORMAL` | `Enum` | The cell is not merged. |\n| `HEAD` | `Enum` | The cell is merged and it is the head (i.e. upper left) cell within the merged set of cells. As an example, assume the following table. ```text ------------------- |(0,0)|(0,1)|(0,2)| ------------------- ``` If the first two cells are merged to form the following table, cell (0,0) is the head cell and (0,1) is a merged cell. ```text ------------------- |(0,0) |(0,2)| ------------------- ``` |\n| `MERGED` | `Enum` | The cell is merged but is not the head (i.e. upper left) cell. As an example, assume the following table. ```text ------------------- |(0,0)|(0,1)|(0,2)| ------------------- ``` If the first two cells are merged to form the following table, cell (0,0) is the head cell and (0,1) is a merged cell. ```text ------------------- |(0,0) |(0,2)| ------------------- ``` |"]]