public class PdfVitrineExpose extends AbstractPdfExpose
AbstractExpose.HorizontalAlign, AbstractExpose.Orientation
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
protected static float |
MARGIN_BOTTOM |
protected static float |
MARGIN_LEFT |
protected static float |
MARGIN_RIGHT |
protected static float |
MARGIN_TOP |
static String |
NAME |
protected Locale |
secondaryLocale
Holds the configured secondary language for expose generation.
|
BASE_FONT, baseFont, bodyFontBold, bodyFontH1, bodyFontH2, bodyFontH3, bodyFontNormal, bodyFontSmall, bodyHeadBgColor, bodyHeadFgColor, bodyTextBgColor, bodyTextFgColor, borderColor, dateFormat, DEFAULT_MARGIN_BOTTOM, DEFAULT_MARGIN_LEFT, DEFAULT_MARGIN_RIGHT, DEFAULT_MARGIN_TOP, footerTextFgColor, headerTextFgColor, pageBreakBeforeRow, pageBreakIfNextRowNotFits
dbConnection, dbExtension, dbLanguageMap, locale, now, orientation
Constructor and Description |
---|
PdfVitrineExpose() |
Modifier and Type | Method and Description |
---|---|
protected void |
build(OutputStream output) |
protected void |
buildTemplate(com.lowagie.text.pdf.PdfTemplate tpl,
float width,
float height,
int page,
int pageCount,
int currentRow) |
AbstractExposePanel |
createForm() |
protected com.lowagie.text.pdf.PdfPTable |
createTable(com.lowagie.text.Rectangle pageSize)
Erzeugt die PDF-Tabelle für eine Immobilie.
|
com.openindex.openestate.impl.EstateAttachmentType |
getBigImageType() |
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl |
getInfo1stValue(DbAgencyObject estate,
List<com.openindex.openestate.impl.OpenEstateType> types) |
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl |
getInfo2ndValue(DbAgencyObject estate,
List<com.openindex.openestate.impl.OpenEstateType> types) |
protected String[][] |
getInfoBooleanStrings(DbAgencyObject estate,
List<com.openindex.openestate.impl.OpenEstateType> types) |
protected float |
getMarginBottom(int page) |
protected float |
getMarginLeft(int page) |
protected float |
getMarginRight(int page) |
protected float |
getMarginTop(int page) |
String |
getName() |
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl |
getPrice1stValue(DbAgencyObject estate,
List<com.openindex.openestate.impl.OpenEstateType> types) |
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl |
getPrice2ndValue(DbAgencyObject estate,
List<com.openindex.openestate.impl.OpenEstateType> types) |
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl |
getPriceCommissionValue(DbAgencyObject estate,
List<com.openindex.openestate.impl.OpenEstateType> types) |
Locale |
getSecondaryLocale() |
com.openindex.openestate.impl.EstateAttachmentType |
getSmallImage1Type() |
com.openindex.openestate.impl.EstateAttachmentType |
getSmallImage2Type() |
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl |
getTextValue(DbAgencyObject estate) |
String |
getTitle() |
protected void |
init(ImmoToolProject project,
Connection dbConnection) |
void |
setBigImageType(com.openindex.openestate.impl.EstateAttachmentType val) |
void |
setSecondaryLocale(Locale val) |
void |
setSmallImage1Type(com.openindex.openestate.impl.EstateAttachmentType val) |
void |
setSmallImage2Type(com.openindex.openestate.impl.EstateAttachmentType val) |
protected com.lowagie.text.pdf.PdfPTable |
writeImageTable(float width) |
protected com.lowagie.text.pdf.PdfPTable |
writeInfoTable(float width) |
protected com.lowagie.text.pdf.PdfPTable |
writePriceTable(float width) |
protected com.lowagie.text.pdf.PdfPTable |
writeTextTable(float width,
float height) |
protected com.lowagie.text.pdf.PdfPTable |
writeTitleTable(float width) |
buildDocument, buildTableHead, buildTableHead2, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, createWriter, getBodyHeadBgColor, getBodyHeadFgColor, getBodyTextAlignment, getBodyTextBgColor, getBodyTextFgColor, getBorderColor, getEncryptionPassword, getFooterTextAlignment, getFooterTextFgColor, getHeaderTextCustomLine1, getHeaderTextCustomLine2, getHeaderTextCustomLine3, getHeaderTextFgColor, getMatchingFont, getMatchingFont, getMatchingFont, getPageNumber, getRegisteredFont, getRegisteredFont, getRegisteredFont, getRegisteredFont, getRegisteredFont, getRegisteredFont, initDefaults, isBodyHeadNumbered, isEncryption, isEncryptionAccessibilityAllowed, isEncryptionCopyingAllowed, isEncryptionPrintingAllowed, isFooter, isFooterPageNumber, isFooterTimestamp, isFooterWebsite, isHeader, isHeaderLogo, isHeaderTextCustom, registerFonts, setBodyHeadBgColor, setBodyHeadFgColor, setBodyHeadNumbered, setBodyTextAlignment, setBodyTextBgColor, setBodyTextFgColor, setBorderColor, setEncryption, setEncryptionAccessibilityAllowed, setEncryptionCopyingAllowed, setEncryptionPassword, setEncryptionPrintingAllowed, setFooter, setFooterPageNumber, setFooterTextAlignment, setFooterTextFgColor, setFooterTimestamp, setFooterWebsite, setHeader, setHeaderLogo, setHeaderTextCustom, setHeaderTextCustomLine1, setHeaderTextCustomLine2, setHeaderTextCustomLine3, setHeaderTextFgColor
finish, generate, generate, generate, generate, getAgent, getAgentLogo, getAgentLogoImage, getEstateContact, getEstateFileDownload, getEstateFiles, getEstateObject, getExpose, getExposeFile, getExposes, getLocale, getOrientation, getPublishAddress, getPublishFiles, getPublishPrices, getResolution, getSupportedLocales, getTemplateFile, getTemplateId, getTemporaryTemplateFile, isShowContact, isTemplate, saveToDatabase, setLocale, setOrientation, setPublishAddress, setPublishFiles, setPublishPrices, setResolution, setShowContact, setTemplate, setTemplateId, setTemporaryTemplate
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public static final String NAME
protected static final float MARGIN_TOP
protected static final float MARGIN_BOTTOM
protected static final float MARGIN_LEFT
protected static final float MARGIN_RIGHT
protected Locale secondaryLocale
protected void build(OutputStream output) throws IOException, com.lowagie.text.DocumentException
build
in class AbstractExpose
IOException
com.lowagie.text.DocumentException
protected void buildTemplate(com.lowagie.text.pdf.PdfTemplate tpl, float width, float height, int page, int pageCount, int currentRow) throws IOException, com.lowagie.text.DocumentException
buildTemplate
in class AbstractPdfExpose
IOException
com.lowagie.text.DocumentException
public AbstractExposePanel createForm()
createForm
in class AbstractExpose
protected com.lowagie.text.pdf.PdfPTable createTable(com.lowagie.text.Rectangle pageSize) throws IOException, com.lowagie.text.DocumentException
estate
- ImmobiliepageSize
- SeitenformatImmoToolException
- interner Fehlercom.lowagie.text.DocumentException
OpenEstateException
IOException
public com.openindex.openestate.impl.EstateAttachmentType getBigImageType()
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl getInfo1stValue(DbAgencyObject estate, List<com.openindex.openestate.impl.OpenEstateType> types)
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl getInfo2ndValue(DbAgencyObject estate, List<com.openindex.openestate.impl.OpenEstateType> types)
protected String[][] getInfoBooleanStrings(DbAgencyObject estate, List<com.openindex.openestate.impl.OpenEstateType> types)
protected float getMarginBottom(int page)
getMarginBottom
in class AbstractPdfExpose
protected float getMarginLeft(int page)
getMarginLeft
in class AbstractPdfExpose
protected float getMarginRight(int page)
getMarginRight
in class AbstractPdfExpose
protected float getMarginTop(int page)
getMarginTop
in class AbstractPdfExpose
public String getName()
getName
in class AbstractExpose
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl getPrice1stValue(DbAgencyObject estate, List<com.openindex.openestate.impl.OpenEstateType> types)
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl getPrice2ndValue(DbAgencyObject estate, List<com.openindex.openestate.impl.OpenEstateType> types)
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl getPriceCommissionValue(DbAgencyObject estate, List<com.openindex.openestate.impl.OpenEstateType> types)
public Locale getSecondaryLocale()
public com.openindex.openestate.impl.EstateAttachmentType getSmallImage1Type()
public com.openindex.openestate.impl.EstateAttachmentType getSmallImage2Type()
protected com.openindex.openestate.impl.attribs.AbstractAttribImpl getTextValue(DbAgencyObject estate)
public String getTitle()
getTitle
in class AbstractExpose
protected void init(ImmoToolProject project, Connection dbConnection) throws SQLException
init
in class AbstractPdfExpose
SQLException
public void setBigImageType(com.openindex.openestate.impl.EstateAttachmentType val)
public void setSecondaryLocale(Locale val)
public void setSmallImage1Type(com.openindex.openestate.impl.EstateAttachmentType val)
public void setSmallImage2Type(com.openindex.openestate.impl.EstateAttachmentType val)
protected com.lowagie.text.pdf.PdfPTable writeImageTable(float width) throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentException
protected com.lowagie.text.pdf.PdfPTable writeInfoTable(float width) throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentException
protected com.lowagie.text.pdf.PdfPTable writePriceTable(float width) throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentException
protected com.lowagie.text.pdf.PdfPTable writeTextTable(float width, float height) throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentException
protected com.lowagie.text.pdf.PdfPTable writeTitleTable(float width) throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentException
Copyright © 2015 OpenEstate. All rights reserved.