Next / Previous / Contents / Shipman's homepage

21.5. Heading.leftContent(): Render a left-hand page heading

Same as Section 21.4, “Heading.rightContent(): Render a right-hand page heading” but the content is reversed.

listext2
# - - -   H e a d i n g . l e f t C o n t e n t

    def leftContent(self, pages, flowName):
        '''Producing a running head with the page number on the left.
        '''
        #-- 1
        self.__buildStatic(pages, flowName,
            E('page-number'),
            "/",
            str(self.inputFile.nOutPages),
            h.leader(length=PAGE_NO_GAP),
            h.inline(MONO_FONT, self.__filePart),
            h.leader(),
            h.inline(MONO_FONT, self.__pathPart),
            h.leader(),
            self.__timestamp)