Class PdfShortExpose
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,String>
-
- com.openindex.openestate.tool.agency.expose.AbstractExpose
-
- com.openindex.openestate.tool.agency.expose.AbstractPdfExpose
-
- com.openindex.openestate.tool.agency.expose.PdfShortExpose
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,String>
public class PdfShortExpose extends AbstractPdfExpose
PdfShortExpose.- Author:
- Andreas Rudolph
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PdfShortExpose.ContactPublishing
static class
PdfShortExpose.GalleryMode
-
Nested classes/interfaces inherited from class com.openindex.openestate.tool.agency.expose.AbstractExpose
AbstractExpose.HorizontalAlign, AbstractExpose.Orientation
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME
-
Fields inherited from class com.openindex.openestate.tool.agency.expose.AbstractPdfExpose
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
-
Fields inherited from class com.openindex.openestate.tool.agency.expose.AbstractExpose
dbConnection, dbExtension, dbLanguageMap, locale, now, orientation
-
-
Constructor Summary
Constructors Constructor Description PdfShortExpose()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
build(OutputStream output)
PDF-Erzeugung starten.protected com.lowagie.text.pdf.PdfPTable
createExposeAttribsBottomTable(List<OpenEstateType> estateTypePath, Color textColor, float totalWidth, float totalHeight)
protected com.lowagie.text.pdf.PdfPTable
createExposeAttribsPriceTable(Color textColor, float totalWidth, float totalHeight)
protected com.lowagie.text.pdf.PdfPTable
createExposeAttribsTopTable(List<OpenEstateType> estateTypePath, Color textColor, float totalWidth, float totalHeight)
protected com.lowagie.text.pdf.PdfPTable
createExposeContactTable(DbAgencyContact contact, ImmoToolAgent agent, Color textColor, float totalWidth, float totalHeight)
protected com.lowagie.text.pdf.PdfPTable
createExposeDescriptionTable(Color textColor, float totalWidth, float totalHeight)
protected com.lowagie.text.pdf.PdfPTable
createExposeHeadCityTable(Color textColor)
protected com.lowagie.text.pdf.PdfPTable
createExposeHeadTable(Color textColor, float totalWidth, float totalHeight)
protected com.lowagie.text.pdf.PdfPTable
createExposeProvisionTable(Color textColor, float totalWidth, float totalHeight)
protected com.lowagie.text.pdf.PdfPTable
createExposeTypeTable(Color textColor)
AbstractExposePanel
createForm()
protected com.lowagie.text.pdf.PdfPTable
createTable(com.lowagie.text.Rectangle pageSize)
Erzeugt die PDF-Tabelle für eine Immobilie.PdfShortExpose.ContactPublishing[]
getContactPublishings()
PdfShortExpose.GalleryMode
getGalleryMode()
String
getName()
String
getTitle()
protected void
init(ImmoToolProject project, Connection dbConnection)
void
initDefaults()
void
setContactPublishings(PdfShortExpose.ContactPublishing[] val)
void
setGalleryMode(PdfShortExpose.GalleryMode val)
-
Methods inherited from class com.openindex.openestate.tool.agency.expose.AbstractPdfExpose
buildDocument, buildTableHead, buildTableHead2, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTableRow, buildTemplate, createWriter, getBodyHeadBgColor, getBodyHeadFgColor, getBodyTextAlignment, getBodyTextBgColor, getBodyTextFgColor, getBorderColor, getEncryptionPassword, getFooterTextAlignment, getFooterTextFgColor, getHeaderTextCustomLine1, getHeaderTextCustomLine2, getHeaderTextCustomLine3, getHeaderTextFgColor, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMatchingFont, getMatchingFont, getMatchingFont, getPageNumber, getRegisteredFont, getRegisteredFont, getRegisteredFont, getRegisteredFont, getRegisteredFont, getRegisteredFont, isBodyHeadNumbered, isEncryption, isEncryptionAccessibilityAllowed, isEncryptionCopyingAllowed, isEncryptionPrintingAllowed, isFooter, isFooterPageNumber, isFooterTimestamp, isFooterWebsite, isHeader, isHeaderLogo, isHeaderTextCustom, registerFont, registerFont, 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
-
Methods inherited from class com.openindex.openestate.tool.agency.expose.AbstractExpose
finish, generate, generate, generate, generate, getAgent, getAgentLogo, getAgentLogoImage, getEstateContact, getEstateFileDownload, getEstateFiles, getEstateLinks, getEstateObject, getExpose, getExposeFile, getExposes, getLocale, getOrientation, getPublishAddress, getPublishFiles, getPublishLinks, getPublishPrices, getResolution, getSupportedLocales, getTemplateFile, getTemplateId, getTemporaryTemplateFile, isShowContact, isTemplate, saveToDatabase, setLocale, setOrientation, setPublishAddress, setPublishFiles, setPublishLinks, setPublishPrices, setResolution, setShowContact, setTemplate, setTemplateId, setTemporaryTemplate
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
build
protected void build(OutputStream output) throws IOException, com.lowagie.text.DocumentException
PDF-Erzeugung starten.- Specified by:
build
in classAbstractExpose
- Parameters:
output
- PDF-Ausgabe- Throws:
IOException
com.lowagie.text.DocumentException
-
createExposeAttribsBottomTable
protected com.lowagie.text.pdf.PdfPTable createExposeAttribsBottomTable(List<OpenEstateType> estateTypePath, Color textColor, float totalWidth, float totalHeight)
-
createExposeAttribsPriceTable
protected com.lowagie.text.pdf.PdfPTable createExposeAttribsPriceTable(Color textColor, float totalWidth, float totalHeight)
-
createExposeAttribsTopTable
protected com.lowagie.text.pdf.PdfPTable createExposeAttribsTopTable(List<OpenEstateType> estateTypePath, Color textColor, float totalWidth, float totalHeight)
-
createExposeContactTable
protected com.lowagie.text.pdf.PdfPTable createExposeContactTable(DbAgencyContact contact, ImmoToolAgent agent, Color textColor, float totalWidth, float totalHeight)
-
createExposeDescriptionTable
protected com.lowagie.text.pdf.PdfPTable createExposeDescriptionTable(Color textColor, float totalWidth, float totalHeight)
-
createExposeHeadTable
protected com.lowagie.text.pdf.PdfPTable createExposeHeadTable(Color textColor, float totalWidth, float totalHeight) throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
-
createExposeHeadCityTable
protected com.lowagie.text.pdf.PdfPTable createExposeHeadCityTable(Color textColor) throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
-
createExposeProvisionTable
protected com.lowagie.text.pdf.PdfPTable createExposeProvisionTable(Color textColor, float totalWidth, float totalHeight) throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
-
createExposeTypeTable
protected com.lowagie.text.pdf.PdfPTable createExposeTypeTable(Color textColor) throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
-
createForm
public AbstractExposePanel createForm()
- Specified by:
createForm
in classAbstractExpose
-
createTable
protected com.lowagie.text.pdf.PdfPTable createTable(com.lowagie.text.Rectangle pageSize) throws com.lowagie.text.DocumentException
Erzeugt die PDF-Tabelle für eine Immobilie.- Parameters:
pageSize
- Seitenformat- Returns:
- PDF-Tabelle
- Throws:
com.lowagie.text.DocumentException
-
getContactPublishings
public PdfShortExpose.ContactPublishing[] getContactPublishings()
-
getGalleryMode
public PdfShortExpose.GalleryMode getGalleryMode()
-
getName
public String getName()
- Specified by:
getName
in classAbstractExpose
-
getTitle
public String getTitle()
- Specified by:
getTitle
in classAbstractExpose
-
init
protected void init(ImmoToolProject project, Connection dbConnection) throws SQLException
- Overrides:
init
in classAbstractPdfExpose
- Throws:
SQLException
-
initDefaults
public void initDefaults()
- Overrides:
initDefaults
in classAbstractPdfExpose
-
setContactPublishings
public void setContactPublishings(PdfShortExpose.ContactPublishing[] val)
-
setGalleryMode
public void setGalleryMode(PdfShortExpose.GalleryMode val)
-
-