expanded,othersarecollapsed.Thisisfortheuser'sconvenience.Acollapsedquestiontypesettingcanbe
expandedbyclickingtheicontotheleftofthequestiontype.
Afterchoosingthesettings,youcanclickGetPDFtogeneratetheprintablesurveyinPDFform.Currentlythefileis
generatedwithPDFversion1.4,sincethisisthemostcommonlyusedversion.Pleasemakesurethatyouhavea
properPDFviewerthatcanreadandprintPDF-1.4files.
http://www.objectplanet.com/Opinio/
133
Can't cut and paste from pdf - Split, seperate PDF into multiple files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Explain How to Split PDF Document in Visual C#.NET Application
break a pdf; pdf link to specific page
Can't cut and paste from pdf - VB.NET PDF File Split Library: Split, seperate PDF into multiple files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Splitter Control to Disassemble PDF Document
break pdf documents; break pdf into separate pages
Chapter5.Designapoll
Apollisasimplesurvey,usuallyembeddedasanintegralpartofawebpage.Itisnormallyonequestion,likea
multiplechoicequestion,withabuttontosendtheresponse.Thenafteransweringthisquestion,therespondentcan
viewaninstantchartofthepollresults,eitherinapopup-window,orachartembeddedinthepage.Opinioprovides
allthisfunctionality,andmore.
WithOpinio,youcanevencreateadvancedpolls,withanyquestiontype,likearating,text-fields,matrixetc.All
questiontypesavailableinanormalsurveyisalsoavailableinapoll.Thisisbecauseapollisactuallyasurveyin
Opinio.Technicallytheyarealmostthesame,theonlydifferenceisthatapollisdisplayedasanintegralpartofa
webpage,whileaSurveyisawebpage(ormultiplepages)initsownright.Thelimitationforapollisusually
screenspace.Oftenthepollauthorislimitedtoasimplequestiontype,tomakeitfitintoanotherwebpage.
Note
Ifyouareeditinga poll, andthe pollis alreadypublished onyour web page, theresult/chartwill be
displayedonthewebpage, insteadofthequestionform. This isbecausethe pollwillbelockedwhile
edited.
DifferencesbetweenSurveyandPoll:
• Asurveycanhavemultiplepages,andthequestionsinapollcanonlybedisplayedonasinglepage.
• PollscannotutilizeOpinio'sconditionalbranchingfunctionality(onlyworksonmultiple-pagesurveys).
• Progressbarcannotbeusedwithpolls(onlyworksonmultiple-pagesurveys).
• SurveysinOpiniosupportsuserauthentication-thisisnotavailableinapoll.
• Redirectstootherwebpagesareonlyavailableinsurveys,notpolls.
• Invitationfunctionalitydoesnotworkforpolls.Itisofcoursepossibletoinvitepeopletoyourwebpage,butthe
build-inOpinioinvitationfunctionalityisonlymeantforusewithfull-blownsurveys.
• Server-sidevalidationofresponsedata(answers)doesnotworkinpolls.Client-sidevalidationisturnedonby
default.
Designsteps.
Designingapollstartsfromthepolladministrationscreen,sinceitgivesyouaccesstoallpollfeatures.Hereisthe
listofpolldesignsteps:
1. Createquestions
2. Customizelookandfeel
3. Configurepollbehavior
4. Translatepoll
5. Testthepolltoseethatitlooksandbehavesasintended.See"Checklistbeforepollpublishing."
6. Publishthepoll
http://www.objectplanet.com/Opinio/
134
C# PDF copy, paste image Library: copy, paste, cut PDF images in
an image from one page of PDF document and paste it into in C# demo code below, we will explain how to cut image from doc, Target document object, Can't be null.
pdf no pages selected to print; combine pages of pdf documents into one
C# PDF Thumbnail Create SDK: Draw thumbnail images for PDF in C#.
Description: Convert the PDF page to bitmap with specified size. Parameters: Name, Description, Valid Value. targetSize, The size of the output image. Can't be
split pdf by bookmark; split pdf files
Polladministration
Polladministrationscreenisthepollhomepage.Itdisplaysimportantpolldetailsandgiveyouaccesstothemain
pollfeatures.
Pollstatus.Thetrafficlighticonontherightofthescreenindicatesthepollstatus.Ifpollisopenforvotestheicon
lightsgreen.Ifpollisnotaccessibleitlightsred.Whenpolliaclosed(lightsred),thepollresultisdisplayedtothe
usersaccessingthewebpageincludingapoll.
Apollcanbeclosedduetothefollowingreasons:
• Closedbydate(currentdateisbeforestartdateorafterstopdate).
• Lockedbyanadministratoruser(usuallyyourself).Ifthepollislocked,thepolldesignerhaseditedthepollin
someway. Thepoll l cannotbeopenifitis beingedited. . To o makethepoll available immediately, , clickon
“Unlockpoll”linkunderthestatusicon.Youcanonlyunlockthepollthathasbeenlockedbyyou.Ifanother
polldesignerhaslockedthepoll,youmustwaituntilheisdoneandthesurveyhasbecomeunlocked.
• Errorinpoll.Ifthesystemhasdetectedanerrorinthepoll,itwillnotifythepolldesignerbyaddinganerror
messageatthetopofthepolladministrationscreenandchangethepollstatustoError.Respondentscannotvote
becausethismightresultindatainconsistency.
• Numberofallowedvoteshasbeenexceeded.Seethesectioncalled“Pollbehavior”[142].
Besidepollstatus,youcanalsoseetheimportantpolldetailsontheadministrationscreen:
• Startdate.Thedatewhenpollbecomesavailableforrespondents.Clickonthelinktoeditthedate.
Stopdate.Thedatewhenpollbecomesclosedforrespondents.Clickonthelinktoeditthedate.
Numberofvotes.Displaysnumberofpollresponses.
• Numberofquestions-numberofquestionsthepollcontains.
• Maximumnumberofvotes-numberofrespondentsthatcanvote.Whenthisnumberisreached,thepollwillbe
closedandnomorerespondentswillbeabletovote.Seethesectioncalled“Pollbehavior”
• Allowmultiplesubmissions-methodusedtopreventrespondentsfrommultiplevotes,ifany.Seethesection
called“Pollbehavior”
http://www.objectplanet.com/Opinio/
135
C# PDF Page Replace Library: replace PDF pages in C#.net, ASP.NET
consecutive pages from the input PDF file starting at specified position. Parameters: Name, Description, Valid Value. newPages, The new page objects. Can't be null
add page break to pdf; break a pdf into separate pages
Questions
Creatingquestions
Creatingpollquestionsissimilartocreatingsurveyquestions.RefertosectionCreatingsurveyquestions.
Organizingquestions
Organizingpollquestionsissimilartoorganizingsurveyquestionswiththefollowingexception:
Onlyonevisiblepollpageisallowed.Thismeansthatyoucannotenterpagebreaksforpollsections.
RefertosectionOrganizingsurveyquestions.
Addquestiontolibrary
Addingapollquestiontothelibraryissimilartoaddingasurveyquestion.Refertosection“Addsurveyquestionto
library”.
Copyquestionfromlibrary
Copyingapollquestionfromthelibraryis similartocopyingasurveyquestion. Refertosection“Copysurvey
questionfromlibrary”.
Piping
Pollpipingissimilartosurveypipingwiththefollowingexception:
OnlyFixedvalueandSurveyURLparameterpipingsourcetypes are allowed. This meansthatyoucannot
defineotherpipingtypes.
RefertosectionSurveypiping.
Pollpreview
Pollpreviewisavailablefromalmostanyscreenduringpollcreation.Notethatwhenyoupreviewapollyoubypass
thepollsecurityandopeneddates.YoucanseethepollasrespondentwouldandcanclickontheVotebuttontosee
theresultofthepoll.Notethatyourvotefrompreviewwillnotbecountedastheactualvote.Thepollpreviewchart
ispopulatedwithrandomdataandDONOTreflecttheactualvotes,iftheyalreadyexistforthepoll.Alsonotethat
ifthecurrentscreenchangesarenotyetsaved,theywillnotreflectedonthepollpreview.
Polllookandfeel
Polllookandfeelpagesincludepolllayout,style,texts,labelsandbuttons(elementsvisibletotherespondents).Poll
lookandfeelisavailableintheMenuboxonpolladministrationpage.
Polllookandfeel
Thepolllookandfeelisimportantforseveralreasons.Itsendsamessagetotherespondentthatthepollis"serious"
or"professional"orsimplyforfun.Itissometimesimportanttomatchthedesignofyourwebsite.
http://www.objectplanet.com/Opinio/
136
Thedesignofyourpollcanbecontrolledby2mainmethods. Apolltemplate, oraCSSstyle(CascadingStyle
Sheet).Thesimplestistouseatemplate,whichisoftenmorecomplete,withasetofimages,toenhancethelook&
feel.
• Simple:Tousestemplate,clickontheSimple-tab.Atemplateisapredefinedlookandfeelthatyoucanchoose
foryourpoll.Selectatemplate,andclickonsave.Clickonpreviewpollinthemenuboxtoseehowyourpoll
looks with h this s new w design. . Currently, a template can n not be uploaded orchangedthroughtheOpiniouser
interface.
• AdvancedTosetyouownstyle,clickontheAdvanced-tab.Theinputfrompollstylefieldwillthencontrolsthe
lookandfeelofyourpoll.
Note
TheAdvancedpollstylefieldwillbepopulatedwiththestyleforthelastsavedtemplate.Thiswayyoucan
selectthetemplatethatyoulikefromSimpletabandthenmakesomesmallchangestothecssfiletoensure
thatthepollperfectlyfitsonyourwebpage.
EveryelementinthepollcanbecustomizedbytheCSSstyle.ItrequiressomebasicCSSinsighttobeabletodo
this. The e style e field contains many comments in n it t that t explains s what t areas s of f the poll l elements s can n be
customized.Thereareplentyofguidesontheinternet.Acoupleofexamples:
• http://www.w3schools.com/css/
• http://www.csstutorial.net/
• Formwidth:Thewidthofyourpollforminpixels.NOTE:pollwidthwillbeusedforbothQuestionpageand
Chart/resultpage.Ifpollchartistoobigtofittheformwidth,thepollwidthwillbeincreased.
Ifyouconfigurethepolltoopenthepollresultsinapopupwindow,it'spossiblethatrespondentswillseethe
pollchartinthemainpollwindow.Thismayhappenifpollisunavailable(lightsredonthepolladministration
http://www.objectplanet.com/Opinio/
137
screen).
Makesurethatformwidthyousetisenoughforbothquestionsandthechart.Youcanalsochangepollchart
widthtogetthecorrectlayout.SeeQuickpollchartedit
• Number of columns: Allows s fordisplaying questions s inmore than n one column. The defaultis s onecolumn
(question2belowquestion1, etc).Morethanonecolumnsavesscreenareaandverticalscrolling.Makesure
yourquestionsaren'ttoowide,becausethatwillpushthequestionsintherightmostcolumnfurthertotheright.
Themaximumnumberofcolumnsis3.Examplewith2columns:
• Questionnumbering:“default” ” uses standard numbering, e.g. 1-2-3-4etc. Fordisplayingothernumbers that
1,2,3,..enablecustomnumberingbyselectingithere.Toconfigurewhatisactuallydisplayed,seethesection
called“Customquestionnumbers”
Polltexts
http://www.objectplanet.com/Opinio/
138
Thisscreenprovideseditingofpolltextsthatarevisibletorespondents.Allofthetextsareoptional.
• Pollheadingisdisplayedatthetopofthepoll.
• Introduction will l alsoappearonthe pollform, belowthe title. Use this togive general instructions tothe
respondents.
• Headerisdisplayedabovethepollandcanbeusedforcompanylogo,forexample.Previouslycreatedandstored
headerscanbeselectedfromthelistabovetheHeaderfield.Namethecreatedheaderifyouwanttosaveitfor
lateruse.
• Footer is s displayed d under the poll and canbe used for companylogo orcontactinformation, forexample.
PreviouslycreatedandstoredfooterscanbeselectedfromthelistabovetheFooterfield.Namethecreatedfooter
ifyouwanttosaveitforlateruse.
• "Thank you"-note will l be e displayed to the respondent when n he/she e has voted if poll l result type e is set t to
“Thank-younote”.Readmoreaboutpollresulttypes.
Pollbuttons
http://www.objectplanet.com/Opinio/
139
YoucanchooseeithertextoranimageforyourVotebutton.
• Buttonlabel:TypeinwhateveryouwanttonametheVotebutton.
• Image:Presstheimagelinkandselectoruploadfortheimageyouwanttouseforthebutton.Seethesection
called“Images”.
Quickquestiontexteditforpolls
Thisfeatureissimilartosurveyquickquestiontextedit.Refertosection“Surveyquickquestiontextedit”.
Quickpollchartedit
Thissectiongivesyouquickaccesstothepollchartdesign.NOTEthatalloftheattributesonthispagecanalsobe
editedfromreportscreen(Pollreport),seechartattributesandreporttexts.
• Chartheadingisthesameasreportheading.andisthetitledisplayedoverthepollchart.
• Charttype.SeeReportcharttypes.
• Chartwidthisthewidth,inpixels,oftheproducedchartimage.
• Chartheightistheheight,inpixels,oftheproducedchartimage.
Customquestionnumbers
Poll customquestionnumbers are similartosurveyquestionnumbers. . Referto o sectionSurveycustomquestion
numbers.
Pollsetup
PollsetupisavailableintheMenuboxonpolladministrationpage.
Pollbehavior
http://www.objectplanet.com/Opinio/
140
Pollresult
• Resulttype.Whentherespondenthasansweredthequestion,andclickedonthevote-button,thevalueselected
determineswhathe/shewillseenext:
• Chartwiththepollsummary.SeeQuickchartedit.
• Thankyounote,setonthepolltextspage.
• Resultdisplaymethod:.Configurehowyouwantthepollresulttobedisplayed:
• Generateonvote.Withthisoption,thepollresultreceivedfromtheserverafterthevote.Usethismethodfor
Thank-younoteifitcontainspipingelements.Usethismethodforpollthechartifyouwantup-todatevote
count.
• Pagereload.Withthisoption,thepageissubmitted,theresultchartisthencalculated,andthesamepageis
displayedwiththechart.ImportanttonotethattheresultwillONLYbevisibleifmultiplevotesareturned
off.Otherwisethepollquestionswillbedisplayedagain.
• Pre-generate.Thisisperhapsthemostelegantsolution,wheretheresultchartiscalculatedbeforethepage
withthepollisdisplayed.Whenthevotebuttonisclicked,theresponsedataissenttotheOpinioserver,and
theresultchartisdisplayedimmediately. Whathappens isactuallyaJavaScriptfunctioncallthatsimply
switchestheviewfromthepollformtothepollchart.IMPORTANT:Theresultisalwaysonebehind,i.e.the
voteforthecurrentrespondentisnotincludedinthechart,becausethechartiscalculatedontheinitialpage
visit.Themethodcanbeusedonhighloadserverswithlargenumberofvotesexpected.
• Popupwindow:Thisoptionwilldisplaythechart/thank-younoteinapopupwindow, , andleavetheform
embeddedinthepageunchanged. The chartwill l beupdatedwith the current respondent. . NOTE thatif
multiplevotesareturnedoff,therespondentwhohavealreadyvotedwillbeseepollresultinthemainpoll
window,becausewe/shehasalreadyvoted.
http://www.objectplanet.com/Opinio/
141
Responsesanddata
• Maximumnumberofvotes:Pollwillbeclosedforvotingifthisnumbersisreached.Pollresultwillbedisplayed
insteadthequestions.Thisfeatureis usefulifonlyalimitednumberofvotesisneeded, andserver/database
resourcesarelimited.Setthisto0forunlimitedvotes.
• Validation: OnlyClient side validation type is supported. . The validity y of response values willbe checked/
verifiedontheclientside(inthebrowser,byJavaScript).Theerrormessagesaredisplayedinapopup-window.
Responsesanddata
Multiplesubmissions
Ifyouchooseno,selectthemethodtopreventmultiplevotes.
• Yes:Thismeansthattherespondentsmayvoteasmanytimesastheywant.
• No:Therespondentisrestrictedtovoteonlyonce.Ifthisoptionisselected,alsospecifyhowyouwantOpinioto
performtherestriction:
• CheckIP-address:TherespondentsIPaddresswillbestoredalongwiththevote.Whenaresponseissaved,
thesystemwillcheckifanotherresponseexistsforthispollwiththesameIPaddress.Ifso,therespondent
willseethepollresultinsteadofquestions.
• Cookies:aresmalldataelementsstoredinthebrowser.Whenapollhasbeenrespondedto,thesystemwill
storeavalueinacookie,indicatingthis.
Multilingual
• Polllanguage:Thedefaultlanguageofthepoll.
Multilingual
Integration
• Custompollid:Thepolllinkcontainsanidthatpointstothepoll.Thisisanumberthatisgeneratedfroma
sequenceofnumbers.ForadvancedHTMLusersitiseasytofindthenumberusedforthepoll.Inthatcasethey
cantrytosetdifferentnumbers(increaseordecreasethepollnumber)andaccessdifferentpolls.Ifyourpollis
confidential,youmightwanttosetthecustomidtosomethingthatisdifficulttoguess.Thepollwillthenbe
unaccessiblebythesequentialnumber.
• SaveURLparameters:ItispossibletospecifyURLparameterstosavewitheachrespondent.Bysettingthispoll
attributeitispossibletoturntheautomaticsavingoftheseURLparameterson/off.Thisisnecessary,becauseit
shouldbepossibletoletapluginhandlethisdata(ifitisnotgoingtobesavedautomatically).Thedefaultvalue
istosavetheparameters("Yes")
Integration
Startandstopdates
Allpolls havestartandstopdates.Thisisusedtocontrolandrestrictresponsestoaspecifiedtimeframe. This
featurecanalsobe usedtoclosethepollimmediately, sinceitis possible tosetthestopdate while thepoll is
http://www.objectplanet.com/Opinio/
142
Documents you may be interested
Documents you may be interested