Class: AsposeSlidesCloud::PdfExportOptions
- Inherits:
-
BaseObject
- Object
- BaseObject
- AsposeSlidesCloud::PdfExportOptions
- Defined in:
- lib/aspose_slides_cloud/models/pdf_export_options.rb
Instance Attribute Summary collapse
-
#compliance ⇒ Object
Returns the value of attribute compliance.
-
#embed_full_fonts ⇒ Object
Returns the value of attribute embed_full_fonts.
-
#embed_true_type_fonts_for_ascii ⇒ Object
Returns the value of attribute embed_true_type_fonts_for_ascii.
-
#export_format ⇒ Object
Returns the value of attribute export_format.
-
#jpeg_quality ⇒ Object
Returns the value of attribute jpeg_quality.
-
#password ⇒ Object
Returns the value of attribute password.
-
#save_metafiles_as_png ⇒ Object
Returns the value of attribute save_metafiles_as_png.
-
#text_compression ⇒ Object
Returns the value of attribute text_compression.
Class Method Summary collapse
-
.attribute_map ⇒ Object
attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
attribute type.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ PdfExportOptions
constructor
A new instance of PdfExportOptions.
Methods inherited from BaseObject
#_deserialize, #_to_hash, #build_from_hash, #to_body, #to_hash, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ PdfExportOptions
Returns a new instance of PdfExportOptions.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 51 def initialize(attributes = {}) return if !attributes.is_a?(Hash) || attributes.empty? # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} if attributes[:'TextCompression'] self.text_compression = attributes[:'TextCompression'] end if attributes[:'EmbedFullFonts'] self. = attributes[:'EmbedFullFonts'] end if attributes[:'Compliance'] self.compliance = attributes[:'Compliance'] end if attributes[:'JpegQuality'] self.jpeg_quality = attributes[:'JpegQuality'] end if attributes[:'SaveMetafilesAsPng'] self. = attributes[:'SaveMetafilesAsPng'] end if attributes[:'Password'] self.password = attributes[:'Password'] end if attributes[:'EmbedTrueTypeFontsForASCII'] self. = attributes[:'EmbedTrueTypeFontsForASCII'] end if attributes[:'ExportFormat'] self.export_format = attributes[:'ExportFormat'] end end |
Instance Attribute Details
#compliance ⇒ Object
Returns the value of attribute compliance.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 4 def compliance @compliance end |
#embed_full_fonts ⇒ Object
Returns the value of attribute embed_full_fonts.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 4 def @embed_full_fonts end |
#embed_true_type_fonts_for_ascii ⇒ Object
Returns the value of attribute embed_true_type_fonts_for_ascii.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 4 def @embed_true_type_fonts_for_ascii end |
#export_format ⇒ Object
Returns the value of attribute export_format.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 4 def export_format @export_format end |
#jpeg_quality ⇒ Object
Returns the value of attribute jpeg_quality.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 4 def jpeg_quality @jpeg_quality end |
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 4 def password @password end |
#save_metafiles_as_png ⇒ Object
Returns the value of attribute save_metafiles_as_png.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 4 def @save_metafiles_as_png end |
#text_compression ⇒ Object
Returns the value of attribute text_compression.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 4 def text_compression @text_compression end |
Class Method Details
.attribute_map ⇒ Object
attribute mapping from ruby-style variable name to JSON key
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 6 def self.attribute_map { # :'text_compression' => :'TextCompression', # :'embed_full_fonts' => :'EmbedFullFonts', # :'compliance' => :'Compliance', # :'jpeg_quality' => :'JpegQuality', # :'save_metafiles_as_png' => :'SaveMetafilesAsPng', # :'password' => :'Password', # :'embed_true_type_fonts_for_ascii' => :'EmbedTrueTypeFontsForASCII', # :'export_format' => :'ExportFormat' } end |
.swagger_types ⇒ Object
attribute type
37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/aspose_slides_cloud/models/pdf_export_options.rb', line 37 def self.swagger_types { :'text_compression' => :'String', :'embed_full_fonts' => :'BOOLEAN', :'compliance' => :'String', :'jpeg_quality' => :'String', :'save_metafiles_as_png' => :'BOOLEAN', :'password' => :'String', :'embed_true_type_fonts_for_ascii' => :'BOOLEAN', :'export_format' => :'String' } end |