Enum CopyPasteType
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
העתקההדבקההקלדה
ספירה של סוגי הדבקה מיוחדים אפשריים.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
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 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\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. |"]]