Opened 4 years ago

Closed 4 years ago

#10442 closed enhancement (fixed)

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:
Blocked By: Blocking:
Deployments affected: Action Needed: no action
Verified: no

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 (9)

comment:1 Changed 4 years ago by godiard

Will be in 353.

comment:2 Changed 4 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).

comment:3 Changed 4 years ago by godiard

  • Action Needed 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

comment:4 Changed 4 years ago by erikos

  • Action Needed changed from package to test in build

Is in 354.

comment:5 Changed 4 years ago by erikos

  • Action Needed 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.

comment:7 Changed 4 years ago by erikos

  • Action Needed changed from package to add to build

comment:8 Changed 4 years ago by erikos

  • Action Needed changed from add to build to test in build

Is in build 305.

comment:9 Changed 4 years ago by greenfeld

  • Action Needed changed from test in build to no action
  • Resolution set to fixed
  • Status changed from new to closed

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.