DocumentProperties — Aspose.Slides FOSS for Java API Reference
ColladaSaveOptions DocumentProperties המחלקה מייצגת את תכונות המטא‑נתונים של מצגת. היא מממשת IDocumentProperties.
ColladaSaveOptions: org.aspose.slides.foss
import org.aspose.slides.foss.*;public class DocumentProperties implements IDocumentPropertiesColladaSaveOptions
| ColladaSaveOptions | ColladaSaveOptions | ColladaSaveOptions | ColladaSaveOptions |
|---|---|---|---|
getTitle() / setTitle(String) | String | קריאה/כתיבה | כותרת המצגת. |
getSubject() / setSubject(String) | String | קריאה/כתיבה | נושא. |
getAuthor() / setAuthor(String) | String | קריאה/כתיבה | שם המחבר. |
getKeywords() / setKeywords(String) | String | קריאה/כתיבה | מילות מפתח. |
getComments() / setComments(String) | String | קריאה/כתיבה | הערות/תיאור. |
getCategory() / setCategory(String) | String | קריאה/כתיבה | קטגוריה. |
getContentStatus() / setContentStatus(String) | String | קריאה/כתיבה | מצב תוכן. |
getContentType() / setContentType(String) | String | קריאה/כתיבה | סוג תוכן. |
getLastSavedBy() / setLastSavedBy(String) | String | קריאה/כתיבה | נשמר לאחרונה על ידי. |
דוגמאות שימוש
הגדר מאפייני מסמך
import org.aspose.slides.foss.*;
Presentation prs = new Presentation();
IDocumentProperties props = prs.getDocumentProperties();
props.setTitle("Annual Report");
props.setAuthor("Engineering Team");
props.setSubject("FY2025 Results");
props.setKeywords("annual, report, slides");
props.setCategory("Reports");
prs.save("report.pptx", SaveFormat.PPTX);קרא מאפייני מסמך
Presentation prs = new Presentation("report.pptx");
IDocumentProperties props = prs.getDocumentProperties();
System.out.println("Title: " + props.getTitle());
System.out.println("Author: " + props.getAuthor());