Skip to content

[Feature request] Automatic width text elements #348

Description

@lofcz

First off, this is an excellent project, thanks for making it open-source!

Currently, all elements must specify their width. Would it be possible to make this optional, at least for text elements, and let them grow horizontally the same way they grow vertically?

interface PPTTextElement {
  width?: number;
  height?: number;
}

Reasoning: when generating content for the presentation (without user gesture) it's hard to reason about size of the textual elements, client could compute them automatically.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions