Coder Social home page Coder Social logo

cubepdf's Introduction

cubepdf's People

Contributors

clown avatar kurose-th avatar vias722 avatar you-scheme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cubepdf's Issues

[要望]ユーザープログラムの連携時のプログラム引数の拡張

Windows7でCubePDF 1.0.0RC7 32bit/64bitを使っています。

CubePDFでpngなどの連番画像を出力した場合、例えば5ページの文章で以下のファイルが生成された場合、

{
  "C:\Users\xxx\Desktop\サンプル-001.png",
  "C:\Users\xxx\Desktop\サンプル-002.png",
  "C:\Users\xxx\Desktop\サンプル-003.png",
  "C:\Users\xxx\Desktop\サンプル-004.png",
  "C:\Users\xxx\Desktop\サンプル-005.png",
}

ユーザプログラムには最初のファイル名(C:\Users\xxx\Desktop\サンプル-001.png)のみが引数に渡されるようになっています。

ユーザプログラムで全てのページの画像について処理を行いたい場合、最後のページはファイルが存在するかどうかで推測する必要があります。
もし「サンプル-006.png」が既に存在していた場合、間違って006.pngも処理対象にしてしまいます。

最後のページを確実に特定するため、最初のページと最後のページを引数に渡すように拡張すると便利ではないかと思うのですがいかがでしょうか?
(C:\Users\xxx\Desktop\サンプル-001.png C:\Users\xxx\Desktop\サンプル-005.png)

本当は、全てのページのファイルが引数として渡れば良いと思うのですが、引数に最大長が存在するため、ページ数が多くなった場合を考慮すると最後のページのみが安全かと思いました。
http://msdn.microsoft.com/ja-jp/library/system.diagnostics.processstartinfo.arguments%28v=vs.110%29.aspx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.