Enum CopyPasteType
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
نسخلصقكتابة
قائمة بأنواع اللصق الخاصة المحتملة
لاستدعاء قائمة أرقام صحيحة، عليك استدعاء الصف الرئيسي والاسم والخاصية. مثلاً:
SpreadsheetApp.CopyPasteType.PASTE_NORMAL
أماكن إقامة
الموقع | النوع | الوصف |
PASTE_NORMAL | Enum | لصق القيم والصِيَغ وعمليات الدمج |
PASTE_NO_BORDERS | Enum | لصق القيم والصِيَغ وعمليات الدمج بدون حدود |
PASTE_FORMAT | Enum | الصق التنسيق فقط. |
PASTE_FORMULA | Enum | الصق الصِيَغ فقط. |
PASTE_DATA_VALIDATION | Enum | الصق عملية التحقّق من صحة البيانات فقط. |
PASTE_VALUES | Enum | الصق القيم فقط بدون تنسيقات أو صِيَغ أو دمج. |
PASTE_CONDITIONAL_FORMATTING | Enum | الصق قواعد الألوان فقط. |
PASTE_COLUMN_WIDTHS | Enum | الصق عرض الأعمدة فقط. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003eCopyPasteType\u003c/code\u003e is used to specify the content pasted from the clipboard in Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eIt's an enumeration within the \u003ccode\u003eSpreadsheetApp\u003c/code\u003e class, called using \u003ccode\u003eSpreadsheetApp.CopyPasteType.PROPERTY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptions include pasting values, formulas, formats, validations, or combinations thereof, as well as only pasting column widths or conditional formatting.\u003c/p\u003e\n"]]],[],null,["# Enum CopyPasteType\n\nCopyPasteType\n\nAn enumeration of possible special paste types.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.CopyPasteType.PASTE_NORMAL`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------------------------|--------|-----------------------------------------------------------------|\n| `PASTE_NORMAL` | `Enum` | Paste values, formulas, formats and merges. |\n| `PASTE_NO_BORDERS` | `Enum` | Paste values, formulas, formats and merges but without borders. |\n| `PASTE_FORMAT` | `Enum` | Paste the format only. |\n| `PASTE_FORMULA` | `Enum` | Paste the formulas only. |\n| `PASTE_DATA_VALIDATION` | `Enum` | Paste the data validation only. |\n| `PASTE_VALUES` | `Enum` | Paste the values ONLY without formats, formulas or merges. |\n| `PASTE_CONDITIONAL_FORMATTING` | `Enum` | Paste the color rules only. |\n| `PASTE_COLUMN_WIDTHS` | `Enum` | Paste the column widths only. |"]]