open pdf form itextsharp c# : How to edit and delete text in pdf file online control software platform web page windows html web browser primefaces_user_guide_5_25-part1592

PrimeFaces User Guide
Name
Default
Type
Description
pressed and released over input element.
onkeyup
null
String
Client side callback to execute when a key is 
released over input element.
onmousedown
null
String
Client side callback to execute when a pointer 
button is pressed down over input element
onmousemove
null
String
Client side callback to execute when a pointer 
button is moved within input element.
onmouseout
null
String
Client side callback to execute when a pointer 
button is moved away from input element.
onmouseover
null
String
Client side callback to execute when a pointer 
button is moved onto input element.
onmouseup
null
String
Client side callback to execute when a pointer 
button is released over input element.
onselect
null
String
Client side callback to execute when text within 
input element is selected by user.
placeholder
null
String
Specifies a short hint.
readonly
false
Boolean Flag indicating that this component will prevent 
changes by the user.
style
null
String
Inline style of the component.
styleClass
null
String
Style class of the component.
size
null
Integer
Number of characters used to determine the width 
of the input element.
tabindex
null
Integer
Position of the input element in the tabbing order.
title
null
String
Advisory tooltip informaton.
beforeShowDay
null
String
Client side callback to execute before displaying a 
date, used to customize date display.
mask
null
String
Applies a mask using the pattern.
timeControlType
slider
String
Defines the type of element to use for time picker, 
valid values are "slider" and "select".
Getting Started with Calendar
Value of the calendar should be a java.util.Date.
<p:calendar value="#{dateBean.date}"/>
51
How to edit and delete text in pdf file online - 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
how to delete text in pdf converter professional; how to delete text in pdf preview
How to edit and delete text in pdf file online - 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
remove text from pdf online; pdf editor online delete text
PrimeFaces User Guide
public class DateBean {
private Date date;
//Getter and Setter
}
Display Modes
Calendar has two main display modes, popup (default) and inline.
Inline
<p:calendar value="#{dateBean.date}" mode="inline" />
Popup
<p:calendar value="#{dateBean.date}" mode="popup" />
showOn option defines the client side event to display the calendar. Valid values are;
•focus: When input field receives focus
•button: When popup button is clicked
both: Both 
focus and button cases
Popup Button
<p:calendar value="#{dateBean.date}" mode="popup" showOn="button" />
52
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
in Field Data. Field: Insert, Delete, Update Field. File Permissions. Password: Open Document. Edit Digital Signatures. Highlight Text. Add Text. Add Text Box. Drawing
how to delete text in pdf acrobat; how to delete text in pdf using acrobat professional
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
Free PDF edit control and component for deleting PDF Easy to delete PDF page in .NET WinForms application Enable specified pages deleting from PDF in Visual
how to erase text in pdf; remove text from pdf acrobat
PrimeFaces User Guide
Popup Icon Only
<p:calendar value="#{dateBean.date}" mode="popup" 
showOn="button" popupIconOnly="true" />
Paging
Calendar can also be rendered in multiple pages where each page corresponds to one month. This 
feature is tuned with the pages attribute.
<p:calendar value="#{dateController.date}" pages="3"/>
Localization
By default locale information is retrieved from the view’s locale and can be overridden by the locale
attribute. Locale attribute can take a locale key as a String or a java.util.Locale instance. Default
language of labels are English and you need to add the necessary translations to your page manually
as  PrimeFaces  does  not  include  language  translations.  PrimeFaces  Wiki  Page  for
PrimeFacesLocales is a community driven page where you may find the translations you need.
Please contribute to this wiki with your own translations.
https://code.google.com/p/primefaces/wiki/PrimeFacesLocales
Translation is a simple javascript object, we suggest adding the code to a javascript file and include 
in your application. Following is a Turkish calendar.
53
C# PDF Text Extract Library: extract text content from PDF file in
Advanced Visual Studio .NET PDF edit SDK, built on .NET framework 2.0 and compatible Able to extract and get all and partial text content from PDF file.
delete text pdf document; how to remove highlighted text in pdf
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
BestC#.NET PDF edit control for deleting PDF pages in Visual Advanced component and library able to delete PDF page in to remove a range of pages from PDF file.
pdf editor delete text; how to delete text in a pdf file
PrimeFaces User Guide
<h:outputScript name=”path_to_your_translations.js” />
<p:calendar value="#{dateController.date}" locale="tr" navigator="true" 
showButtonPanel="true"/>
To override calculated pattern from locale, use the pattern option;
<p:calendar value="#{dateController.date1}" pattern="dd.MM.yyyy"/>
<p:calendar value="#{dateController.date2}" pattern="yy, M, d"/>
<p:calendar value="#{dateController.date3}" pattern="EEE, dd MMM, yyyy"/>
Effects
Various effects can be used when showing and hiding the popup calendar, options are; show, 
slideDown, fadeIn, blind, bounce, clip, drop, fold and slide.
Ajax Behavior Events
Calendar provides a dateSelect ajax behavior event to execute an instant ajax selection whenever a
date  is  selected.  If  you  define  a  method  as  a  listener,  it  will  be  invoked  by  passing  an
org.primefaces.event.SelectEvent instance.
<p:calendar value="#{calendarBean.date}">
<p:ajax event=”dateSelect” listener=”#{bean.handleDateSelect}” update=”msg” />
</p:calendar>
<p:messages id="msg" />
54
VB.NET PDF File Compress Library: Compress reduce PDF size in vb.
size, images size reducing can help to reduce PDF file size effectively will also take up too much space, glyph file unreferenced can Delete unimportant contents
remove text from pdf preview; how to delete text from a pdf in acrobat
C# PDF metadata Library: add, remove, update PDF metadata in C#.
Evaluation library and components provide varieties of functionalities to edit and update PDF metadata in Remove and delete metadata from PDF file.
delete text from pdf online; delete text from pdf preview
PrimeFaces User Guide
public void handleDateSelect(SelectEvent event) {
Date date = (Date) event.getObject();
//Add facesmessage
}
In popup mode, calendar also supports regular ajax behavior events like blur, keyup and more.
Another handy event is the viewChange that is fired when month and year changes. An instance of
org.primefaces.event.DateViewChangeEvent is passed to the event listener providing the current
month and year information.
Date Ranges
Using mindate and maxdate options, selectable dates can be restricted. Values for these attributes 
can either be a string or a java.util.Date.
<p:calendar value="#{dateBean.date}" mode="inline"
mindate="07/10/2010" maxdate="07/15/2010"/>
Navigator
Navigator is an easy way to jump between months/years quickly.
<p:calendar value="#{dateBean.date}" mode="inline" navigator="true" />
TimePicker
TimePicker functionality is enabled by adding time format to your pattern.
<p:calendar value="#{dateBean.date}" pattern=”MM/dd/yyyy HH:mm” />
55
VB.NET PDF File Split Library: Split, seperate PDF into multiple
Split PDF file into two or multiple files in ASP.NET webpage online. Support to break a large PDF file into smaller files in .NET WinForms.
delete text from pdf file; erase pdf text
VB.NET PDF File Merge Library: Merge, append PDF files in vb.net
Append one PDF file to the end of another one in VB.NET. Free .NET framework library download and VB.NET online source code samples.
delete text pdf acrobat professional; how to edit and delete text in pdf file online
PrimeFaces User Guide
Advanced Customization
Use beforeShowDay javascript callback to customize the look of each date. The function returns an 
array with two values, first one is flag to indicate if date would be displayed as enabled and second 
parameter is the optional style class to add to date cell. Following example disabled tuesdays and 
fridays.
<p:calendar value="#{dateBean.date}" beforeShowDay="tuesdaysAndFridaysOnly" />
Function tuesdaysAndFridaysDisabled(date) {
var day = date.getDay();
return [(day != 2 && day != 5), '']
}
Mask
Calendar has a built-in mask feature similar to the InputMask component. Set mask option to true to
enable mask support. 
Client Side API
Widget: PrimeFaces.widget.Calendar
Method
Params
Return Type
Description
getDate()
-
Date
Return selected date
setDate(date)
date: Date to display
void
Sets display date
disable()
-
void
Disables calendar
enable()
-
void
Enables calendar
Skinning
Calendar resides in a container element which style and styleClass options apply.
Following is the list of structural style classes;
56
PrimeFaces User Guide
Style Class
Applies
.ui-datepicker
Main container
.ui-datepicker-header
Header container
.ui-datepicker-prev
Previous month navigator
.ui-datepicker-next
Next month navigator
.ui-datepicker-title
Title
.ui-datepicker-month
Month display
.ui-datepicker-table
Date table
.ui-datepicker-week-end
Label of weekends
.ui-datepicker-other-month
Dates belonging to other months
.ui-datepicker td
Each cell date
.ui-datepicker-buttonpane
Button panel
.ui-datepicker-current
Today button
.ui-datepicker-close
Close button
As skinning style classes are global, see the main theming section for more information.
57
PrimeFaces User Guide
3.12 Captcha
Captcha is a form validation component based on Recaptcha API.
Info
Tag
captcha
Component Class
org.primefaces.component.captcha.Captcha
Component Type
org.primefaces.component.Captcha
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.CaptchaRenderer
Renderer Class
org.primefaces.component.captcha.CaptchaRenderer
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.
value
null
Object
Value of the component than can be either an EL 
expression of a literal text.
converter
null
Converter/Stri
ng
An el expression or a literal text that defines a 
converter for the component. When it’s an EL 
expression, it’s resolved to a converter instance. 
In case it’s a static text, it must refer to a converter
id.
immediate
false
Boolean
When set true, process validations logic is 
executed at apply request values phase for this 
component.
required
false
Boolean
Marks component as required.
58
PrimeFaces User Guide
Name
Default
Type
Description
validator
null
MethodExpr
A method binding expression that refers to a 
method validationg the input.
valueChangeListener
null
ValueChange
Listener
A method binding expression that refers to a 
method for handling a valuchangeevent.
requiredMessage
null
String
Message to be displayed when required field 
validation fails.
converterMessage
null
String
Message to be displayed when conversion fails.
validatorMessage
null
String
Message to be displayed when validation fields.
publicKey
null
String
Public recaptcha key for a specific domain 
(deprecated)
theme
red
String
Theme of the captcha.
language
en
String
Key of the supported languages.
tabindex
null
Integer
Position of the input element in the tabbing order.
label
null
String
User presentable field name.
secure
false
Boolean
Enables https support
Getting Started with Captcha
Catpcha is implemented as an input component with a built-in validator that is integrated with 
reCaptcha. First thing to do is to sign up to reCaptcha to get public&private keys. Once you have 
the  keys for your domain, add them to web.xml as follows;
<context-param>
<param-name>primefaces.PRIVATE_CAPTCHA_KEY</param-name>
<param-value>YOUR_PRIVATE_KEY</param-value>
</context-param>
<context-param>
<param-name>primefaces.PUBLIC_CAPTCHA_KEY</param-name>
<param-value>YOUR_PUBLIC_KEY</param-value>
</context-param>
That is it, now you can use captcha as follows;
<p:captcha />
Themes
Captcha features following built-in themes for look and feel customization;
- red (default)
- white
- blackglass
- clean
Themes are applied via the theme attribute.
59
PrimeFaces User Guide
<p:captcha theme="white"/>
Languages
Text instructions displayed on captcha is customized with the language attribute. Below is a captcha
with Turkish text.
<p:captcha language="tr"/>
Overriding Validation Messages
By default captcha displays it’s own validation messages, this can be easily overridden by the JSF 
message bundle mechanism. Corresponding keys are;
Summary
primefaces.captcha.INVALID
Detail
primefaces.captcha.INVALID_detail
Tips
•Use label option to provide readable error messages in case validation fails.
Enable 
secure option to support https otherwise browsers will give warnings.
See 
http://www.google.com/recaptcha/learnmore
to learn more about how reCaptcha works.
60
Documents you may be interested
Documents you may be interested