Skip to content
ComPDF

SDK Package Structure

You can contact us to get the ComPDF Conversion SDK for Ruby package. The Linux x86_64 release package follows the same top-level structure as the C++ SDK package. From the package root directory, it contains the following files:

text
doc/
  README.md
  api_reference_ruby.html
  developer_guide_ruby.md
  html/
lib/
  compdfkit_conversion.rb
  compdfkit_conversion/
    callback.rb
    conversion.rb
    enums.rb
    error_code.rb
    library_manager.rb
    native.rb
    options.rb
    version.rb
  libcpdfconversionsdk.so
  libDocumentAI.so.4.0.0
  libonnxruntime.so.1.18.0
  libopencv_world.so.410
  libcompdfkitconversion_ruby_bridge.so
resource/
  models/
    documentai.model
samples/
  demo/
    demo.rb
  input_files/
    word.pdf
    excel.pdf
    powerpoint.pdf
  output_files/
  license.xml
legal.txt
release_notes.txt

The main directories are:

  • doc/: API reference and developer guide.
  • lib/: Ruby source files loaded by require "compdfkit_conversion", the native ComPDF Conversion runtime libraries, and the Ruby bridge library.
  • resource/: DocumentAI model resources.
  • samples/: Ruby demo script, sample input files, license file, and output directory.
  • legal.txt: Legal and copyright information.
  • release_notes.txt: Release information.