// For complete examples and data files, please go to https://github.com/aspose-tasks/Aspose.Tasks-for-Java String dataDir = Utils.getDataDir(SaveAsCsvTextAndTemplate.class); Project project = new Project(dataDir + "sample.mpp"); HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions(); //Determines whether to include project name in HTML title (true by default) htmlSaveOptions.setIncludeProjectNameInTitle(true); //Determines whether to include project name in HTML page header (true by default) htmlSaveOptions.setIncludeProjectNameInPageHeader(false); htmlSaveOptions.setPages(new ArrayList()); htmlSaveOptions.getPages().add(1); project.save("output.html", htmlSaveOptions);