- 📕 Portfolio
- 🌐 Blog
- 📑 Qiita
- 💻 Speaker Deck
atria64 / ppttimeraddin Goto Github PK
View Code? Open in Web Editor NEWPowerPointのプレゼンテーションにタイマーを追加するアドイン
License: MIT License
PowerPointのプレゼンテーションにタイマーを追加するアドイン
License: MIT License
TimerForm.cs
namespace PptTimerAddin
{
public partial class TimerForm : Form
{
private int secTime = Ribbon.presentationTime * 60;
public TimerForm()
{
InitializeComponent();
}
証明書周りの問題でインストール手順が複雑化している。
プレゼンタイマー時間に文字列などフォーマットに合わないものを入力した時に空白になる、これを変更したい。
フォーマットに合わないものを入力した時に
「正しい値を入力してください」
とアラート(メッセージボックスなど)を出して、前回までに入力されていた値に戻す。
現時点(v1.0)、以下のコード部分でフォーマットに合わない場合空白を挿入する処理をしている。(elseの行)
namespace PptTimerAddin
{
public partial class Ribbon
{
...
private void editBox_TextChanged(object sender, RibbonControlEventArgs e)
{
int tmp = -1;
string s = editBox.Text;
if (int.TryParse(s,out tmp) &&(0 < tmp && tmp <= 100))
{
presentationTime = tmp;
}
else
{
editBox.Text = "";
}
}
...
}
}
このelse
内でなんらかの処理を行えばよさげだと思う。
コメントをくだされば喜んでアサインします。
develop
ブランチから新しくfeature
ブランチを生やして作業をお願いします。
IdがcheckBox
ではどのような動作をするのかわかりにくい。
Idを PresenTimerModeCheckBox
に変更したい。
Ribbon.cs[デザイン] のプロパティを編集し、プレゼンタイマー有効化
チェックボックスのIdを PresenTimerModeCheckBox
に変更する。
コメントをくだされば喜んでアサインします。
develop
ブランチから新しくfeature
ブランチを生やして作業をお願いします。
プレゼンテーション画面に遷移後、ダブルクリックでタイマー開始
プレゼンテーション画面で待機する場面があるため
MITライセンス化を検討する
タイマーの背景を透過するモード
現在のタイマーの時間のみを表示する
背景色がスライドの雰囲気に合わない場合などで用いれるから
この部分(Ribbon.cs)
private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
{
//後でちゃんと実装
setMinTime = int.Parse(editBox.Text);//初期設定のロード
}
タイムオーバーしたあとに "-0:29"みたいにカウントする機能
どれくらい時間をオーバーしたか確認するのに使える
タイマーの色をリボンから設定できるようにしたい
ユーザー個人にとって好きな色を使えるようにしたいから
「タイマーの色の設定」に「背景を透過する」というチェックボックスを追加する
#9 関連
プレゼン開始から経過時間をカウントアップする
特筆すべき理由なし、低優先度
リボンに"サポート"というボタンを追加
クリックするとGitHubリポジトリへ飛ぶ
製作者情報を確認できるようにすべきだと考えた
タイマーをダブルクリックでポーズできるようにする
もう一度ダブルクリックすることでタイマーを再スタートできるようにする
機材トラブルなどが生じた際にストップできるから
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.