BHoM / PowerPoint_Toolkit

GNU Lesser General Public License v3.0
0 stars 0 forks source link

Add ability to generate a new ppt from a template and a list of updates #2

Closed adecler closed 1 year ago

adecler commented 1 year ago

NOTE: Depends on

You need to have the latest version of the Excel adapter to be compiled.

Issues addressed by this PR

Closes #1

See issue for details

Test files

PowerPointUpdate_Test.zip To push the data to the adapter, switch cell B42 to TRUE

The initial slide 3 in the template file looks something like this : image

and slide 3 from the output file should look like this: image

Obviously, feel free to play with the input values.

Additional comments

A keen eye might have noticed that the colour purple is used for the last series as well as the first. That is not a bug. This is because there are more series in the new chart than in the original so I am reuse the colours in cycle. This should ideally never happen with a well designed template but it was good to test.

FraserGreenroyd commented 1 year ago

@BHoMBot check compliance

bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd to confirm, the following actions are now queued: - check `code-compliance` - check `documentation-compliance` - check `project-compliance` - check `branch-compliance` - check `dataset-compliance` - check `copyright-compliance`
bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd fix requested for copyright headers. The errors with the copyright headers on the CS (`.cs`) files have been recorded as annotations on the checks tab. I will apply the fixes to every case detailed on the checks tab. If you want to perform the fixes in a different manner please resolve this manually and rerun the check. Each CS (`.cs`) file that does not have the current copyright header will have it applied. The current copyright header can be examined [here](https://github.com/BHoM/BHoM/blob/main/COPYRIGHT_HEADER.txt). If you are happy for me to go ahead and perform this action, please reply with: > @BHoMBot fix copyright headers ref. `11931380534`
FraserGreenroyd commented 1 year ago

@BHoMBot fix copyright headers ref. 11931380534

bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd I have queued up your request to fix copyright headers. There are 1 requests in the queue ahead of you.
bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd fix requested for project compliance. The errors with the CSProject (`.csproj`) files have been recorded as annotations on the checks tab. I will apply the fixes to every case detailed on the checks tab with the exception of any references to the target framework. I am unable to provide fixes to the Target Framework automatically, these will need to be performed manually. If you want to perform the fixes in a different manner please resolve this manually and rerun the check. If you are happy for me to go ahead and perform this action, please reply with: > @BHoMBot fix project file ref. `11931376330`
bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd I am now going to fix the copyright compliance in accordance with the annotations previously made.
FraserGreenroyd commented 1 year ago

@BHoMBot fix project file ref. 11931376330

bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd I have queued up your request to fix the `csproj` file(s). There are 3 requests in the queue ahead of you.
bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd to confirm I have now resolved the copyright compliance and pushed a commit to this Pull Request.
bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd I am now going to fix the project compliance in accordance with the annotations previously made.
bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd to confirm I have now resolved the project compliance issues and pushed a commit to this Pull Request.
FraserGreenroyd commented 1 year ago

@BHoMBot check compliance

bhombot-ci[bot] commented 1 year ago
@FraserGreenroyd to confirm, the following actions are now queued: - check `code-compliance` - check `documentation-compliance` - check `project-compliance` - check `branch-compliance` - check `dataset-compliance` - check `copyright-compliance`
adecler commented 1 year ago

Thanks @FraserGreenroyd , I have raised a separate issue here: https://github.com/BHoM/PowerPoint_Toolkit/issues/3