একটি পৃষ্ঠা বিরতি প্রতিনিধিত্বকারী একটি উপাদান। একটি Page Break একটি List Item বা Paragraph মধ্যে থাকতে পারে, যদি না List Item বা Paragraph একটি Table , Header Section , Footer Section বা Footnote Section মধ্যে থাকে। একটি Page Break অন্য কোনো উপাদান থাকতে পারে না। দস্তাবেজ গঠন সম্পর্কে আরও তথ্যের জন্য, Google ডক্স প্রসারিত করার নির্দেশিকা দেখুন। 
পদ্ধতি
| পদ্ধতি | রিটার্ন টাইপ | সংক্ষিপ্ত বিবরণ | 
|---|---|---|
 copy() |  Page Break | বর্তমান উপাদানের একটি বিচ্ছিন্ন, গভীর অনুলিপি প্রদান করে। | 
 get Attributes() |  Object | উপাদানের বৈশিষ্ট্য পুনরুদ্ধার করে। | 
 get Next Sibling() |  Element | উপাদানটির পরবর্তী সহোদর উপাদানটি পুনরুদ্ধার করে৷ | 
 get Parent() |  Container Element | উপাদানটির মূল উপাদান পুনরুদ্ধার করে। | 
 get Previous Sibling() |  Element | উপাদানটির পূর্ববর্তী ভাইবোন উপাদান পুনরুদ্ধার করে। | 
 get Type() |  Element Type |  এলিমেন্টের Element Type পুনরুদ্ধার করে। | 
 is At Document End() |  Boolean |  উপাদানটি Document শেষে আছে কিনা তা নির্ধারণ করে। | 
 remove From Parent() |  Page Break | উপাদানটিকে তার অভিভাবক থেকে সরিয়ে দেয়। | 
 set Attributes(attributes) |  Page Break | উপাদানের বৈশিষ্ট্য সেট করে। | 
বিস্তারিত ডকুমেন্টেশন
 copy()
বর্তমান উপাদানের একটি বিচ্ছিন্ন, গভীর অনুলিপি প্রদান করে।
উপাদান উপস্থিত কোনো শিশু উপাদান এছাড়াও অনুলিপি করা হয়. নতুন উপাদানটির কোনো অভিভাবক নেই৷
প্রত্যাবর্তন
 Page Break - নতুন অনুলিপি।
অনুমোদন
যে স্ক্রিপ্টগুলি এই পদ্ধতিটি ব্যবহার করে তাদের নিম্নলিখিত এক বা একাধিক সুযোগের সাথে অনুমোদনের প্রয়োজন হয়:
-  
https://www.googleapis.com/auth/documents.currentonly -  
https://www.googleapis.com/auth/documents 
 get Attributes()
উপাদানের বৈশিষ্ট্য পুনরুদ্ধার করে।
 ফলাফল হল একটি বস্তু যেখানে প্রতিটি বৈধ উপাদান বৈশিষ্ট্যের জন্য একটি প্রপার্টি রয়েছে যেখানে প্রতিটি সম্পত্তির নাম Document App.Attribute একটি আইটেমের সাথে মিলে যায়৷ অ্যাট্রিবিউট গণনা৷
const doc = DocumentApp.getActiveDocument(); const documentTab = doc.getActiveTab().asDocumentTab(); const body = documentTab.getBody(); // Append a styled paragraph. const par = body.appendParagraph('A bold, italicized paragraph.'); par.setBold(true); par.setItalic(true); // Retrieve the paragraph's attributes. const atts = par.getAttributes(); // Log the paragraph attributes. for (const att in atts) { Logger.log(`${att}:${atts[att]}`); }
প্রত্যাবর্তন
 Object - উপাদানের বৈশিষ্ট্য।
অনুমোদন
যে স্ক্রিপ্টগুলি এই পদ্ধতিটি ব্যবহার করে তাদের নিম্নলিখিত এক বা একাধিক সুযোগের সাথে অনুমোদনের প্রয়োজন হয়:
-  
https://www.googleapis.com/auth/documents.currentonly -  
https://www.googleapis.com/auth/documents 
 get Next Sibling()
উপাদানটির পরবর্তী সহোদর উপাদানটি পুনরুদ্ধার করে৷
পরবর্তী ভাইবোনের একই অভিভাবক আছে এবং বর্তমান উপাদান অনুসরণ করে।
প্রত্যাবর্তন
 Element - পরবর্তী ভাইবোন উপাদান।
অনুমোদন
যে স্ক্রিপ্টগুলি এই পদ্ধতিটি ব্যবহার করে তাদের নিম্নলিখিত এক বা একাধিক সুযোগের সাথে অনুমোদনের প্রয়োজন হয়:
-  
https://www.googleapis.com/auth/documents.currentonly -  
https://www.googleapis.com/auth/documents 
 get Parent()
উপাদানটির মূল উপাদান পুনরুদ্ধার করে।
মূল উপাদান বর্তমান উপাদান ধারণ করে.
প্রত্যাবর্তন
 Container Element - মূল উপাদান।
অনুমোদন
যে স্ক্রিপ্টগুলি এই পদ্ধতিটি ব্যবহার করে তাদের নিম্নলিখিত এক বা একাধিক সুযোগের সাথে অনুমোদনের প্রয়োজন হয়:
-  
https://www.googleapis.com/auth/documents.currentonly -  
https://www.googleapis.com/auth/documents 
 get Previous Sibling()
উপাদানটির পূর্ববর্তী ভাইবোন উপাদান পুনরুদ্ধার করে।
পূর্ববর্তী ভাইবোনের একই পিতামাতা রয়েছে এবং বর্তমান উপাদানের পূর্বে রয়েছে।
প্রত্যাবর্তন
 Element - পূর্ববর্তী ভাইবোন উপাদান।
অনুমোদন
যে স্ক্রিপ্টগুলি এই পদ্ধতিটি ব্যবহার করে তাদের নিম্নলিখিত এক বা একাধিক সুযোগের সাথে অনুমোদনের প্রয়োজন হয়:
-  
https://www.googleapis.com/auth/documents.currentonly -  
https://www.googleapis.com/auth/documents 
 get Type()
 এলিমেন্টের Element Type পুনরুদ্ধার করে।
 একটি প্রদত্ত উপাদানের সঠিক ধরন নির্ধারণ করতে get Type() ব্যবহার করুন।
const doc = DocumentApp.getActiveDocument(); const documentTab = doc.getActiveTab().asDocumentTab(); const body = documentTab.getBody(); // Obtain the first element in the active tab's body. const firstChild = body.getChild(0); // Use getType() to determine the element's type. if (firstChild.getType() === DocumentApp.ElementType.PARAGRAPH) { Logger.log('The first element is a paragraph.'); } else { Logger.log('The first element is not a paragraph.'); }
প্রত্যাবর্তন
 Element Type - এলিমেন্ট টাইপ।
অনুমোদন
যে স্ক্রিপ্টগুলি এই পদ্ধতিটি ব্যবহার করে তাদের নিম্নলিখিত এক বা একাধিক সুযোগের সাথে অনুমোদনের প্রয়োজন হয়:
-  
https://www.googleapis.com/auth/documents.currentonly -  
https://www.googleapis.com/auth/documents 
 is At Document End()
 উপাদানটি Document শেষে আছে কিনা তা নির্ধারণ করে।
প্রত্যাবর্তন
 Boolean — উপাদানটি ট্যাবের শেষে আছে কিনা।
অনুমোদন
যে স্ক্রিপ্টগুলি এই পদ্ধতিটি ব্যবহার করে তাদের নিম্নলিখিত এক বা একাধিক সুযোগের সাথে অনুমোদনের প্রয়োজন হয়:
-  
https://www.googleapis.com/auth/documents.currentonly -  
https://www.googleapis.com/auth/documents 
 remove From Parent()
উপাদানটিকে তার অভিভাবক থেকে সরিয়ে দেয়।
const doc = DocumentApp.getActiveDocument(); const documentTab = doc.getActiveTab().asDocumentTab(); const body = documentTab.getBody(); // Remove all images in the active tab's body. const imgs = body.getImages(); for (let i = 0; i < imgs.length; i++) { imgs[i].removeFromParent(); }
প্রত্যাবর্তন
 Page Break - সরানো উপাদান।
অনুমোদন
যে স্ক্রিপ্টগুলি এই পদ্ধতিটি ব্যবহার করে তাদের নিম্নলিখিত এক বা একাধিক সুযোগের সাথে অনুমোদনের প্রয়োজন হয়:
-  
https://www.googleapis.com/auth/documents.currentonly -  
https://www.googleapis.com/auth/documents 
 set Attributes(attributes)
উপাদানের বৈশিষ্ট্য সেট করে।
 নির্দিষ্ট বৈশিষ্ট্যের প্যারামিটারটি অবশ্যই এমন একটি বস্তু হতে হবে যেখানে প্রতিটি সম্পত্তির নাম Document App.Attribute একটি আইটেম। বৈশিষ্ট্য গণনা এবং প্রতিটি সম্পত্তির মান প্রয়োগ করা নতুন মান।
const doc = DocumentApp.getActiveDocument(); const documentTab = doc.getActiveTab().asDocumentTab(); const body = documentTab.getBody(); // Define a custom paragraph style. const style = {}; style[DocumentApp.Attribute.HORIZONTAL_ALIGNMENT] = DocumentApp.HorizontalAlignment.RIGHT; style[DocumentApp.Attribute.FONT_FAMILY] = 'Calibri'; style[DocumentApp.Attribute.FONT_SIZE] = 18; style[DocumentApp.Attribute.BOLD] = true; // Append a plain paragraph. const par = body.appendParagraph('A paragraph with custom style.'); // Apply the custom style. par.setAttributes(style);
পরামিতি
| নাম | টাইপ | বর্ণনা | 
|---|---|---|
 attributes |  Object | উপাদান এর বৈশিষ্ট্য. | 
প্রত্যাবর্তন
 Page Break - বর্তমান উপাদান।
অনুমোদন
যে স্ক্রিপ্টগুলি এই পদ্ধতিটি ব্যবহার করে তাদের নিম্নলিখিত এক বা একাধিক সুযোগের সাথে অনুমোদনের প্রয়োজন হয়:
-  
https://www.googleapis.com/auth/documents.currentonly -  
https://www.googleapis.com/auth/documents