Skip to content

Feature request: set pageless document mode via docs API #686

@jonathanlinford

Description

@jonathanlinford

Hey, would it be possible to add support for setting a document's page setup to "pageless" mode through the CLI?

Right now when I create or update google docs via gws drive files update --upload, theres no way to set the document to pageless format. I have to manually go into the doc and change it through the UI every time (File > Page setup > Pageless).

I know this is partly a limitation of the google Docs API itself (the DocumentStyle resource doesnt expose the pageless toggle), but wondering if theres a workaround yall could implement. Maybe via an apps Script call under the hood or something?

use case: I manage a bunch of docs programmatically from markdown files and the paged format looks weird for most of them since theyre not meant to be printed.

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions