Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Greg Reser
    Can officegen add text to the speaker notes in a PowerPoint Slide?
    Fran├žois Beaune
    Hello, I'm using officegen to generate an Excel file with node.js on Heroku
    My issue is that the written argument of the finalize handler (which according to the docs is supposed to be the number of bytes written to the output stream) is always 0
    Here's my code:
    xlsx.on('finalize', function (written) {
      logger.info(`wrote ${written} bytes to ${tmpFilePath}`);
    Am I doing it wrong, or is this a known problem?
    Hello, is it possible to create Table of contents (TOC) in docx ?
    hi, for generating a pptx, do any of you know what the main difference between pptxgenjs and officegen is? (i.e apart from ofcourse, pptxgenjs can only create pptx)
    @zivbarber_twitter :)
    Kyle Russell
    Is this project still actively maintained?
    Ziv Barber
    yes, officegen supporting adding text into the speakernotes
    Ziv Barber
    yes, officegen is still alive. version 0.4.8 was out few days ago. Working on new features to be released soon.
    Ghaith Troudi
    I ma using version 0.6.3 and having a problem with generating a PowerPoint file :
        throw err;
    Error: ENOENT: no such file or directory, unlink './sample1.xlsx'
        at Object.unlinkSync (fs.js:951:3)
        at D:\pocofficegen\node_modules\officegen\lib\core\index.js:490:16
        at Array.forEach (<anonymous>)
        at generateNextResource (D:\pocofficegen\node_modules\officegen\lib\core\index.js:482:31)
        at officegen.generate (D:\pocofficegen\node_modules\officegen\lib\core\index.js:507:7)
        at Object.<anonymous> (D:\pocofficegen\index.js:53:6)
        at Module._compile (internal/modules/cjs/loader.js:701:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
        at Module.load (internal/modules/cjs/loader.js:600:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:539:12)