asposeslidesjava 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/LICENSE +21 -0
  4. data/README.md +31 -0
  5. data/Rakefile +2 -0
  6. data/asposeslidesjava.gemspec +27 -0
  7. data/config/aspose.yml +5 -0
  8. data/data/Aspose.html +55 -0
  9. data/data/Aspose.pptx +0 -0
  10. data/data/AsposeChart.pptx +0 -0
  11. data/data/Bass-Drum.wav +0 -0
  12. data/data/HelloWorld.pptx +0 -0
  13. data/data/Presentation1.ppt +0 -0
  14. data/data/Shapes/OleEmbed.pptx +0 -0
  15. data/data/Shapes/Wildlife.mp4 +0 -0
  16. data/data/Shapes/sample.xlsx +0 -0
  17. data/data/Source.odp +0 -0
  18. data/data/Tables/aspose-logo.jpg +0 -0
  19. data/data/Tables/demotable.pptx +0 -0
  20. data/data/Text/Welcome.pptx +0 -0
  21. data/data/Text/import.html +119 -0
  22. data/data/Text/input.pptx +0 -0
  23. data/data/Wildlife.mp4 +0 -0
  24. data/data/WithActiveX.pptm +0 -0
  25. data/data/aspose-logo.jpg +0 -0
  26. data/data/demo.pptx +0 -0
  27. data/data/night.jpg +0 -0
  28. data/data/vbamacro.pptx +0 -0
  29. data/lib/asposeslidesjava.rb +71 -0
  30. data/lib/asposeslidesjava/ActiveX/addactivex.rb +21 -0
  31. data/lib/asposeslidesjava/Charts/chartlegend.rb +33 -0
  32. data/lib/asposeslidesjava/Charts/chartproperties.rb +120 -0
  33. data/lib/asposeslidesjava/Charts/chartseries.rb +28 -0
  34. data/lib/asposeslidesjava/Charts/charttrendlines.rb +53 -0
  35. data/lib/asposeslidesjava/Charts/createchart.rb +163 -0
  36. data/lib/asposeslidesjava/Charts/errorbars.rb +84 -0
  37. data/lib/asposeslidesjava/Charts/existingchart.rb +66 -0
  38. data/lib/asposeslidesjava/Charts/formattingchartentities.rb +163 -0
  39. data/lib/asposeslidesjava/Charts/setlabeldistance.rb +24 -0
  40. data/lib/asposeslidesjava/Charts/setpiechartcolors.rb +118 -0
  41. data/lib/asposeslidesjava/Presentation/convertingtohtml.rb +25 -0
  42. data/lib/asposeslidesjava/Presentation/convertingtonotes.rb +37 -0
  43. data/lib/asposeslidesjava/Presentation/convertingtopdf.rb +16 -0
  44. data/lib/asposeslidesjava/Presentation/convertingtotiff.rb +62 -0
  45. data/lib/asposeslidesjava/Presentation/convertingtoxps.rb +43 -0
  46. data/lib/asposeslidesjava/Presentation/odptopptx.rb +16 -0
  47. data/lib/asposeslidesjava/Presentation/ppttopptx.rb +16 -0
  48. data/lib/asposeslidesjava/Presentation/properties.rb +106 -0
  49. data/lib/asposeslidesjava/Presentation/zoom.rb +20 -0
  50. data/lib/asposeslidesjava/Shapes/addellipseshape.rb +60 -0
  51. data/lib/asposeslidesjava/Shapes/addinglineshape.rb +65 -0
  52. data/lib/asposeslidesjava/Shapes/addrectangleshape.rb +58 -0
  53. data/lib/asposeslidesjava/Shapes/cloneshape.rb +32 -0
  54. data/lib/asposeslidesjava/Shapes/connectshapes.rb +83 -0
  55. data/lib/asposeslidesjava/Shapes/embedvideo.rb +32 -0
  56. data/lib/asposeslidesjava/Shapes/fillingshapes.rb +98 -0
  57. data/lib/asposeslidesjava/Shapes/findshape.rb +30 -0
  58. data/lib/asposeslidesjava/Shapes/formatlines.rb +99 -0
  59. data/lib/asposeslidesjava/Shapes/frame.rb +85 -0
  60. data/lib/asposeslidesjava/Shapes/groupshape.rb +35 -0
  61. data/lib/asposeslidesjava/Shapes/oleobject.rb +26 -0
  62. data/lib/asposeslidesjava/Shapes/rotatingshapes.rb +25 -0
  63. data/lib/asposeslidesjava/Shapes/shapeproperties.rb +30 -0
  64. data/lib/asposeslidesjava/Shapes/shapethumbnail.rb +18 -0
  65. data/lib/asposeslidesjava/Slides/accessslides.rb +38 -0
  66. data/lib/asposeslidesjava/Slides/addslides.rb +28 -0
  67. data/lib/asposeslidesjava/Slides/background.rb +76 -0
  68. data/lib/asposeslidesjava/Slides/changingposition.rb +22 -0
  69. data/lib/asposeslidesjava/Slides/cloneslides.rb +72 -0
  70. data/lib/asposeslidesjava/Slides/creatingsvg.rb +27 -0
  71. data/lib/asposeslidesjava/Slides/hyperlinks.rb +19 -0
  72. data/lib/asposeslidesjava/Slides/removeslides.rb +46 -0
  73. data/lib/asposeslidesjava/Slides/sizeandlayout.rb +55 -0
  74. data/lib/asposeslidesjava/Slides/thumbnail.rb +113 -0
  75. data/lib/asposeslidesjava/Slides/transitions.rb +24 -0
  76. data/lib/asposeslidesjava/SmartArt/addsmartart.rb +26 -0
  77. data/lib/asposeslidesjava/SmartArt/fillformat.rb +28 -0
  78. data/lib/asposeslidesjava/Tables/addimage.rb +34 -0
  79. data/lib/asposeslidesjava/Tables/aligntext.rb +48 -0
  80. data/lib/asposeslidesjava/Tables/clonerowcolumn.rb +76 -0
  81. data/lib/asposeslidesjava/Tables/createtable.rb +61 -0
  82. data/lib/asposeslidesjava/Tables/removerowcolumn.rb +27 -0
  83. data/lib/asposeslidesjava/Text/createtextbox.rb +79 -0
  84. data/lib/asposeslidesjava/Text/exporttexttohtml.rb +30 -0
  85. data/lib/asposeslidesjava/Text/importhtml.rb +51 -0
  86. data/lib/asposeslidesjava/Text/managefont.rb +30 -0
  87. data/lib/asposeslidesjava/Text/managetext.rb +128 -0
  88. data/lib/asposeslidesjava/Text/paragraphs.rb +260 -0
  89. data/lib/asposeslidesjava/Text/replacetext.rb +23 -0
  90. data/lib/asposeslidesjava/Text/shadoweffects.rb +37 -0
  91. data/lib/asposeslidesjava/Text/textfont.rb +130 -0
  92. data/lib/asposeslidesjava/Text/wordart.rb +45 -0
  93. data/lib/asposeslidesjava/VBAMacros/removevbamacro.rb +18 -0
  94. data/lib/asposeslidesjava/activex.rb +1 -0
  95. data/lib/asposeslidesjava/asposeslides.rb +10 -0
  96. data/lib/asposeslidesjava/charts.rb +9 -0
  97. data/lib/asposeslidesjava/helloworld.rb +38 -0
  98. data/lib/asposeslidesjava/presentation.rb +9 -0
  99. data/lib/asposeslidesjava/shapes.rb +15 -0
  100. data/lib/asposeslidesjava/slides.rb +11 -0
  101. data/lib/asposeslidesjava/smartart.rb +2 -0
  102. data/lib/asposeslidesjava/tables.rb +5 -0
  103. data/lib/asposeslidesjava/text.rb +10 -0
  104. data/lib/asposeslidesjava/vbamacros.rb +1 -0
  105. data/lib/asposeslidesjava/version.rb +3 -0
  106. data/samples/test.rb +8 -0
  107. metadata +206 -0
@@ -0,0 +1,23 @@
1
+ module Asposeslidesjava
2
+ module ReplaceText
3
+ def initialize()
4
+ data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/Text/'
5
+
6
+ # Create an instance of Presentation class
7
+ pres = Rjb::import('com.aspose.slides.Presentation').new(data_dir + 'Welcome.pptx')
8
+
9
+ # Get the first slide
10
+ sld = pres.getSlides().get_Item(0)
11
+
12
+ # Change the text of each placeholder
13
+ shp = sld.getShapes().get_Item(0)
14
+ shp.getTextFrame().setText("This is Placeholder")
15
+
16
+ # Write the presentation as a PPTX file
17
+ save_format = Rjb::import('com.aspose.slides.SaveFormat')
18
+ pres.save(data_dir + "Welcome_PH.pptx", save_format.Pptx)
19
+
20
+ puts "Replaced text, please check the output file."
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,37 @@
1
+ module Asposeslidesjava
2
+ module ShadowEffects
3
+ def initialize()
4
+ data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/Text/'
5
+
6
+ # Create an instance of Presentation class
7
+ pres = Rjb::import('com.aspose.slides.Presentation').new
8
+
9
+ # Get the first slide
10
+ slide = pres.getSlides().get_Item(0)
11
+
12
+ # Add an AutoShape of Rectangle type
13
+ shp = slide.getShapes().addAutoShape(Rjb::import('com.aspose.slides.ShapeType').Rectangle, 150, 75, 150, 50)
14
+
15
+ # Add TextFrame to the Rectangle
16
+ shp.addTextFrame("Aspose TextBox")
17
+
18
+ # Disable shape fill in case we want to get shadow of text
19
+ shp.getFillFormat().setFillType(Rjb::import('com.aspose.slides.FillType').NoFill)
20
+
21
+ # Add outer shadow and set all necessary parameters
22
+ shp.getEffectFormat().enableOuterShadowEffect()
23
+ shadow = shp.getEffectFormat().getOuterShadowEffect()
24
+ shadow.setBlurRadius(4.0)
25
+ shadow.setDirection(45)
26
+ shadow.setDistance(3)
27
+ shadow.setRectangleAlign(Rjb::import('com.aspose.slides.RectangleAlignment').TopLeft)
28
+ shadow.getShadowColor().setColor(Rjb::import('java.awt.Color').black)
29
+
30
+ # Write the presentation as a PPTX file
31
+ save_format = Rjb::import('com.aspose.slides.SaveFormat')
32
+ pres.save(data_dir + "OutShadow.pptx", save_format.Pptx)
33
+
34
+ puts "Applied shadow effects on text, please check the output file."
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,130 @@
1
+ module Asposeslidesjava
2
+ module TextFont
3
+ def initialize()
4
+ # Managing Font Related Properties
5
+ font_properties()
6
+
7
+ # Managing Font Family of Text
8
+ font_family_of_text()
9
+
10
+ # Using Default Fonts for Rendering Presentation
11
+ set_default_font_for_rendering()
12
+ end
13
+
14
+ def font_properties()
15
+ data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/Text/'
16
+
17
+ # Create an instance of Presentation class
18
+ pres = Rjb::import('com.aspose.slides.Presentation').new(data_dir + 'Welcome.pptx')
19
+
20
+ # Get the first slide
21
+ slide = pres.getSlides().get_Item(0)
22
+
23
+ # Accessing the first and second placeholder in the slide and typecasting it as AutoShape
24
+ tf1 = slide.getShapes().get_Item(0).getTextFrame()
25
+ tf2 = slide.getShapes().get_Item(1).getTextFrame()
26
+
27
+ # Accessing the first Paragraph
28
+ para1 = tf1.getParagraphs().get_Item(0)
29
+ para2 = tf2.getParagraphs().get_Item(0)
30
+
31
+ # Accessing the first portion
32
+ port1 = para1.getPortions().get_Item(0)
33
+ port2 = para2.getPortions().get_Item(0)
34
+
35
+ # Define new fonts
36
+ fd1 = Rjb::import('com.aspose.slides.FontData').new("Elephant")
37
+ fd2 = Rjb::import('com.aspose.slides.FontData').new("Castellar")
38
+
39
+ # Assign new fonts to portion
40
+ port1.getPortionFormat().setLatinFont(fd1)
41
+ port2.getPortionFormat().setLatinFont(fd2)
42
+
43
+ # Set font to Bold
44
+ port1.getPortionFormat().setFontBold(Rjb::import('com.aspose.slides.NullableBool').True)
45
+ port2.getPortionFormat().setFontBold(Rjb::import('com.aspose.slides.NullableBool').True)
46
+
47
+ # Set font to Italic
48
+ port1.getPortionFormat().setFontItalic(Rjb::import('com.aspose.slides.NullableBool').True)
49
+ port2.getPortionFormat().setFontItalic(Rjb::import('com.aspose.slides.NullableBool').True)
50
+
51
+ # Set font color
52
+ port1.getPortionFormat().getFillFormat().setFillType(Rjb::import('com.aspose.slides.FillType').Solid)
53
+ port1.getPortionFormat().getFillFormat().getSolidFillColor().setColor(Rjb::import('java.awt.Color').BLUE)
54
+ port2.getPortionFormat().getFillFormat().setFillType(Rjb::import('com.aspose.slides.FillType').Solid)
55
+ port2.getPortionFormat().getFillFormat().getSolidFillColor().setColor(Rjb::import('java.awt.Color').GREEN)
56
+
57
+ # Write the presentation as a PPTX file
58
+ save_format = Rjb::import('com.aspose.slides.SaveFormat')
59
+ pres.save(data_dir + "WelcomeFont.pptx", save_format.Pptx)
60
+
61
+ puts "Done with font properties, please check the output file."
62
+ end
63
+
64
+ def font_family_of_text()
65
+ data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/Text/'
66
+
67
+ # Create an instance of Presentation class
68
+ pres = Rjb::import('com.aspose.slides.Presentation').new
69
+
70
+ # Get the first slide
71
+ sld = pres.getSlides().get_Item(0)
72
+
73
+ # Add an AutoShape of Rectangle type
74
+ ashp = sld.getShapes().addAutoShape(Rjb::import('com.aspose.slides.ShapeType').Rectangle, 50, 50, 200, 50)
75
+
76
+ # Remove any fill style associated with the AutoShape
77
+ ashp.getFillFormat().setFillType(Rjb::import('com.aspose.slides.FillType').NoFill)
78
+
79
+ # Access the TextFrame associated with the AutoShape
80
+ tf = ashp.getTextFrame()
81
+ tf.setText("Aspose TextBox")
82
+
83
+ # Access the Portion associated with the TextFrame
84
+ port = tf.getParagraphs().get_Item(0).getPortions().get_Item(0)
85
+
86
+ # Set the Font for the Portion
87
+ port.getPortionFormat().setLatinFont(Rjb::import('com.aspose.slides.FontData').new("Times New Roman"))
88
+
89
+ # Set Bold property of the Font
90
+ port.getPortionFormat().setFontBold(Rjb::import('com.aspose.slides.NullableBool').True)
91
+
92
+ # Set Italic property of the Font
93
+ port.getPortionFormat().setFontItalic(Rjb::import('com.aspose.slides.NullableBool').True)
94
+
95
+ # Set Underline property of the Font
96
+ port.getPortionFormat().setFontUnderline(Rjb::import('com.aspose.slides.TextUnderlineType').Single)
97
+
98
+ # Set the Height of the Font
99
+ port.getPortionFormat().setFontHeight(25)
100
+
101
+ # Set the color of the Font
102
+ port.getPortionFormat().getFillFormat().setFillType(Rjb::import('com.aspose.slides.FillType').Solid)
103
+ port.getPortionFormat().getFillFormat().getSolidFillColor().setColor(Rjb::import('java.awt.Color').BLUE)
104
+
105
+ # Write the presentation as a PPTX file
106
+ save_format = Rjb::import('com.aspose.slides.SaveFormat')
107
+ pres.save(data_dir + "FontFamilyOfText.pptx", save_format.Pptx)
108
+
109
+ puts "Done with font family for text, please check the output file."
110
+ end
111
+
112
+ def set_default_font_for_rendering()
113
+ data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/Text/'
114
+
115
+ # Use load options to define the default regualr and asian fonts
116
+ lo = Rjb::import('com.aspose.slides.LoadOptions').new(Rjb::import('com.aspose.slides.LoadFormat').Auto)
117
+ lo.setDefaultRegularFont("Wingdings")
118
+ lo.setDefaultAsianFont("Wingdings")
119
+
120
+ # Create an instance of Presentation class
121
+ pres = Rjb::import('com.aspose.slides.Presentation').new(data_dir + 'input.pptx')
122
+
123
+ # Generate PDF
124
+ save_format = Rjb::import('com.aspose.slides.SaveFormat')
125
+ pres.save(data_dir + "output.pdf", save_format.Pdf)
126
+
127
+ puts "Done with font family for text, please check the output file."
128
+ end
129
+ end
130
+ end
@@ -0,0 +1,45 @@
1
+ module Asposeslidesjava
2
+ module WordArt
3
+ def initialize()
4
+ data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/Text/'
5
+
6
+ # Create an instance of Presentation class
7
+ pres = Rjb::import('com.aspose.slides.Presentation').new
8
+
9
+ # Get the first slide
10
+ slide = pres.getSlides().get_Item(0)
11
+
12
+ # Add an AutoShape of Rectangle type
13
+ ashp = slide.getShapes().addAutoShape(Rjb::import('com.aspose.slides.ShapeType').Rectangle, 150, 75, 400, 300)
14
+ ashp.getFillFormat().setFillType(Rjb::import('com.aspose.slides.FillType').NoFill)
15
+
16
+ # Add TextFrame to the Rectangle
17
+ ashp.addTextFrame("Aspose TextBox")
18
+ port = ashp.getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0)
19
+ pf = port.getPortionFormat()
20
+ pf.setFontHeight(50)
21
+
22
+ # Enable InnerShadowEffect
23
+ ef = pf.getEffectFormat()
24
+ ef.enableInnerShadowEffect()
25
+
26
+ # Set all necessary parameters
27
+ ef.getInnerShadowEffect().setBlurRadius(8.0)
28
+ ef.getInnerShadowEffect().setDirection(90)
29
+ ef.getInnerShadowEffect().setDistance(6.0)
30
+ ef.getInnerShadowEffect().getShadowColor().setB(189)
31
+
32
+ # Set ColorType as Scheme
33
+ ef.getInnerShadowEffect().getShadowColor().setColorType(Rjb::import('com.aspose.slides.ColorType').Scheme)
34
+
35
+ # Set Scheme Color
36
+ ef.getInnerShadowEffect().getShadowColor().setSchemeColor(Rjb::import('com.aspose.slides.SchemeColor').Accent1)
37
+
38
+ # Write the presentation as a PPTX file
39
+ save_format = Rjb::import('com.aspose.slides.SaveFormat')
40
+ pres.save(data_dir + "WordArt.pptx", save_format.Pptx)
41
+
42
+ puts "Done with word art, please check the output file."
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,18 @@
1
+ module Asposeslidesjava
2
+ module RemoveVBAMacro
3
+ def initialize()
4
+ data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/'
5
+
6
+ # Create an instance of Presentation class
7
+ pres = Rjb::import('com.aspose.slides.Presentation').new(data_dir + 'vbamacro.pptx')
8
+
9
+ # Access the Vba module and remove
10
+ pres.getVbaProject().getModules().remove(pres.getVbaProject().getModules().get_Item(0))
11
+
12
+ # Write the presentation as a PPTX file
13
+ pres.save(data_dir + "RemoveVBAMacro.pptx", Rjb::import('com.aspose.slides.SaveFormat').Pptx)
14
+
15
+ puts "Removed VBA Macro, please check the output file."
16
+ end
17
+ end
18
+ end
@@ -0,0 +1 @@
1
+ require_relative 'ActiveX/addactivex'
@@ -0,0 +1,10 @@
1
+ require_relative 'helloworld'
2
+ require_relative 'presentation'
3
+ require_relative 'slides'
4
+ require_relative 'charts'
5
+ require_relative 'shapes'
6
+ require_relative 'tables'
7
+ require_relative 'text'
8
+ require_relative 'smartart'
9
+ require_relative 'activex'
10
+ require_relative 'vbamacros'
@@ -0,0 +1,9 @@
1
+ require_relative 'Charts/existingchart'
2
+ require_relative 'Charts/createchart'
3
+ require_relative 'Charts/formattingchartentities'
4
+ require_relative 'Charts/charttrendlines'
5
+ require_relative 'Charts/chartlegend'
6
+ require_relative 'Charts/setpiechartcolors'
7
+ require_relative 'Charts/errorbars'
8
+ require_relative 'Charts/chartproperties'
9
+ require_relative 'Charts/chartseries'
@@ -0,0 +1,38 @@
1
+ module Asposeslidesjava
2
+ module HelloWorld
3
+ def initialize()
4
+ data_dir = File.dirname(File.dirname(File.dirname(__FILE__))) + '/data/'
5
+
6
+ # Instantiate Presentation
7
+ pres = Rjb::import('com.aspose.slides.Presentation').new
8
+
9
+ # Get the first slide
10
+ slide = pres.getSlides().get_Item(0)
11
+
12
+ # Add an AutoShape of Rectangle type
13
+ shape_type = Rjb::import('com.aspose.slides.ShapeType')
14
+ ashp = slide.getShapes().addAutoShape(shape_type.Rectangle, 150, 75, 150, 50)
15
+
16
+ # Add ITextFrame to the Rectangle
17
+ ashp.addTextFrame("Hello World")
18
+
19
+ # Change the text color to Black (which is White by default)
20
+ fill_type = Rjb::import('com.aspose.slides.FillType')
21
+ color = Rjb::import('java.awt.Color')
22
+ ashp.getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0).getPortionFormat().getFillFormat().setFillType(fill_type.Solid)
23
+ ashp.getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0).getPortionFormat().getFillFormat().getSolidFillColor().setColor(color.BLACK)
24
+
25
+ # Change the line color of the rectangle to White
26
+ ashp.getShapeStyle().getLineColor().setColor(color.WHITE)
27
+
28
+ # Remove any fill formatting in the shape
29
+ ashp.getFillFormat().setFillType (fill_type.NoFill)
30
+
31
+ # Save the presentation to disk
32
+ save_format = Rjb::import('com.aspose.slides.SaveFormat')
33
+ pres.save(data_dir + "HelloWorld.pptx", save_format.Pptx)
34
+
35
+ puts "Document has been saved, please check the output file."
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,9 @@
1
+ require_relative 'Presentation/properties'
2
+ require_relative 'Presentation/ppttopptx'
3
+ require_relative 'Presentation/odptopptx'
4
+ require_relative 'Presentation/convertingtopdf'
5
+ require_relative 'Presentation/convertingtotiff'
6
+ require_relative 'Presentation/convertingtoxps'
7
+ require_relative 'Presentation/convertingtohtml'
8
+ require_relative 'Presentation/convertingtonotes'
9
+ require_relative 'Presentation/zoom'
@@ -0,0 +1,15 @@
1
+ require_relative 'Shapes/addinglineshape'
2
+ require_relative 'Shapes/fillingshapes'
3
+ require_relative 'Shapes/rotatingshapes'
4
+ require_relative 'Shapes/frame'
5
+ require_relative 'Shapes/addellipseshape'
6
+ require_relative 'Shapes/addrectangleshape'
7
+ require_relative 'Shapes/cloneshape'
8
+ require_relative 'Shapes/groupshape'
9
+ require_relative 'Shapes/findshape'
10
+ require_relative 'Shapes/formatlines'
11
+ require_relative 'Shapes/connectshapes'
12
+ require_relative 'Shapes/shapeproperties'
13
+ require_relative 'Shapes/shapethumbnail'
14
+ require_relative 'Shapes/embedvideo'
15
+ require_relative 'Shapes/oleobject'
@@ -0,0 +1,11 @@
1
+ require_relative 'Slides/addslides'
2
+ require_relative 'Slides/accessslides'
3
+ require_relative 'Slides/removeslides'
4
+ require_relative 'Slides/cloneslides'
5
+ require_relative 'Slides/changingposition'
6
+ require_relative 'Slides/background'
7
+ require_relative 'Slides/thumbnail'
8
+ require_relative 'Slides/transitions'
9
+ require_relative 'Slides/creatingsvg'
10
+ require_relative 'Slides/hyperlinks'
11
+ require_relative 'Slides/sizeandlayout'
@@ -0,0 +1,2 @@
1
+ require_relative 'SmartArt/addsmartart'
2
+ require_relative 'SmartArt/fillformat'
@@ -0,0 +1,5 @@
1
+ require_relative 'Tables/createtable'
2
+ require_relative 'Tables/removerowcolumn'
3
+ require_relative 'Tables/clonerowcolumn'
4
+ require_relative 'Tables/aligntext'
5
+ require_relative 'Tables/addimage'
@@ -0,0 +1,10 @@
1
+ require_relative 'Text/createtextbox'
2
+ require_relative 'Text/replacetext'
3
+ require_relative 'Text/shadoweffects'
4
+ require_relative 'Text/paragraphs'
5
+ require_relative 'Text/textfont'
6
+ require_relative 'Text/wordart'
7
+ require_relative 'Text/managetext'
8
+ require_relative 'Text/exporttexttohtml'
9
+ require_relative 'Text/importhtml'
10
+ require_relative 'Text/managefont'
@@ -0,0 +1 @@
1
+ require_relative 'VBAMacros/removevbamacro'
@@ -0,0 +1,3 @@
1
+ module Asposeslidesjava
2
+ VERSION = '0.0.1'
3
+ end
@@ -0,0 +1,8 @@
1
+ require '../lib/asposeslidesjava'
2
+ include Asposeslidesjava
3
+ include Asposeslidesjava::HelloWorld
4
+
5
+ initialize_aspose_slides
6
+
7
+
8
+
metadata ADDED
@@ -0,0 +1,206 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: asposeslidesjava
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Aspose Marketplace
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-08-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rjb
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.5.2
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.5.2
69
+ description: AsposeSlidesJava is a Ruby gem that can help working with Aspose.Slides
70
+ for Java libraries
71
+ email:
72
+ - marketplace@aspose.com
73
+ executables: []
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - Gemfile
78
+ - LICENSE
79
+ - README.md
80
+ - Rakefile
81
+ - asposeslidesjava.gemspec
82
+ - config/aspose.yml
83
+ - data/Aspose.html
84
+ - data/Aspose.pptx
85
+ - data/AsposeChart.pptx
86
+ - data/Bass-Drum.wav
87
+ - data/HelloWorld.pptx
88
+ - data/Presentation1.ppt
89
+ - data/Shapes/OleEmbed.pptx
90
+ - data/Shapes/Wildlife.mp4
91
+ - data/Shapes/sample.xlsx
92
+ - data/Source.odp
93
+ - data/Tables/aspose-logo.jpg
94
+ - data/Tables/demotable.pptx
95
+ - data/Text/Welcome.pptx
96
+ - data/Text/import.html
97
+ - data/Text/input.pptx
98
+ - data/Wildlife.mp4
99
+ - data/WithActiveX.pptm
100
+ - data/aspose-logo.jpg
101
+ - data/demo.pptx
102
+ - data/night.jpg
103
+ - data/vbamacro.pptx
104
+ - lib/asposeslidesjava.rb
105
+ - lib/asposeslidesjava/ActiveX/addactivex.rb
106
+ - lib/asposeslidesjava/Charts/chartlegend.rb
107
+ - lib/asposeslidesjava/Charts/chartproperties.rb
108
+ - lib/asposeslidesjava/Charts/chartseries.rb
109
+ - lib/asposeslidesjava/Charts/charttrendlines.rb
110
+ - lib/asposeslidesjava/Charts/createchart.rb
111
+ - lib/asposeslidesjava/Charts/errorbars.rb
112
+ - lib/asposeslidesjava/Charts/existingchart.rb
113
+ - lib/asposeslidesjava/Charts/formattingchartentities.rb
114
+ - lib/asposeslidesjava/Charts/setlabeldistance.rb
115
+ - lib/asposeslidesjava/Charts/setpiechartcolors.rb
116
+ - lib/asposeslidesjava/Presentation/convertingtohtml.rb
117
+ - lib/asposeslidesjava/Presentation/convertingtonotes.rb
118
+ - lib/asposeslidesjava/Presentation/convertingtopdf.rb
119
+ - lib/asposeslidesjava/Presentation/convertingtotiff.rb
120
+ - lib/asposeslidesjava/Presentation/convertingtoxps.rb
121
+ - lib/asposeslidesjava/Presentation/odptopptx.rb
122
+ - lib/asposeslidesjava/Presentation/ppttopptx.rb
123
+ - lib/asposeslidesjava/Presentation/properties.rb
124
+ - lib/asposeslidesjava/Presentation/zoom.rb
125
+ - lib/asposeslidesjava/Shapes/addellipseshape.rb
126
+ - lib/asposeslidesjava/Shapes/addinglineshape.rb
127
+ - lib/asposeslidesjava/Shapes/addrectangleshape.rb
128
+ - lib/asposeslidesjava/Shapes/cloneshape.rb
129
+ - lib/asposeslidesjava/Shapes/connectshapes.rb
130
+ - lib/asposeslidesjava/Shapes/embedvideo.rb
131
+ - lib/asposeslidesjava/Shapes/fillingshapes.rb
132
+ - lib/asposeslidesjava/Shapes/findshape.rb
133
+ - lib/asposeslidesjava/Shapes/formatlines.rb
134
+ - lib/asposeslidesjava/Shapes/frame.rb
135
+ - lib/asposeslidesjava/Shapes/groupshape.rb
136
+ - lib/asposeslidesjava/Shapes/oleobject.rb
137
+ - lib/asposeslidesjava/Shapes/rotatingshapes.rb
138
+ - lib/asposeslidesjava/Shapes/shapeproperties.rb
139
+ - lib/asposeslidesjava/Shapes/shapethumbnail.rb
140
+ - lib/asposeslidesjava/Slides/accessslides.rb
141
+ - lib/asposeslidesjava/Slides/addslides.rb
142
+ - lib/asposeslidesjava/Slides/background.rb
143
+ - lib/asposeslidesjava/Slides/changingposition.rb
144
+ - lib/asposeslidesjava/Slides/cloneslides.rb
145
+ - lib/asposeslidesjava/Slides/creatingsvg.rb
146
+ - lib/asposeslidesjava/Slides/hyperlinks.rb
147
+ - lib/asposeslidesjava/Slides/removeslides.rb
148
+ - lib/asposeslidesjava/Slides/sizeandlayout.rb
149
+ - lib/asposeslidesjava/Slides/thumbnail.rb
150
+ - lib/asposeslidesjava/Slides/transitions.rb
151
+ - lib/asposeslidesjava/SmartArt/addsmartart.rb
152
+ - lib/asposeslidesjava/SmartArt/fillformat.rb
153
+ - lib/asposeslidesjava/Tables/addimage.rb
154
+ - lib/asposeslidesjava/Tables/aligntext.rb
155
+ - lib/asposeslidesjava/Tables/clonerowcolumn.rb
156
+ - lib/asposeslidesjava/Tables/createtable.rb
157
+ - lib/asposeslidesjava/Tables/removerowcolumn.rb
158
+ - lib/asposeslidesjava/Text/createtextbox.rb
159
+ - lib/asposeslidesjava/Text/exporttexttohtml.rb
160
+ - lib/asposeslidesjava/Text/importhtml.rb
161
+ - lib/asposeslidesjava/Text/managefont.rb
162
+ - lib/asposeslidesjava/Text/managetext.rb
163
+ - lib/asposeslidesjava/Text/paragraphs.rb
164
+ - lib/asposeslidesjava/Text/replacetext.rb
165
+ - lib/asposeslidesjava/Text/shadoweffects.rb
166
+ - lib/asposeslidesjava/Text/textfont.rb
167
+ - lib/asposeslidesjava/Text/wordart.rb
168
+ - lib/asposeslidesjava/VBAMacros/removevbamacro.rb
169
+ - lib/asposeslidesjava/activex.rb
170
+ - lib/asposeslidesjava/asposeslides.rb
171
+ - lib/asposeslidesjava/charts.rb
172
+ - lib/asposeslidesjava/helloworld.rb
173
+ - lib/asposeslidesjava/presentation.rb
174
+ - lib/asposeslidesjava/shapes.rb
175
+ - lib/asposeslidesjava/slides.rb
176
+ - lib/asposeslidesjava/smartart.rb
177
+ - lib/asposeslidesjava/tables.rb
178
+ - lib/asposeslidesjava/text.rb
179
+ - lib/asposeslidesjava/vbamacros.rb
180
+ - lib/asposeslidesjava/version.rb
181
+ - samples/test.rb
182
+ homepage: https://github.com/asposeslides/Aspose_Slides_Java/tree/master/Plugins/Aspose_Slides_Java_for_Ruby
183
+ licenses:
184
+ - MIT
185
+ metadata: {}
186
+ post_install_message:
187
+ rdoc_options: []
188
+ require_paths:
189
+ - lib
190
+ required_ruby_version: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ required_rubygems_version: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
200
+ requirements: []
201
+ rubyforge_project:
202
+ rubygems_version: 2.4.5
203
+ signing_key:
204
+ specification_version: 4
205
+ summary: A Ruby gem to work with Aspose.Slides for Java libraries
206
+ test_files: []