Skip to content

question about contributing code to HTML writer #439

@franzholz

Description

@franzholz

I want to add some features to PHPWord. However I have some questions about the coding of it. Where can I ask such questions?

E.g. I want to make the Writer/HTML/Element/Text.php more flexible in a way that it does not use span tags inside of the HTML table's td tags. In this code I need an initialization. I could do this initialization inside of the __construct method. However the initialization should include the reading of the full styles and font styles. So I think that this is too complex for a construtor. But where should I put it then? I could insert it inside of the write method. However a caller from outside might not know that he must call the write method before he can read the style methods. How should I proceed in this case?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions