Sha256: 0d7b115c316243bc9ce81f3420fbbe168a818bfd81fb6aaf59cecc45f77a6228
Contents?: true
Size: 762 Bytes
Versions: 1
Compression:
Stored size: 762 Bytes
Contents
module Asposetasksjava module RenderTaskSheetView def initialize() data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' # Instantiate project object project = Rjb::import('com.aspose.tasks.Project').new(data_dir + 'test_tasks.mpp') # Define the SaveOptions with required TimeScale settings as Days options = Rjb::import('com.aspose.tasks.PdfSaveOptions').new # Set the Presentation format to ResourceUsage options.setPresentationFormat(Rjb::import('com.aspose.tasks.PresentationFormat').TaskSheet) # Save the Project project.save(data_dir + "taskSheet.pdf", options) puts "Created task sheet view file." end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asposetasksjava-0.0.1 | lib/asposetasksjava/Tasks/rendertasksheetview.rb |