Opened 13 years ago

Last modified 11 years ago

#1385 new enhancement

"Field" Support for Print Composer

Reported by: neumann Owned by: mhugent
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Printing Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description (last modified by pcav)

It would be useful to have "field" support in the print composer. Fields are variables and would be part of text labels in the print composer. The field value/content would be replaced when printing/previewing the map layout. Fields are common in text-processing.

Potential candidates for fields are:

  • current date, proposed fieldname: currentDate
  • current username (on an operating system level), proposed fieldname: currentUser
  • current project title, proposed fieldname: currentProjectTitle
  • current projection, proposed fieldname: currentProjection
  • current map units, proposed fieldname: currentMapUnits

Are there more useful field names in this context?

There would have to be delimiters who separate fieldnames from regular text, potential formats:




Change History (3)

comment:1 Changed 13 years ago by pcav

Component: Build/InstallPrinting

comment:2 Changed 11 years ago by pcav

Description: modified (diff)
Milestone: Version 1.0.3Version 1.6.0

comment:3 Changed 11 years ago by neumann

parts of it (currenDate) is already implemented in print composer. This was also the most urgent one of the proposed fields.

I still think that other fields should be added later on, but it is ok to move this to 1.6

Note: See TracTickets for help on using tickets.