Back to index

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

Functions

def main
def main

Variables

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

Function Documentation

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

Definition at line 16 of file 3columnUSLTR.py.

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

Here is the caller graph for this function:

def 3columnUSLTR.main ( )

Definition at line 33 of file 3columnUSLTR.py.

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

Here is the call graph for this function:


Variable Documentation

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

Definition at line 30 of file 3columnUSLTR.py.

tuple 3columnUSLTR.size = (612, 792)

Definition at line 31 of file 3columnUSLTR.py.