Ticket #10442 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Add the option to export to PDF

Reported by: godiard Owned by: uwog
Priority: normal Milestone: 10.1.3
Component: write-activity (abiword) Version: not specified
Keywords: Cc:
Action Needed: no action Verified: no
Deployments affected: Blocked By:
Blocking:

Description

This feature is implemented in the ticket SL #1458

To use it, must click with the secondary button in the keep icon and select PDF format.

Change History

Changed 3 years ago by godiard

Will be in 353.

Changed 3 years ago by greenfeld

When Write exports a PDF file the default action in the journal is for Write to open it, not Read (although Read is a secondary option).

And Write does not seem to know much about parsing a PDF file beyond showing me its context as raw text (which fails once the compression starts).

Changed 3 years ago by godiard

  • next_action changed from test in build to package

Now i don save the activiy metadata property if save a PDF file.

Commit http://git.sugarlabs.org/write/mainline/commit/89863c7b2188628a6da85bbe8666c49da1005898

Changed 3 years ago by erikos

  • next_action changed from package to test in build

Is in 354.

Changed 3 years ago by erikos

  • next_action changed from test in build to package

We regressed here, it has to be:

if mimetype != 'application/pdf':

instead of:

if format['mime_type'] != 'application/pdf':

The code differs from the master one.

Changed 3 years ago by erikos

  • next_action changed from package to add to build

Changed 3 years ago by erikos

  • next_action changed from add to build to test in build

Is in build 305.

Changed 3 years ago by greenfeld

  • status changed from new to closed
  • next_action changed from test in build to no action
  • resolution set to fixed

Tested in 10.1.3 os355 that we could make PDF files and that Write did not attempt to open its own PDF files. Also tested the other export formats and verified on a non-Sugar computer that all the file types exported appeared to be correct.

Note: See TracTickets for help on using tickets.