Coder Social home page Coder Social logo

centic9 / poi-mail-merge Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 23.0 537 KB

Small application which allows to repeatedely replace markers in a Microsoft Word document with items taken from a CSV/Microsoft Excel file to provide a simple mail-merge functionality

License: BSD 2-Clause "Simplified" License

Shell 0.30% Java 99.70%

poi-mail-merge's People

Contributors

centic9 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  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

poi-mail-merge's Issues

Detect cases when replacement tags are split due to different formatting

Currently, if the replacement-tags span multiple formats, replacement is simply not done, because we look at a run at a time. There are multiple options to handle this better:

  • detect incorrectly formatted tags and fail gereation
  • detect an unclosed tag and include text from the next run in this case

Page size

Hi Dominik,

Is there any way to set the page size for the document? Because, the generated document has the merged documents mixed up with the previous one. I have attached the screenshot for this.

Thanks,
Vamshi

merge_issue

dd/mm/YYYY merged to mm/dd/YY in resulting .docx

Hi guys, awesome work - very useful tool.

The one issue I have is that I am merging dates which are in Australian format (i.e. dd/mm/YYYY) from my .xlsx spreadsheet and they are somehow being transformed to US format (i.e. mm/dd/YYYY) in the 'filled' .docx. I could care less about the YYYY vs. YY output, but the inversed day/month characters are a bit of an issue!

Any ideas how I could fix this? I have ensured that both input and output merge fields (in Excel/Word) are formatted to dd/mm/YYYY and that my system (Debian 9) is set to English AU keyboard/time/geo options but I ran out of idea there.

Any help greatly appreciated!

Example documents

Could you please provide example documents to work with?

Thanks,
Vamshi

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.