Presentation
Overview
Presentation là một lớp trong Aspose.Slides FOSS cho Java. Dòng thừa kế từ: IPresentation.
Giới thiệu về một bài thuyết trình.
Khóa học này cung cấp 30 phương pháp để làm việc với các đối tượng trình bày trong các chương trình Java. Các phương pháp có sẵn bao gồm: Presentation, asIPresentationComponent, close, dispose, getCommentAuthors, getCurrentDateTime, getDocumentProperties, getFirstSlideNumber, getImages, getLayoutSlides, getMasters, getNotesSize,6 phương pháp bổ sung. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.Slides FOSS cho gói Java. Tài sản : commentAuthors, currentDateTime, documentProperties, firstSlideNumber, images, layoutSlides,Và 5 nhiều hơn nữa.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
presentation | IPresentation | Read | Nhận được trình bày. |
currentDateTime | LocalDateTime | Read | Nhận thời gian ngày hiện tại. |
documentProperties | IDocumentProperties | Read | Nhận tài liệu thuộc tính. |
commentAuthors | ICommentAuthorCollection | Read | Nhận các tác giả bình luận. |
slides | ISlideCollection | Read | Gửi các slides. |
notesSize | INotesSize | Read | Nhận kích thước ghi chú. |
layoutSlides | IGlobalLayoutSlideCollection | Read | Gửi các slides layout. |
masters | IMasterSlideCollection | Read | Nhận được các bậc thầy. |
images | IImageCollection | Read | Nhận được hình ảnh. |
sourceFormat | SourceFormat | Read | Nhận định dạng nguồn. |
firstSlideNumber | int | Read | Nhận số slide đầu tiên. |
Methods
| Signature | Description |
|---|---|
Presentation() | Tạo một bản trình bày trắng mới với một slide. |
Presentation(path: String) | Mở một bản trình bày từ con đường tệp cụ thể. |
Presentation(in: InputStream) | Mở một bản trình bày từ dòng nhập cụ thể. |
save(path: String) | Chỉ tiết kiệm các chỉ số nhấp chuột được liệt kê cho dòng trong định dạng với tùy chọn |
save(stream: OutputStream) | |
getPresentation() → IPresentation | Trở lại bản trình bày. |
getCurrentDateTime() → LocalDateTime | Trở lại thời gian ngày hiện tại. |
setCurrentDateTime(value: LocalDateTime) | Đặt giá trị thời gian ngày hiện tại. |
getDocumentProperties() → IDocumentProperties | Trả lại tài sản của tài liệu. |
getCommentAuthors() → ICommentAuthorCollection | Trở lại các tác giả bình luận. |
getSlides() → ISlideCollection | Trở lại slides. |
getNotesSize() → INotesSize | Trả lại kích thước ghi chú. |
getLayoutSlides() → IGlobalLayoutSlideCollection | Trở lại các slides layout. |
getMasters() → IMasterSlideCollection | Trở lại các bậc thầy. |
getImages() → IImageCollection | Trở lại hình ảnh. |
getSourceFormat() → SourceFormat | Trở lại định dạng nguồn. |
getFirstSlideNumber() → int | Trả lại số slide đầu tiên. |
setFirstSlideNumber(value: int) | Đặt giá trị số slide đầu tiên. |
asIPresentationComponent() → IPresentationComponent | Trở lại bản trình bày như một IPresentationComponent |
save(path: String, format: SaveFormat) | |
save(stream: OutputStream, format: SaveFormat) | |
save(path: String, format: SaveFormat, options: ISaveOptions) | |
save(stream: OutputStream, format: SaveFormat, options: ISaveOptions) | |
save(path: String, slides: int[], format: SaveFormat) | |
save(path: String, slides: int[], format: SaveFormat, options: ISaveOptions) | |
save(stream: OutputStream, slides: int[], format: SaveFormat) | |
save(stream: OutputStream, slides: int[], format: SaveFormat, options: ISaveOptions) | |
save(options: ISaveOptions) | Không được thực hiện trong phiên bản FOSS - ném vào thời gian chạy. |
dispose() | Tải về tất cả các tài nguyên được sử dụng trong trình bày |
close() | đóng cửa trình bày và phát hành tài nguyên |