Beispiel #1
0
    def __init__(self, pdf_list = None):
        self.pdf_list = pdf_list
        self.config = Configuration.factory()
        self.CSV_HEADERS_FLAT = ["comment", "Name", "Quantity",
                                         "Width", "Height",
                                         "StockVendor", "StockName",
                                         "StockWeight", "IGNORED1",
                                         "IGNORED2", "Priority", "TopOffcut",
                                         "LeftOffcut",
                                         "BottomOffcut", "RightOffcut",
                                         "ProductID",
                                         "Description", "Notes", "DueDate",
                                         "CompanyName",
                                         "FirstName", "LastName",
                                         "ContentFile", "PageColor1",
                                         "PageColor2", "ProductGroup", "Grain",
                                         "BleedsTop",
                                         "BleedsLeft", "BleedsBottom",
                                         "BleedsRight",
                                         "FolioSide1", "FolioSide2"]

        self.CSV_HEADERS_BOUND_SELF = ["comment", "Name", "Quantity", "Width",
                                       "Height",
                                       "StockVendor", "StockName",
                                       "StockWeight",
                                       "IGNORED0", "TextPageCount",
                                       "LargestTextComponent",
                                       "BindingMachine", "IGNORED1",
                                       "IGNORED2", "IGNORED3",
                                       "ProductID", "Description", "Notes",
                                       "DueDate",
                                       "CompanyName", "FirstName", "LastName",
                                       "ContentFile", "IGNORED4", "INGORED5",
                                       "PageColorName", "IGNORED6",
                                       "BleedsTop",
                                       "BleedsLeft", "BleedsBottom",
                                       "BleedsRight",
                                       "FolioPattern", "TextFolds", "IGNORED7",
                                       "BindingNumberUp", "1stUpOrientation",
                                       "NUpOrientation", "Grain"]
Beispiel #2
0
 def __init__(self):
     self.config = Configuration.factory()
     self.pdf_to_delete = []