provide optional export value for special formattings

This commit is contained in:
Helmut Merz 2016-01-26 13:30:02 +01:00
parent 14cfdb7624
commit 99628fedd5

View file

@ -1,5 +1,5 @@
#
# Copyright (c) 2014 Helmut Merz helmutm@cy55.de
# Copyright (c) 2016 Helmut Merz helmutm@cy55.de
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -126,6 +126,9 @@ class Field(Component):
def getDisplayValue(self, row):
return self.getValue(row)
def getExportValue(self, row, format=None, lang=None):
return self.getValue(row)
def getSortValue(self, row):
# TODO: consider 'descending' flag
return self.getValue(row)