Home
last modified time | relevance | path

Searched refs:pageHeight (Results 1 – 25 of 848) sorted by relevance

12345678910>>...34

/dports/graphics/okular/okular-21.12.3/generators/dvi/
H A DsimplePageSize.h39 pageHeight.setLength_in_mm(0.0); in SimplePageSize()
53 pageHeight = height; in SimplePageSize()
71 pageHeight = height; in setPageSize()
83 return pageHeight; in height()
92 return isValid() ? (pageWidth / pageHeight) : 1.0; in aspectRatio()
154 return ((pageWidth.getLength_in_mm() > 1.0) && (pageHeight.getLength_in_mm() > 1.0)); in isValid()
163 return (pageWidth.getLength_in_mm() * pageHeight.getLength_in_mm() < 1.0); in isSmall()
175 … return (pageWidth.isNearlyEqual(size.pageWidth) && pageHeight.isNearlyEqual(size.pageHeight)); in isNearlyEqual()
184 return (pageHeight >= pageWidth); in isPortrait()
194 return SimplePageSize(pageHeight, pageWidth); in rotate90()
[all …]
H A DpageSize.cpp53 pageHeight = s.height(); in pageSize()
126 pageHeight.setLength_in_mm(height); in setPageSize()
157 pageHeight.setLength_in_mm(h); in setPageSize()
159 pageHeight.setLength_in_cm(h); in setPageSize()
161 pageHeight.setLength_in_inch(h); in setPageSize()
177 if (pageHeight.getLength_in_mm() < 50) in rectifySizes()
178 pageHeight.setLength_in_mm(50); in rectifySizes()
179 if (pageHeight.getLength_in_mm() > 1200) in rectifySizes()
180 pageHeight.setLength_in_mm(1200); in rectifySizes()
215 answer.setNum(pageHeight.getLength_in_cm()); in heightString()
[all …]
/dports/graphics/libboard/libboard-5b38274/src/
H A DTransforms.cpp105 _scale = pageHeight * ppmm / rect.height; in setBoundingBox()
111 _height = (pageHeight + 2 * (-margin)) * ppmm; in setBoundingBox()
118 const double h = pageHeight - 2 * margin; in setBoundingBox()
126 _height = pageHeight * ppmm; in setBoundingBox()
130 pageHeight * ppmm ); in setBoundingBox()
196 const double h = pageHeight - 2 * margin; in setBoundingBox()
206 _height = pageHeight * fig_ppmm; in setBoundingBox()
263 _scale = pageHeight * ppmm / rect.height; in setBoundingBox()
269 _height = (pageHeight + 2 * (-margin)) * ppmm; in setBoundingBox()
272 const double h = pageHeight - 2 * margin; in setBoundingBox()
[all …]
/dports/devel/itext/itext-4.2.0/rtf/com/lowagie/text/rtf/document/
H A DRtfPageSetting.java297 return pageHeight; in getPageHeight()
306 this.pageHeight = pageHeight; in setPageHeight()
358 pageHeight = 23811; in guessFormat()
364 pageHeight = 16840; in guessFormat()
370 pageHeight = 11907; in guessFormat()
376 pageHeight = 8420; in guessFormat()
382 pageHeight = 20636; in guessFormat()
388 pageHeight = 14572; in guessFormat()
394 pageHeight = 12247; in guessFormat()
400 pageHeight = 15842; in guessFormat()
[all …]
/dports/deskutils/coolreader/coolreader-cr3.2.55/android/src/org/coolreader/crengine/
H A DPositionProperties.java7 public int pageHeight; field in PositionProperties
21 pageHeight = v.pageHeight; in PositionProperties()
35 if (fullHeight - pageHeight <= 0) in getPercent()
37 int p = 10000 * y / (fullHeight - pageHeight); in getPercent()
52 return fullHeight > pageHeight && y < fullHeight - pageHeight; in canMoveToNextPage()
61 + y + ", pageHeight=" + pageHeight + ", pageWidth=" + pageWidth in toString()
70 result = prime * result + pageHeight; in hashCode()
91 if (pageHeight != other.pageHeight) in equals()
/dports/print/splix/splix-6752e71281f1289a3b76357d84b65b0d893615b3/splix/src/
H A Dcompress.cpp70 page->setHeight(pageHeight); in _compressBandedPage()
90 while (pageHeight) { in _compressBandedPage()
96 if (pageHeight < bandHeight) { in _compressBandedPage()
98 localHeight = pageHeight; in _compressBandedPage()
182 pageHeight = theEnd ? 0 : pageHeight - bandHeight; in _compressBandedPage()
212 page->setHeight(pageHeight); in _compressBandedJBIGPage()
234 while (pageHeight) { in _compressBandedJBIGPage()
238 if (pageHeight < bandHeight) { in _compressBandedJBIGPage()
240 localHeight = pageHeight; in _compressBandedJBIGPage()
288 pageHeight = theEnd ? 0 : pageHeight - bandHeight; in _compressBandedJBIGPage()
[all …]
H A Ddocument.cpp70 unsigned long pageWidth, pageWidthInB, pageHeight, clippingX=0, clippingY=0; in getNextRawPage() local
101 pageHeight = ceil(page->convertToYResolution(request.printer()-> in getNextRawPage()
102 pageHeight())); in getNextRawPage()
106 planeSize = pageWidthInB * pageHeight; in getNextRawPage()
108 page->setHeight(pageHeight); in getNextRawPage()
124 if (documentHeight > pageHeight - 2 * marginHeight) { in getNextRawPage()
125 clippingY = (documentHeight - (pageHeight - 2 * marginHeight)) / 2; in getNextRawPage()
129 index = pageWidthInB * ((pageHeight - documentHeight)/2); in getNextRawPage()
132 pageHeight -= 2*marginHeight; in getNextRawPage()
159 while (pageHeight && documentHeight) { in getNextRawPage()
[all …]
/dports/print/splix/splix-6752e71281f1289a3b76357d84b65b0d893615b3/tags/splix-2.0.0/src/
H A Ddocument.cpp70 unsigned long pageWidth, pageWidthInB, pageHeight, clippingX=0, clippingY=0; in getNextRawPage() local
101 pageHeight = ceil(page->convertToYResolution(request.printer()-> in getNextRawPage()
102 pageHeight())); in getNextRawPage()
106 planeSize = pageWidthInB * pageHeight; in getNextRawPage()
108 page->setHeight(pageHeight); in getNextRawPage()
124 if (documentHeight > pageHeight - 2 * marginHeight) { in getNextRawPage()
125 clippingY = (documentHeight - (pageHeight - 2 * marginHeight)) / 2; in getNextRawPage()
129 index = pageWidthInB * ((pageHeight - documentHeight)/2); in getNextRawPage()
132 pageHeight -= 2*marginHeight; in getNextRawPage()
159 while (pageHeight && documentHeight) { in getNextRawPage()
[all …]
H A Dcompress.cpp54 unsigned long index=0, pageHeight, pageWidth, lineWidthInB, bandHeight; in _compressBandedPage() local
67 pageHeight = page->height() - hardMarginY; in _compressBandedPage()
69 page->setHeight(pageHeight); in _compressBandedPage()
89 while (pageHeight) { in _compressBandedPage()
95 if (pageHeight < bandHeight) { in _compressBandedPage()
97 localHeight = pageHeight; in _compressBandedPage()
181 pageHeight = theEnd ? 0 : pageHeight - bandHeight; in _compressBandedPage()
193 unsigned long pageWidth, bandHeight, planeHeight, pageHeight, index; in _compressWholePage() local
205 pageHeight = page->height() - hardMarginY * 2; in _compressWholePage()
207 page->setHeight(pageHeight); in _compressWholePage()
[all …]
/dports/print/py-reportlab/reportlab-3.5.68/tools/docco/
H A Drltemplate.py17 self.pageHeight = pageSize[1]
43 self.pageHeight = pageSize[1]
47 self.pageHeight - 2*inch,
52 y = self.pageHeight - 50
64 self.pageHeight = pageSize[1]
68 self.pageHeight - 2*inch,
73 y = self.pageHeight - 50
85 self.pageHeight = pageSize[1]
90 self.pageHeight - 2*inch,
95 self.pageHeight - 2*inch,
[all …]
/dports/graphics/xournalpp/xournalpp-1.1.0/src/pdf/popplerapi/
H A DPopplerGlibAction.cpp50 double pageHeight = 0; in linkFromDest() local
51 poppler_page_get_size(page, &pageWidth, &pageHeight); in linkFromDest()
60 link->setChangeTop(pageHeight - std::min(pageHeight, pDest->top)); in linkFromDest()
62 link->setChangeTop(pageHeight - std::min(pageHeight, pageHeight - pDest->bottom)); in linkFromDest()
/dports/print/splix/splix-6752e71281f1289a3b76357d84b65b0d893615b3/branches/branche-2.0/src/
H A Ddocument.cpp69 unsigned long pageWidth, pageWidthInB, pageHeight, clippingX=0, clippingY=0; in getNextRawPage() local
99 pageHeight = ceill(page->convertToYResolution(header.PageSize[1])); in getNextRawPage()
104 planeSize = pageWidthInB * pageHeight; in getNextRawPage()
106 page->setHeight(pageHeight); in getNextRawPage()
121 if (header.cupsHeight > pageHeight) in getNextRawPage()
122 clippingY = (header.cupsHeight - pageHeight) / 2; in getNextRawPage()
124 if (documentHeight + marginHeight > pageHeight) in getNextRawPage()
125 index = pageWidthInB * (pageHeight - documentHeight); in getNextRawPage()
152 while (pageHeight && documentHeight) { in getNextRawPage()
166 pageHeight--; in getNextRawPage()
H A Dcompress.cpp51 unsigned long index=0, pageHeight, lineWidthInB, bandHeight, bandSize; in _compressBandedPage() local
58 pageHeight = page->height(); in _compressBandedPage()
74 while (pageHeight) { in _compressBandedPage()
80 if (pageHeight < bandHeight) { in _compressBandedPage()
82 localHeight = pageHeight; in _compressBandedPage()
83 bytesToCopy = lineWidthInB * pageHeight; in _compressBandedPage()
124 pageHeight = theEnd ? 0 : pageHeight - bandHeight; in _compressBandedPage()
/dports/print/qpdfview/qpdfview-0.4.18/sources/
H A Ddocumentlayout.cpp134 qreal pageHeight = 0.0f; in prepareLayout() local
143 pageHeight = boundingRect.height(); in prepareLayout()
147 height += pageHeight + pageSpacing; in prepareLayout()
196 qreal pageHeight = 0.0f; in prepareLayout() local
210 pageHeight = boundingRect.height(); in prepareLayout()
231 pageHeight = qMax(pageHeight, boundingRect.height()); in prepareLayout()
242 height += pageHeight + pageSpacing; in prepareLayout()
320 qreal pageHeight = 0.0; in prepareLayout() local
332 pageHeight = qMax(pageHeight, boundingRect.height()); in prepareLayout()
345 height += pageHeight + pageSpacing; in prepareLayout()
[all …]
/dports/math/wxmaxima/wxmaxima-Version-20.04.0/src/
H A DPrintout.cpp81 int pageWidth, pageHeight; in OnPrintPage() local
83 GetPageSizePixels(&pageWidth, &pageHeight); in OnPrintPage()
148 int pageWidth, pageHeight; in BreakPages() local
153 GetPageSizePixels(&pageWidth, &pageHeight); in BreakPages()
227 int pageWidth, pageHeight; in SetupData() local
229 GetPageSizePixels(&pageWidth, &pageHeight); in SetupData()
235 (*m_configuration)->SetClientHeight(pageHeight - 2 * marginY); in SetupData()
287 int pageWidth, pageHeight; in PrintHeader() local
290 GetPageSizePixels(&pageWidth, &pageHeight); in PrintHeader()
316 int pageWidth, pageHeight; in Recalculate() local
[all …]
/dports/graphics/xournalpp/xournalpp-1.1.0/src/control/settings/
H A DPageTemplateSettings.cpp15 pageHeight(841.889764), in PageTemplateSettings()
36 auto PageTemplateSettings::getPageHeight() const -> double { return this->pageHeight; } in getPageHeight()
38 void PageTemplateSettings::setPageHeight(double pageHeight) { this->pageHeight = pageHeight; } in setPageHeight() argument
89 pageHeight = std::stod(value.substr(pos + 1)); in parse()
110 str += string("size=") + std::to_string(pageWidth) + "x" + std::to_string(pageHeight) + "\n"; in toString()
/dports/science/jmol/jmol-14.32.7/src/javajs/img/
H A DPdfEncoder.java56 int pageHeight = 11 * 72; in generate() local
58 pdf.newDocument(pageWidth, pageHeight, isLandscape); // A4 or Letter in generate()
59 addMyImage(pageWidth, pageHeight); in generate()
76 private void addMyImage(int pageWidth, int pageHeight) { in addMyImage() argument
78 int w = (isLandscape ? pageHeight : pageWidth); in addMyImage()
79 int h = (isLandscape ? pageWidth : pageHeight); in addMyImage()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/page/
H A DPrintContext.cpp84 float pageHeight; in computePageRects() local
92 pageHeight = floorf(pageWidth * ratio); in computePageRects()
94 pageHeight = view->pageLogicalHeight(); in computePageRects()
98 pageHeight = view->docHeight(); in computePageRects()
99 pageWidth = floorf(pageHeight * ratio); in computePageRects()
103 pageHeight -= headerHeight + footerHeight; in computePageRects()
105 if (pageHeight <= 0) { in computePageRects()
106 LOG_ERROR("pageHeight has bad value %.2f", pageHeight); in computePageRects()
129 int pageHeight = pageSizeInPixels.height(); in computePageRectsWithPageSizeInternal() local
135 int pageLogicalWidth = isHorizontal ? pageWidth : pageHeight; in computePageRectsWithPageSizeInternal()
[all …]
/dports/www/kf5-khtml/khtml-5.89.0/src/rendering/
H A Drender_canvas.h153 if (pageHeight() == 0) { in pageTopAfter()
156 return (y / pageHeight() + 1) * pageHeight(); in pageTopAfter()
161 if (pageHeight() == 0) { in crossesPageBreak()
164 int pT = top / pageHeight(); in crossesPageBreak()
166 int pB = (bottom - 1) / pageHeight(); in crossesPageBreak()
191 int pageHeight() const in pageHeight() function
356 int pageHeight() const in pageHeight() function
/dports/graphics/epdfview/epdfview-0.1.8/src/
H A DPDFDocument.cxx103 const gdouble pageHeight, in createDocumentLink() argument
112 gdouble bottomLeft = (pageHeight - link->area.y2) * scale; in createDocumentLink()
113 gdouble bottomRight = (pageHeight - link->area.y1) * scale; in createDocumentLink()
434 gdouble pageHeight = 1.0; in setLinks() local
437 poppler_page_get_size (popplerPage, NULL, &pageHeight); in setLinks()
534 gdouble pageHeight; in getPageSizeForPage() local
548 *height = pageHeight; in getPageSizeForPage()
624 gdouble pageHeight; in renderPage() local
625 getPageSizeForPage (pageNum, &pageWidth, &pageHeight); in renderPage()
747 gdouble pageWidth, pageHeight; in setTextSelection() local
[all …]
/dports/audio/musescore/MuseScore-3.6.1/mscore/
H A Dpagesettings.cpp64 connect(pageHeight, SIGNAL(valueChanged(double)), SLOT(pageHeightChanged(double))); in PageSettings()
125 pageWidth, pageHeight } ) in blockSignals()
181 double h = score->styleD(Sid::pageHeight); in updateValues()
196 pageHeight->setValue(h * f); in updateValues()
257 qreal h = preview->score()->styleD(Sid::pageHeight); in orientationClicked()
260 preview->score()->style().set(Sid::pageHeight, w); in orientationClicked()
330 s->undoChangeStyleVal(Sid::pageHeight, pageHeight->value() * f); in applyToScore()
371 s->style().set(Sid::pageHeight, sz.height()); in pageFormatSelected()
554 preview->score()->style().set(Sid::pageHeight, val); in pageHeightChanged()
569 double val2 = pageHeight->value() * f; in pageWidthChanged()
[all …]
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/render/ps/
H A DPSDocumentHandler.java339 double pageHeight = size.height / 1000.0; in startPage() local
344 pageSizes.add(Math.round(pageHeight)); in startPage()
348 pageSizes.add(Math.round(pageHeight)); in startPage()
352 new Dimension2DDouble(pageWidth, pageHeight), rotate); in startPage()
385 pageBoundingBox.setRect(0, 0, pageHeight, pageWidth); in startPage()
387 zero, zero, Math.round(pageHeight), in startPage()
390 zero, zero, pageHeight, in startPage()
394 pageBoundingBox.setRect(0, 0, pageWidth, pageHeight); in startPage()
397 Math.round(pageHeight)}); in startPage()
400 pageHeight}); in startPage()
[all …]
/dports/graphics/libboard/libboard-5b38274/include/board/
H A DTransforms.h57 const double pageHeight,
79 const double pageHeight,
101 const double pageHeight,
123 const double pageHeight,
/dports/print/scribus-devel/scribus-1.5.7/scribus/ui/
H A Dmarginpresetlayout.cpp24 MarginStruct PresetLayout::getMargins(int index, double pageWidth, double pageHeight, double leftMa… in getMargins() argument
37 double ratio = pageHeight / pageWidth; in getMargins()
58 ret.setTop(pageHeight / 9.0); in getMargins()
60 ret.setBottom(pageHeight / 9.0 * 2.0); in getMargins()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/pdf/
H A Dqpdfdocument.cpp412 return QPointF(x, pageHeight - y); in getCharPosition()
421 return QRectF(l, pageHeight - t, r - l, t - b); in getCharBox()
428 double pageHeight = FPDF_GetPageHeight(pdfPage); in hitTest() local
433 QPointF charPos = getCharPosition(textPage, pageHeight, hitIndex); in hitTest()
435 QRectF charBox = getCharBox(textPage, pageHeight, hitIndex); in hitTest()
786 double pageHeight = FPDF_GetPageHeight(pdfPage); in getSelection() local
810 QRectF rect(l, pageHeight - t, r - l, t - b); in getSelection()
836 double pageHeight = FPDF_GetPageHeight(pdfPage); in getSelectionAtIndex() local
851 QRectF rect(l, pageHeight - t, r - l, t - b); in getSelectionAtIndex()
873 double pageHeight = FPDF_GetPageHeight(pdfPage); in getAllText() local
[all …]

12345678910>>...34