open pdf form itextsharp c# : Delete text pdf acrobat application control cloud html azure wpf class primefaces_user_guide_5_213-part1552

PrimeFaces User Guide
org.primefaces.model.DashboardColumn (org.primefaces.model.map.DefaultDashboardModel is 
the default implementation)
Method
Description
void removeWidget(String widgetId)
Removes the widget with the given id
List<String> getWidgets()
Returns the ids of widgets in column
int getWidgetCount()
Returns the count of widgets in column
String getWidget(int index)
Returns the widget id with the given index
void addWidget(String widgetId)
Adds a new widget with the given id
void addWidget(int index, String widgetId)
Adds a new widget at given index
void reorderWidget(int index, String widgetId)
Updates the index of widget in column
131
Delete text pdf acrobat - delete, remove text from PDF file in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Allow C# developers to use mature APIs to delete and remove text content from PDF document
delete text pdf file; delete text pdf
Delete text pdf acrobat - VB.NET PDF delete text library: delete, remove text from PDF file in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET Programming Guide to Delete Text from PDF File
delete text from pdf with acrobat; how to erase in pdf text
PrimeFaces User Guide
3.29 DataExporter
DataExporter is handy for exporting data listed using a Primefaces Datatable to various formats 
such as excel, pdf, csv and xml.
Info
Tag
dataExporter
Tag Class
org.primefaces.component.export.DataExporterTag
ActionListener Class
org.primefaces.component.export.DataExporter
Attributes
Name
Default
Type
Description
type
null
String
Export type: "xls","pdf","csv", "xml"
target
null
String
Id of the datatable whose data to export.
fileName
null
String
Filename of the generated export file, defaults to 
datatable id.
pageOnly
0
String
Exports only current page instead of whole dataset
preProcessor
null
MethodExpr
PreProcessor for the exported document.
postProcessor
null
MethodExpr
PostProcessor for the exported document.
encoding
UTF-8
Boolean
Character encoding to use
selectionOnly
0
Boolean
When enabled, only selection would be exported.
Getting Started with DataExporter
DataExporter is nested in a UICommand component such as commandButton or commandLink. For
pdf  exporting itext and for xls exporting poi libraries are required in the classpath.  Target must
point to a PrimeFaces Datatable. Assume the table to be exported is defined as;
<p:dataTable id="tableId" ...>
//columns
</p:dataTable>
Excel export (type="xls|xlsx")
<p:commandButton value="Export as Excel" ajax="false">
<p:dataExporter type="xls" target="tableId" fileName="cars"/>
</p:commandButton>
132
.NET PDF Document Viewing, Annotation, Conversion & Processing
Redact text content, images, whole pages from PDF file. Annotate & Comment. Edit, update, delete PDF annotations from PDF file. Print.
delete text pdf document; how to erase pdf text
C# PDF Converter Library SDK to convert PDF to other file formats
Allow users to convert PDF to Text (TXT) file. can manipulate & convert standard PDF documents in other external third-party dependencies like Adobe Acrobat.
how to erase in pdf text; how to erase text in pdf online
PrimeFaces User Guide
PDF export (type="pdf")
<p:commandButton value="Export as PDF" ajax="false" >
<p:dataExporter type="pdf" target="tableId" fileName="cars"/>
</p:commandButton>
CSV export (type="csv")
<p:commandButton value="Export as CSV" ajax="false" >
<p:dataExporter type="csv" target="tableId" fileName="cars"/>
</p:commandButton>
XML export (type="xml")
<p:commandButton value="Export as XML" ajax="false" >
<p:dataExporter type="xml" target="tableId" fileName="cars"/>
</p:commandLink>
PageOnly
By default dataExporter works on whole dataset, if you’d like export only the data displayed on 
current page, set pageOnly to true.
<p:dataExporter type="pdf" target="tableId" fileName="cars" pageOnly="true"/>
Excluding Columns
In case you need one or more columns to be ignored set exportable option of column to false. 
<p:column exportable="false">
//...
</p:column>
Monitor Status
DataExport  is  a  non-ajax  process  so  ajaxStatus  component  cannot  apply.  See  FileDownload
Monitor Status section to find out how monitor export process. Same solution applies to data export
as well.
Pre and Post Processors
Processors are handy to customize the exported document (e.g. add logo, caption ...). PreProcessors 
are executed before the data is exported and PostProcessors are processed after data is included in 
the document. Processors are simple java methods taking the document as a parameter.
Change Excel Table Header
First example of processors changes the background color of the exported excel’s headers.
133
C# powerpoint - PowerPoint Conversion & Rendering in C#.NET
documents in .NET class applications independently, without using other external third-party dependencies like Adobe Acrobat. PowerPoint to PDF Conversion.
how to remove highlighted text in pdf; erase pdf text
C# Word - Word Conversion in C#.NET
Word documents in .NET class applications independently, without using other external third-party dependencies like Adobe Acrobat. Word to PDF Conversion.
erase pdf text online; remove text from pdf
PrimeFaces User Guide
<h:commandButton value="Export as XLS">
<p:dataExporter type="xls" target="tableId" fileName="cars"
postProcessor="#{bean.postProcessXLS}"/>
</h:commandButton>
public void postProcessXLS(Object document) {
HSSFWorkbook wb = (HSSFWorkbook) document;
HSSFSheet sheet = wb.getSheetAt(0);
HSSFRow header = sheet.getRow(0);
HSSFCellStyle cellStyle = wb.createCellStyle();  
cellStyle.setFillForegroundColor(HSSFColor.GREEN.index);
cellStyle.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND);
for(int i=0; i < header.getPhysicalNumberOfCells();i++) {
header.getCell(i).setCellStyle(cellStyle);
}
}
Add Logo to PDF
This example adds a logo to the PDF before exporting begins.
<h:commandButton value="Export as PDF">
<p:dataExporter type="pdf" target="tableId" fileName="cars"
preProcessor="#{bean.preProcessPDF}"/>
</h:commandButton>
public void preProcessPDF(Object document) throws IOException,  
BadElementException, DocumentException {
Document pdf = (Document) document;
ServletContext servletContext = (ServletContext) 
FacesContext.getCurrentInstance().getExternalContext().getContext();
String logo = servletContext.getRealPath("") + File.separator + "images" + 
File.separator + "prime_logo.png";
pdf.add(Image.getInstance(logo));
}
134
VB.NET PDF: How to Create Watermark on PDF Document within
create a watermark that consists of text or image (such And with our PDF Watermark Creator, users need no external application plugin, like Adobe Acrobat.
pdf editor delete text; acrobat remove text from pdf
C# Windows Viewer - Image and Document Conversion & Rendering in
standard image and document in .NET class applications independently, without using other external third-party dependencies like Adobe Acrobat. Convert to PDF.
how to delete text from pdf; how to delete text in pdf file
PrimeFaces User Guide
3.30 DataGrid
DataGrid displays a collection of data in a grid layout.
Info
Tag
dataGrid
Component Class
org.primefaces.component.datagrid.DataGrid
Component Type
org.primefaces.component.DataGrid
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.DataGridRenderer
Renderer Class
org.primefaces.component.datagrid.DataGridRenderer
Attributes
Name
Default
Type
Description
id
null
String
Unique identifier of the component
rendered
true
Boolean
Boolean value to specify the rendering of the 
component, when set to false component will 
not be rendered.
binding
null
Object
An el expression that maps to a server side 
UIComponent instance in a backing bean
135
C# Excel - Excel Conversion & Rendering in C#.NET
Excel documents in .NET class applications independently, without using other external third-party dependencies like Adobe Acrobat. Excel to PDF Conversion.
how to edit and delete text in pdf file online; how to delete text in pdf preview
VB.NET PowerPoint: VB Code to Draw and Create Annotation on PPT
other documents are compatible, including PDF, TIFF, MS free hand, free hand line, rectangle, text, hotspot, hotspot more plug-ins needed like Acrobat or Adobe
how to delete text in pdf converter professional; how to delete text in a pdf acrobat
PrimeFaces User Guide
Name
Default
Type
Description
value
null
Object
Data to display.
var
null
String
Name of the request-scoped variable used to 
refer each data.
rows
null
Integer
Number of rows to display per page.
first
0
Integer
Index of the first row to be displayed
widgetVar
null
String
Name of the client side widget.
columns
3
Integer
Number of columns in grid.
paginator
false
boolean
Enables pagination.
paginatorTemplate
null
String
Template of the paginator.
rowsPerPageTemplate
null
String
Template of the rowsPerPage dropdown.
currentPageReportTemplate
null
String
Template of the currentPageReport UI.
pageLinks
10
Integer
Maximum number of page links to display.
paginatorPosition
both
String
Position of the paginator.
paginatorAlwaysVisible
true
Boolean
Defines if paginator should be hidden if total 
data count is less than number of rows per page.
style
null
String
Inline style of the datagrid.
styleClass
null
String
Style class of the datagrid.
rowIndexVar
null
String
Name of the iterator to refer each row index.
lazy
false
Boolean
Defines if lazy loading is enabled for the data 
component.
emptyMessage
No records 
found.
String
Text to display when there is no data to display.
layout
tabular
String
Layout approach to use, valid values are 
"tabular" and "grid" for responsive grid.
Getting started with the DataGrid
A list of cars will be used throughout the datagrid, datalist and datatable examples.
public class Car {
private String model;
private int year;
private String manufacturer;
private String color;
...
}
136
PrimeFaces User Guide
The code for CarBean that would be used to bind the datagrid to the car list.
public class CarBean {
private List<Car> cars;
public CarBean() {
cars = new ArrayList<Car>();
cars.add(new Car("myModel",2005,"ManufacturerX","blue"));
//add more cars
}
public List<Car> getCars() {
return cars;
}
}
<p:dataGrid var="car" value="#{carBean.cars}" columns="3" rows="12">
<p:column>
<p:panel header="#{car.model}">
<h:panelGrid columns="1">
<p:graphicImage value="/images/cars/#{car.manufacturer}.jpg"/> 
<h:outputText value="#{car.year}" />
</h:panelGrid>
</p:panel>
</p:column>
</p:dataGrid>
This  datagrid  has  3  columns  and  12  rows. As  datagrid  extends  from  standard  UIData,  rows
correspond to the number of data to display not the number of rows to render so the actual number
of rows to render is rows/columns = 4. As a result datagrid is displayed as;
137
PrimeFaces User Guide
Ajax Pagination
DataGrid has a built-in paginator that is enabled by setting paginator option to true.
<p:dataGrid var="car" value="#{carBean.cars}" columns="3" rows="12"
paginator="true">
...
</p:dataGrid>
Paginator Template
Paginator is customized using paginatorTemplateOption that accepts various keys of UI controls. 
Note that this section applies to dataGrid, dataList and dataTable.
•FirstPageLink
•LastPageLink
•PreviousPageLink
•NextPageLink
•PageLinks
•CurrentPageReport
•RowsPerPageDropdown
Note that {RowsPerPageDropdown} has it’s own template, options to display is provided via 
rowsPerPageTemplate attribute (e.g. rowsPerPageTemplate="9,12,15").
Also {CurrentPageReport} has it’s own template defined with currentPageReportTemplate option. 
You can use {currentPage},{totalPages},{totalRecords},{startRecord},{endRecord} keyword 
within currentPageReportTemplate. Default is {currentPage} of{totalPages}. Default UI is;
w
hich corresponds to the following template.
"{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}"
Here are more examples based on different templates;
" {CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} 
{LastPageLink} {RowsPerPageDropdown}"
" {PreviousPageLink} {CurrentPageReport} {NextPageLink}"
Paginator Position
Paginator can be positoned using paginatorPosition attribute in three different locations, "top", 
"bottom" or "both" (default).
138
PrimeFaces User Guide
Custom Content in Paginator
Custom content can be placed inside a paginator using a facet name matching a token in the 
template.
<p:dataTable paginatorTemplate="{CurrentPageReport} {MyContent} ...">
<f:facet name="{MyContent}">
//Any content here
</f:facet>
//...
</p:dataTable>
Selecting Data
Selection of data displayed in datagrid is very similar to row selection in datatable, you can access
the current data using the var reference. Here is an example to demonstrate how to select data from
datagrid and display within a dialog with ajax.
<h:form id="carForm">
<p:dataGrid var="car" value="#{carBean.cars}" columns="3" rows="12">
<p:panel header="#{car.model}">
<p:commandLink update=":carForm:display" oncomplete="PF('dlg').show()">
<f:setPropertyActionListener value="#{car}" 
target="#{carBean.selectedCar}"
<h:outputText value="#{car.model}" />
</p:commandLink>
</p:panel>
</p:dataGrid>
<p:dialog modal="true" widgetVar="dlg">
<h:panelGrid id="display" columns="2">
<f:facet name="header">
<p:graphicImage value="/images/cars/#{car.manufacturer}.jpg"/> 
</f:facet>
<h:outputText value="Model:" />
<h:outputText value="#{carBean.selectedCar.year}" />
//more selectedCar properties
</h:panelGrid>
</p:dialog>
</h:form>
public class CarBean {
private List<Car> cars;
private Car selectedCar;
//getters and setters
}
139
PrimeFaces User Guide
Layout Modes
DataGrid has two layout modes, "tabular" mode uses a table element and "grid" mode uses 
PrimeFaces Grid CSS create a responsive ui.
On a smaller screen, grid mode adjusts the content for the optimal view.
140
Documents you may be interested
Documents you may be interested