Giter Club home page Giter Club logo

docxgen's People

Contributors

conwell avatar getfokus avatar jorgemfm 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

docxgen's Issues

No supported some characters

Hi there, was doing some tests and found that lil bug, has no support for some characters like ñ/Ñ... Could u take a look at that..?.. when i trie to open the .docs just says "The file XYZ.docx cannot be opened because there are problems with the contents"...

Really need that lil thing working...

Good Luck sir...

Error with HTML code

Hey, when i try to save my docx with some HTML code, it gives me an error when i try to open the file on the MS Word. I'm using the CKEditor to write the text and then i save it to the db and try to save it to docx.

Template in template

Is it also possible to use templates in templates?

For example, I have a letter that consists an address header, a body content and a greeting (footer) and all 3 can be different of contents and/or layout.
I want to create a letter create system where you have 1 main layout page (where the margin etc. are set) and the address can differ (a random customer or supplier/company), and body content which can be a couple different letters with some different placeholders.
Is this possible?

Thanks!

Changing tmpDir

Currently I see that tmpDir property in the class is declared as private and there is no method for assigning path to it. I want to change it to other folder and I have no options other than editing the source. I suggest to make it at least protected for being able to override by extending base class or add a method that makes possible changing this variable.

Multiple replaces in a block

I have a relatively simple block
[start quotes]

quantity_here# #price_here

[end quotes]

If I put a space between #quantity_here# and #price_here#, both values will get replaced in each block I create.

If I put a tab between the two, only the #quantity_here# is replaced. The other value is ignored.

I tried doing this:
[start quotes]

quantity_here# [start p]#price_here#[end p]

[end quotes]
but got an error of index p undefined.

Problems in nested Blocks

Good tool, i am planning use it!
But I have a problem: if i modify "example.php" found in djpate-phpdocx-5006fb8 like this:
.... omissis...
$phpdocx->assignNestedBlock("pets",array(array("#PETNAME#"=>"Rox"),array("#PETNAME#"=>"Bob")),array("members"=>2));
// would create a block pets for jane doe with 2 pets: rox and bob
... omissis....

This don't work as expected, car it produces:
---------------- omissis
Rox
Favorite toys

  • Frisbee
    Bob
    Favorite toys
  • Frisbee
    ----------------------------
    And, if i change :
    $phpdocx->assignNestedBlock("toys",array(array("#TOYNAME#"=>"Frisbee")),array("members"=>2,"pets"=>1));
    // would create a block toy for rox

    to:
    $phpdocx->assignNestedBlock("toys",array(array("#TOYNAME#"=>"Frisbee")),array("members"=>2,"pets"=>2));
    // would create a block toy for bob

    I get an error: Notice: Undefined offset: 0 in phpDocx.php on line 291.

A bug or I mistake?
Greetings.

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.