Sha256: f298c898ea7791ddcbd80bc23c494c87cf7705ffc34b224da690ff4e6edb33f0

Contents?: true

Size: 1.97 KB

Versions: 6

Compression:

Stored size: 1.97 KB

Contents

=begin
Copyright (c) 2019 Aspose Pty Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
=end

require 'date'

module AsposeSlidesCloud
  class SlideExportFormat
    
    JPEG = "Jpeg".freeze
    PNG = "Png".freeze
    GIF = "Gif".freeze
    BMP = "Bmp".freeze
    TIFF = "Tiff".freeze
    HTML = "Html".freeze
    PDF = "Pdf".freeze
    XPS = "Xps".freeze
    PPTX = "Pptx".freeze
    ODP = "Odp".freeze
    OTP = "Otp".freeze
    PPT = "Ppt".freeze
    PPS = "Pps".freeze
    PPSX = "Ppsx".freeze
    PPTM = "Pptm".freeze
    PPSM = "Ppsm".freeze
    POTX = "Potx".freeze
    POT = "Pot".freeze
    POTM = "Potm".freeze
    SVG = "Svg".freeze

    # Builds the enum from string
    # @param [String] The enum value in the form of the string
    # @return [String] The enum value
    def build_from_hash(value)
      constantValues = SlideExportFormat.constants.select { |c| SlideExportFormat::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #SlideExportFormat" if constantValues.empty?
      value
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
aspose_slides_cloud-20.5.0 lib/aspose_slides_cloud/models/slide_export_format.rb
aspose_slides_cloud-20.4.0 lib/aspose_slides_cloud/models/slide_export_format.rb
aspose_slides_cloud-20.2.0 lib/aspose_slides_cloud/models/slide_export_format.rb
aspose_slides_cloud-19.12.0 lib/aspose_slides_cloud/models/slide_export_format.rb
aspose_slides_cloud-19.10.0 lib/aspose_slides_cloud/models/slide_export_format.rb
aspose_slides_cloud-19.9.0 lib/aspose_slides_cloud/models/slide_export_format.rb