Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions | Variables
3columnA4 Namespace Reference

Functions

def main
def main

Variables

tuple margins = (50, 50, 50, 50)
tuple size = (612, 792)

Function Documentation

def 3columnA4.main (   argv)
This is a simple way to demonstrate creating a doc on the fly. 

Definition at line 16 of file 3columnA4.py.

00016 
00017 def main(argv):
00018     """This is a simple way to demonstrate creating a doc on the fly. """
00019 
    pass    # <--- Delete this line

Here is the caller graph for this function:

def 3columnA4.main ( )

Definition at line 35 of file 3columnA4.py.

00035 
00036 def main():
00037     if newDocument(PAPER_A4, margins, LANDSCAPE, 1, UNIT_POINTS, NOFACINGPAGES, FIRSTPAGELEFT,1):
00038         a = createText(50, 50, 230, 495)
00039         setTextAlignment(1,a)
00040         setText("Column A", a)
00041         setFontSize(12, a)
00042         b = createText(280, 50, 230, 495)
00043         setTextAlignment(1,b)
00044         setText("Column B", b)
00045         setFontSize(12, b)
00046         c = createText(510, 50, 230, 495)
00047         setTextAlignment(1,b)
00048         setText("Column C", c)
00049         setFontSize(12, c)
00050         saveDocAs("3columnA4.sla")
00051         

Here is the call graph for this function:


Variable Documentation

tuple 3columnA4.margins = (50, 50, 50, 50)

Definition at line 32 of file 3columnA4.py.

tuple 3columnA4.size = (612, 792)

Definition at line 33 of file 3columnA4.py.