CommentAuthorCollection
סקירה כללית
CommentAuthorCollection הוא שיעור ב Aspose.Slides FOSS עבור Java. מורשת מ : BaseCollection<ICommentAuthor>, ICommentAuthorCollection.
להציג אוסף של סופרים הערות בהצגה.
שיעור זה מספק 13 שיטות לעבוד עם אובייקטים CommentAuthorCollection בתוכניות Java. שיטות זמינות כוללות: addAuthor, asICollection, asIEnumerable, buildAuthor, clear, findByName, findByNameAndInitials, get, initInternal, remove, removeAt, size,ועוד 1 שיטות נוספות. כל החברים הציבוריים זמינים לכל יישום Java לאחר התקנת Aspose.Slides FOSS עבור חבילת Java.
שיטות
| חתימה | תיאור |
|---|---|
initInternal(authorsPart: CommentAuthorsPart, pkg: OpcPackage, presentation: Presentation) | יוזמת רמזים תמיכה פנימיים שמחברים את הקולקציה הזו אל המשתמש. |
| נתוני חבילת OPC. | |
buildAuthor(data: AuthorData) → CommentAuthor | בונה {@link CommentAuthor} מתוך XML נתון תומך { @linkAuthorData}. |
addAuthor(name: String, initials: String) → ICommentAuthor | הוסיף מחבר חדש עם השם והתחומים שנקבעו ומחזיר אותו. |
toArray() → ICommentAuthor[] | חוזרים כל המחברים כארגון של ICommentAuthor |
findByName(name: String) → List<ICommentAuthor> | החזיר רשימה של סופרים שמשמותיהם תואמים את השורה שניתנה |
findByNameAndInitials(name: String, initials: String) → List<ICommentAuthor> | חוזרים לסופרים המתאימים לשם ולראשון |
removeAt(index: int) | הסרת המחבר על האינדקס המפורט |
remove(author: ICommentAuthor) | הסרת המחבר המפורט מהקולקציה |
clear() | הסרת כל המחברים מהקולקציה |
get(index: int) → ICommentAuthor | [הדגמה של דוק] |
In XML-backed mode, delegates to {@link CommentAuthorsPart#getAuthors()} and hydrates the author at the given index. | | `size()` → `int` | {@inheritDoc}
In XML-backed mode, returns the count from {@link CommentAuthorsPart#getAuthors()}.
/ | | `asICollection()` → `List