Lines Matching refs:options
94 if self.options.paperthickness > 0:
95 if self.options.paperthicknessmeasurement == "width":
96 paper_spine = self.options.paperthickness
98 paper_spine = self.options.pages / switch[self.options.paperthicknessmeasurement](self.options.paperthickness)
102 if self.options.coverthickness > 0:
103 if self.options.coverthicknessmeasurement == "width":
104 cover_spine = self.options.coverthickness
106 cover_spine = 4.0 / switch[self.options.coverthicknessmeasurement](self.options.coverthickness)
112 document_width = (self.options.bleed + self.options.width * 2) + spine_width
113 document_height = self.options.bleed * 2 + self.options.height
122 guides.append(["horizontal", self.options.bleed])
123 guides.append(["horizontal", document_height - self.options.bleed])
124 guides.append(["vertical", self.options.bleed])
125 guides.append(["vertical", document_width - self.options.bleed])
131 if self.options.removeguides == True:
156 if length > self.options.max:
157 splits = math.ceil(length/self.options.max)