Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
266 commits
Select commit Hold shift + click to select a range
a543c40
Update trend intro to ignore if no image
Jul 18, 2016
40966c5
update test to check with some later content
Jul 21, 2016
09ccaaa
remove unused require
Jul 21, 2016
2e476ec
use more complex html in test
Nov 8, 2016
82f6625
NVIS-1304 Embed other pptx files in the main file
Nov 8, 2016
701a4fb
WIP
Nov 9, 2016
01fa09c
Updates to use multipe masters and themes
Nov 11, 2016
61e4d3f
Embdeded charts
Nov 12, 2016
8cce8eb
remove debug
Nov 12, 2016
a896c12
bump version
Nov 12, 2016
cbf58a8
NVIS-1304 PPTX generation from page builder
Nov 16, 2016
277239e
NVIS-1304 Ensure pptx validates with OOXML tool
Nov 17, 2016
9b7da38
NVIS-1304 Updating template files
Nov 17, 2016
f20662b
NVIS-1304 update heading template
Nov 17, 2016
3d6944f
rename ruby presentation to stop clashes
Nov 17, 2016
e629cf6
refactor to include read powerpoint
Nov 17, 2016
f728a90
update variable reference
Nov 17, 2016
f5d2620
parse correct xml for embeds
Nov 17, 2016
beb3d44
NVIS-1304 only save extras if they exist
Nov 17, 2016
1746a55
change write mode
Nov 17, 2016
188900a
close file handles
Nov 17, 2016
b3603f8
remove close file handles
Nov 17, 2016
68355ec
close open file handle
Nov 17, 2016
3748fba
NVIS-1304 close xml files
Nov 18, 2016
d5eeaf1
close more open file handles
Nov 18, 2016
d945930
WIP refactor and tidy
Nov 18, 2016
1cff402
WIP refactor
Nov 18, 2016
ef00681
Refactor
Nov 21, 2016
6e6a596
refactor to work dynamically with embeded slide masters
Nov 22, 2016
2fc3821
bump version
Nov 23, 2016
c839a44
add missing template directory
Nov 23, 2016
4b4792b
bump version
Nov 23, 2016
11b0e6d
add support for tags and drawings
Nov 23, 2016
ba3ff2c
adding in support for tags and drawings
Nov 23, 2016
721a712
bump version
Nov 23, 2016
1f7a779
output drawings not charts in read slide
Nov 23, 2016
f6d248d
support multiple charts in single slide
Nov 23, 2016
ad24827
rename tag path not object type
Nov 23, 2016
4178e81
fix non greedy substitution for chart paths
Nov 24, 2016
ad88568
read drawings from charts elements
Nov 24, 2016
17d3d2d
copy layout images and add theme names
Nov 24, 2016
159ec38
add trash can
Nov 24, 2016
b40a8c9
NVIS-1304 fix for mis matched notes to slides
Nov 25, 2016
1cdb3cd
NVIS-1304 Update Template
Nov 28, 2016
0923b5d
rough and ready text resizing
Nov 28, 2016
9f308b3
NVIS-1304 remove smtClean
Nov 29, 2016
266cfe0
NVIS-1304 Tidy Up Slides
Nov 30, 2016
d51b4e3
NVIS-1304 - Add inline images
Dec 1, 2016
901c165
NVIS-1304 Update sector impact to include image
Dec 1, 2016
bac0546
NVIS-1304 Add support for themeOverrides
Dec 1, 2016
ebf68af
NVIS-1304 udpdate embded image path
Dec 1, 2016
3a616df
NVIS-1304 Update font and make image smaller
Dec 2, 2016
28fe351
NVIS-1304 reduce character limit before resize
Dec 2, 2016
f197b15
text size tweaks
Dec 2, 2016
e2658bc
NVIS-1304 Fix missing sector images in manifest
Dec 3, 2016
b6526ad
NVIS-1304 - Update sector impact template
Dec 4, 2016
7c81f3d
remove bold in sector template
Dec 4, 2016
53178b7
update what next template text sizing
Dec 4, 2016
688f771
nvis-1304 fix issue with only 2 rows of content
Dec 5, 2016
c68967a
fix fewer what next row
Dec 5, 2016
d6ed687
clean up nil error
Dec 5, 2016
28771e8
nvis-1304 fix 2 row what next
Dec 5, 2016
51bb145
remove font scaling
Dec 6, 2016
a90177d
resize text
Dec 7, 2016
981ac79
NVIS-1304 Fix embeded media in master slides
Dec 8, 2016
3561425
rename jpg to jpeg
Dec 10, 2016
972a03a
working 2007 corrupt 2010,2013
Dec 10, 2016
1d2611d
repair in all office variants
Dec 11, 2016
ad6a1f0
repair in all
Dec 11, 2016
89b36b1
rolling back pre template update
Dec 11, 2016
258e8b8
replaced master template
Dec 12, 2016
2c9a8bb
tidy up content types
Dec 12, 2016
639e4c5
working with repair
Dec 12, 2016
b295fea
update spec to include other presentations
Dec 12, 2016
5d6e1dd
tidy up with comments for GH
Dec 12, 2016
e304021
fix repair message in 2010, 2013
Dec 12, 2016
d7e70a8
show chart axis correctly;
Dec 13, 2016
0710a36
NVIS-1304 Gif Support
Dec 13, 2016
486abba
escape special chars in outputed text
Dec 13, 2016
2f379d3
strip special chars
Dec 13, 2016
4800f0a
add tiff support
Dec 13, 2016
6e03757
update what next template
Dec 13, 2016
2f7b63b
removing hyperlinks
Dec 14, 2016
48af075
adding link and text formatting support
Dec 14, 2016
39b98bb
NVIS-1304 Add formatting support to PPTX
Dec 14, 2016
1ae1235
add links to sector slides
Dec 14, 2016
c375848
update outro slide
Dec 15, 2016
191cf56
support chart images
Dec 16, 2016
a6211d4
Clean up working dir and Read content as a:p tags
Feb 14, 2017
e5c8955
Add link support for thre row text slide
Apr 24, 2017
42f7142
bump version
Apr 24, 2017
5ff4624
sanitize content input in what next component
Apr 25, 2017
9a022de
bump version 2.6
Apr 25, 2017
87b2fc7
strip html tags from what next comp
Apr 25, 2017
6f48c7a
resolving issue with failing file opens when including pptx files
Feb 20, 2018
88567b8
updating version
Feb 20, 2018
fdc305e
Add test pptx files missing from repo
May 8, 2019
ec24a21
Allow for empty rows of content in WWHN component
May 8, 2019
14f27ef
Display title passed in
May 8, 2019
aa71e94
Add link support and fix bugs
May 8, 2019
c2cf238
add bullet support
May 20, 2019
1717704
Merge pull request #1 from stylefoundry/jb-nvis-2630-enable-blank-row…
justinboynton May 20, 2019
ec9ed64
Fixing issue with failing .jpg images
Oct 9, 2019
d31f2ce
bump version
Oct 9, 2019
c7fd8d2
remove extra text objects
Mar 26, 2020
07f8c28
fix for blank cols in wwhn component
Apr 1, 2020
fef8d81
update to handle 1,2 or 3 rows
Apr 2, 2020
d8e5f7d
fix mispelling
Jun 25, 2020
e9ee9f1
make sure we are not trying to parse nil with Nokogiri
Jun 25, 2020
0739ad3
bump version
Jun 25, 2020
1ad9082
do not return non file entries from zip if they are present
Jun 26, 2020
d7aac1d
bump version
Jun 26, 2020
80f03d2
adding broken chart and more error catching to spec
Jun 26, 2020
a84517a
better error output for embed
Jun 26, 2020
35596a1
NVIS-2869 Clean up ready for new template
Nov 16, 2020
03bc3b9
NVIS-2869 Update to use Collision Theme
Nov 24, 2020
588362d
Merge pull request #2 from stylefoundry/jb-nvis-2869-update-to-collis…
justinboynton Nov 24, 2020
fd19539
NVIS-2886 Update text header slide
Jan 7, 2021
f3a1054
bump version for updated text slide
Jan 7, 2021
8267bff
Merge pull request #3 from stylefoundry/jb-update-ff_trend_heading_te…
justinboynton Jan 7, 2021
c71b770
remove unwanted slidelayouts
Jan 7, 2021
0aedfad
update version
Jan 7, 2021
7b8e470
NVIS-3201 Implement Trend Summary slide support
justinboynton Aug 12, 2022
0d30743
NVIS-3201 add template files
justinboynton Aug 12, 2022
e7ea691
tidy up and include latest pptx output
justinboynton Aug 15, 2022
e584e29
update fast image to latest
justinboynton Aug 15, 2022
0a00e68
rollback fastimage and bump version
justinboynton Aug 16, 2022
ab82c30
upgrade fast-image
justinboynton Aug 16, 2022
2bef464
tidy up intro slide and number formating on trend_list
justinboynton Aug 16, 2022
497221b
bump version
justinboynton Aug 16, 2022
da1bb97
NVIS 3201 - Fix broken slides prioritise trends
justinboynton Sep 2, 2022
7449b02
bump version
justinboynton Sep 2, 2022
440b4e0
Allow for increment trend list start no
justinboynton Sep 2, 2022
6c7f77a
add trend_list_start_num
justinboynton Sep 2, 2022
e83185b
Need to have the slides folder in git
justinboynton Sep 5, 2022
29421b3
Revert "Need to have the slides folder in git"
justinboynton Sep 5, 2022
6a35eae
fix removal of slides and poor revert
justinboynton Sep 5, 2022
2e0f8dc
Update the master template
justinboynton Sep 5, 2022
24e51b6
update version
justinboynton Sep 5, 2022
a3fc958
Remove empty slide templates
justinboynton Oct 17, 2022
489e33e
Bump version
justinboynton Oct 17, 2022
416353a
Trend heading text slide sizes image appropriately given original siz…
EuanEdgar Sep 19, 2023
8b60428
Ensure image height and width are round numbers
EuanEdgar Sep 19, 2023
87cd799
Merge pull request #6 from stylefoundry/ee_nvis-3636_image_sizing
justinboynton Oct 24, 2023
93d0034
Merge pull request #7 from stylefoundry/jb-nvis-3398-fix-duplicate-em…
justinboynton Oct 24, 2023
81b4371
WIP
justinboynton Oct 30, 2023
d508b9d
WIP
justinboynton Oct 31, 2023
a391e2b
put back deleted file
justinboynton Oct 31, 2023
0299f66
Remove unused images, fix image sizing
justinboynton Oct 31, 2023
0977c03
Adding in final widescreen slides
justinboynton Nov 2, 2023
9ecc503
Fix chart insert method when charts do not implement xmlns:c namespace
EuanEdgar Nov 2, 2023
65e7488
Adding trend list to new slides
justinboynton Nov 6, 2023
8a38a36
update case on filename
justinboynton Nov 7, 2023
6d51ce8
Merge pull request #10 from stylefoundry/ee_fix_chart_insert
justinboynton Nov 7, 2023
fac579f
Check embedding other types of pptx
justinboynton Nov 9, 2023
2c3fa07
Merge branch 'jb-2023-widescreen-template' of github.com:stylefoundry…
justinboynton Nov 9, 2023
6cf49c6
removing template slides and fixing present? error
justinboynton Nov 9, 2023
0ab91f4
Fix image sizing in text component slide
EuanEdgar Nov 13, 2023
b98014a
Don't truncate title on intro slide
EuanEdgar Nov 13, 2023
2801918
Preliminary fixes for what will happen next slide
EuanEdgar Nov 14, 2023
9e8865c
Import new template
EuanEdgar Nov 14, 2023
b18e52e
Three row text slide
EuanEdgar Nov 16, 2023
271dd0f
Handle blank values in three column text component
EuanEdgar Nov 16, 2023
66a19d3
Update templates again
EuanEdgar Nov 16, 2023
fc51afa
Fix links, update slide layout for three row text
EuanEdgar Nov 16, 2023
16a1dc3
Correct formatting for three column text component headings
EuanEdgar Nov 16, 2023
1d476a9
Merge pull request #11 from stylefoundry/ee_fixes
EuanEdgar Nov 16, 2023
117022e
Two column chart slide takes question titles and subtitles separately
EuanEdgar Nov 17, 2023
935443a
Chart with description slides support chart subtitles
EuanEdgar Nov 17, 2023
9a2cd5d
Tweaks for image with description component
EuanEdgar Nov 17, 2023
be2acec
NVIS-3692: Fix images being stretched in powerpoint intro slide
EuanEdgar Nov 20, 2023
07a91fc
Merge pull request #12 from stylefoundry/ee_new_components
EuanEdgar Dec 8, 2023
dd53fc5
Image with description slides gracefully handle missing title
EuanEdgar Dec 8, 2023
829f0ac
fix issue with incorrec embeds red in rels
justinboynton Dec 22, 2023
2d04678
Merge pull request #13 from stylefoundry/jb-trend-intensity
justinboynton Dec 22, 2023
cd177c8
Merge pull request #9 from stylefoundry/jb-2023-widescreen-template
justinboynton Jan 2, 2024
885258d
Adding support for styled charts
justinboynton Jan 2, 2024
d0a3238
NVIS-3710: Add bold styling to chart titles in two column chart and c…
EuanEdgar Jan 3, 2024
357b827
Merge pull request #14 from stylefoundry/ee_bold_chart_titles_in_comp…
justinboynton Jan 3, 2024
b6c308d
Merge pull request #15 from stylefoundry/jb-add-chart-styles-feature
justinboynton Jan 3, 2024
e83c1ea
Add XML declaration to text right/chart left rels template
EuanEdgar Jan 4, 2024
49a63dd
remove non required text format object
justinboynton Jan 5, 2024
48c1d44
Reimplement text right chart left slide by cloning text left chart right
EuanEdgar Jan 11, 2024
f2d2b98
Fix XML indenting
EuanEdgar Jan 11, 2024
1a40312
Merge pull request #16 from stylefoundry/text_right_chart_left
EuanEdgar Jan 11, 2024
a917ca9
Start implementing new template
EuanEdgar Dec 9, 2024
da43d2d
Trend intro
EuanEdgar Dec 10, 2024
d430d97
Remove debug print
EuanEdgar Dec 10, 2024
4406cf6
Ensure ff lofo is included correctly
EuanEdgar Dec 10, 2024
7435fda
Ruby version, more permissive bundler dep
EuanEdgar Dec 10, 2024
debe985
Add missing image5.jpeg
EuanEdgar Dec 10, 2024
3ec907a
Two column text slide
EuanEdgar Dec 10, 2024
7e4acd5
Heading text slide
EuanEdgar Dec 10, 2024
3734252
Two column chart
EuanEdgar Dec 10, 2024
8172301
Text left image right
EuanEdgar Dec 10, 2024
a649ff2
Text left image right
EuanEdgar Dec 10, 2024
9e299bb
More descriptive missing arguments error
EuanEdgar Dec 10, 2024
d4625ad
Text right chart left
EuanEdgar Dec 10, 2024
8990cff
Text left chart right
EuanEdgar Dec 10, 2024
8a07b86
Three row text
EuanEdgar Dec 10, 2024
da36e6f
What will happen next
EuanEdgar Dec 11, 2024
1d65ad5
Text with image slide
EuanEdgar Dec 11, 2024
b427e16
Outro slide
EuanEdgar Dec 11, 2024
931d5a9
Embeded slides, remove demo slides from template, remove crop from image
EuanEdgar Dec 11, 2024
7b14947
Fix slide numbers
EuanEdgar Dec 12, 2024
382bd58
Various image fixes, three row text formatting
EuanEdgar Dec 12, 2024
03992c6
Git keep rels template folder
EuanEdgar Dec 13, 2024
fc96a49
Remove image flips, cropping
EuanEdgar Dec 13, 2024
340a15e
Add useful dev scripts
EuanEdgar Dec 16, 2024
f4f6236
Add links rels to slides where relevant
EuanEdgar Dec 16, 2024
e1c784a
Try to fix missing image when chart is embeded
EuanEdgar Dec 17, 2024
14cd717
Update font size for text with heading
EuanEdgar Dec 17, 2024
9ac1b0c
Rotate intro slide linear gradient 180 degrees
EuanEdgar Dec 17, 2024
67345a8
Revert rId of FF logo in attempt to fix error when including chart embed
EuanEdgar Dec 17, 2024
77abc17
FF Logo uses rId17
EuanEdgar Dec 17, 2024
29877f4
Revert "FF Logo uses rId17"
EuanEdgar Dec 17, 2024
fbebeb2
Revert "Revert rId of FF logo in attempt to fix error when including …
EuanEdgar Dec 17, 2024
d6b9b5f
Revert "Try to fix missing image when chart is embeded"
EuanEdgar Dec 17, 2024
37a13fc
Set last view to default slide view
EuanEdgar Dec 17, 2024
cf96fcb
Remove baked-in notes slides
EuanEdgar Dec 17, 2024
0d07389
Fix error from removing notes
EuanEdgar Dec 17, 2024
2d08d53
Add missing slide templates
EuanEdgar Dec 18, 2024
47f0772
Fix rogue textbox on trend list slide
EuanEdgar Dec 18, 2024
de7a1c3
Copy older slide master rel template
EuanEdgar Dec 18, 2024
24da129
Handle blank test input for text with image slide
EuanEdgar Dec 19, 2024
e04a7eb
Handle missing content in heading text slide
EuanEdgar Dec 19, 2024
4a36612
Handle more missing strings
EuanEdgar Dec 19, 2024
005d03e
Clean up files from template, rmeove some duplicate slide numbers
EuanEdgar Dec 19, 2024
bd16320
update fonts to fix repair issue
justinboynton Dec 20, 2024
ac36bca
Remove cropping from intro slide image
EuanEdgar Dec 24, 2024
7a4ade6
Replace numbered rId with text to avoid conflicts
EuanEdgar Dec 24, 2024
7e15b74
Merge pull request #17 from stylefoundry/ee_collision_2025
EuanEdgar Jan 7, 2025
edbc802
COLL-7290: Remove duplicate slide number on heading_text slide
EuanEdgar Jan 15, 2025
1678783
COLL-7291: 2 column chart image sizing
EuanEdgar Jan 15, 2025
270687f
COLL-7292: 3 column component title should be full-width
EuanEdgar Jan 15, 2025
6ba46ad
COLL-7288: Change what will happen next font size
EuanEdgar Jan 16, 2025
5e838a9
7289: Change background colour of screenshot component slides
EuanEdgar Jan 16, 2025
bcf1770
COLL-7286: Remove white line from logo on intro slide
EuanEdgar Jan 16, 2025
38eee17
COLL-7286: Replace gradient on intro slide
EuanEdgar Jan 16, 2025
e70b5bb
COLL-7286: Reduce intro slide title font size
EuanEdgar Jan 16, 2025
906598e
COLL-7286: Disable autofit on intro slide subtitle
EuanEdgar Jan 16, 2025
8a05982
COLL-7286: Increase size of subtitle text box on intro slide
EuanEdgar Jan 16, 2025
2f3e0e9
COLL-7291: Fix image reference
EuanEdgar Jan 17, 2025
2065605
COL7297 image not text slide
justinboynton Jan 20, 2025
b5a5add
COL-7298 Trend Summary Slide
justinboynton Jan 20, 2025
e249e09
update tests for trend_summary
justinboynton Jan 21, 2025
d2e7ae3
Update util.rb
justinboynton Jan 21, 2025
0be4c3b
Merge pull request #18 from stylefoundry/ee_jan_sprint
justinboynton Jan 21, 2025
8aed402
Fix image and font in strend summary slide
justinboynton Jan 24, 2025
928b160
fixing COL 7294 spaces at start of p texdt
justinboynton Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.4
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in powerpoint.gemspec
gemspec
gemspec
62 changes: 15 additions & 47 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

'powerpoint' is a Ruby gem that can generate PowerPoint files(pptx).

This fork has been modified for FF powerpoint generation from the page builder. It also includes use of SF htmltoooxml to enable display of basic html markup in pptx docs.



== Installation

Expand All @@ -19,63 +22,28 @@ To use it in Rails, add this line to your Gemfile:
'powerpoint' gem can generate a PowerPoint presentaion based on a standard template:

require 'powerpoint'

@deck = Powerpoint::Presentation.new

# Creating an introduction slide:
title = 'Bicycle Of the Mind'
subtitle = 'created by Steve Jobs'
@deck.add_intro title, subtitle

# Creating a text-only slide:
# Title must be a string.
# Content must be an array of strings that will be displayed as bullet items.
title = 'Why Mac?'
content = ['Its cool!', 'Its light.']
@deck.add_textual_slide title, content

# Creating an image Slide:
# It will contain a title as string.
# and an embeded image
title = 'Everyone loves Macs:'
image_path = 'samples/images/sample_gif.gif'
@deck.add_pictorial_slide title, image_path

# Specifying coordinates and image size for an embeded image.
# x and y values define the position of the image on the slide.
# cx and cy define the width and height of the image.
# x, y, cx, cy are in points. Each pixel is 12700 points.
# coordinates parameter is optional.
coords = {x: 124200, y: 3356451, cx: 2895600, cy: 1013460}
@deck.add_pictorial_slide title, image_path, coords

# Saving the pptx file to the current directory.
@deck.save('test.pptx')

== Compatibility
title = 'Title of the trend'
subtitle = 'trend subtitle'
image_path = '/local/file/path/to/featured/image.png'

'powerpoint' gem has been tested with LibreOffice(4.2.1.1) and Apache OpenOffice(4.0.1) on Mac OS X Mavericks, Microsoft PowerPoint 2010 on Windows 7 and Google Docs(latest version as of March 2014).
@deck.add_ff_trend_intro_slide title, subtitle, image_path

== Contributing
# now use the various slide methods seen in spec/test_spec.rb to interface with the page_builder.json to build out the pptx

Contributions are welcomed. You can fork a repository, add your code changes to the forked branch, ensure all existing unit tests pass, create new unit tests cover your new changes and finally create a pull request.
@deck.save('test.pptx')

After forking and then cloning the repository locally, install Bundler and then use it
to install the development gem dependecies:
== Compatibility

gem install bundler
bundle install
'powerpoint' gem has been tested with LibreOffice(4.2.1.1) and Apache OpenOffice(4.0.1) on Mac OS X Mavericks, Microsoft PowerPoint 2010 on Windows 7 and Google Docs(latest version as of March 2014).

Once this is complete, you should be able to run the test suite:
== Tests

rake
You can see sample output by runnign the tests

> rake

== Bug Reporting

Please use the {Issues}[https://github.com/pythonicrubyist/powerpoint/issues] page to report bugs or suggest new enhancements.


== License

Powerpoint has been published under {MIT License}[https://github.com/pythonicrubyist/powerpoint/blob/master/LICENSE.txt]
1 change: 1 addition & 0 deletions dev/create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bundle exec rspec --format doc && open samples/pptx/test-output.pptx
1 change: 1 addition & 0 deletions dev/inspect.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cd samples/pptx && rm -rf unzip && mkdir unzip && cp test-output.pptx unzip && cd unzip && unzip test-output.pptx && code . && cd ../../../
27 changes: 25 additions & 2 deletions lib/powerpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,32 @@
require 'powerpoint/slide/picture_description'
require 'powerpoint/compression'
require 'powerpoint/presentation'
require 'powerpoint/read_presentation'
require 'powerpoint/read_slide'

require 'powerpoint/slide/ff_trend_intro'
require 'powerpoint/slide/ff_trend_what_next'
require 'powerpoint/slide/ff_trend_heading_text'
require 'powerpoint/slide/ff_trend_three_row_text'
require 'powerpoint/slide/ff_trend_sector_impact'
require 'powerpoint/slide/ff_trend_text_with_image'
require 'powerpoint/slide/ff_embeded_slide'
require 'powerpoint/slide/ff_trend_outro'
require 'powerpoint/slide/ff_trend_list'
require 'powerpoint/slide/ff_trend_text_left_chart_right'
require 'powerpoint/slide/ff_trend_text_right_chart_left'
require 'powerpoint/slide/ff_trend_text_right_image_left'
require 'powerpoint/slide/ff_trend_text_left_image_right'
require 'powerpoint/slide/ff_trend_two_column_chart'
require 'powerpoint/slide/ff_trend_two_column_text'
require 'powerpoint/slide/ff_trend_summary'

module Powerpoint
ROOT_PATH = File.expand_path("../..", __FILE__)
TEMPLATE_PATH = "#{ROOT_PATH}/template/"
VIEW_PATH = "#{ROOT_PATH}/lib/powerpoint/views/"
TEMPLATE_PATH = "#{ROOT_PATH}/templates/collision-2025-template"
VIEW_PATH = "#{ROOT_PATH}/lib/powerpoint/views/collision-2025"
# TEMPLATE_PATH = "#{ROOT_PATH}/templates/collision-ux2022-template"
# VIEW_PATH = "#{ROOT_PATH}/lib/powerpoint/views/collision"
# TEMPLATE_PATH = "#{ROOT_PATH}/templates/nvision-template"
# VIEW_PATH = "#{ROOT_PATH}/lib/powerpoint/views/new"
end
Loading