Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I am using PSPDFKit to let users highlight text in a document. Is there anyway to get the actual text that was highlighted? So in the following example, I would like to get the text "the good and bad" when the user highlights it.
Looking at the PSAnnotations, I've tried the value and contents properties but neither gives me what I want.
I'm the CEO of PSPDFKit GmbH.
All you need to do is get the PSPDFHighlightAnnotation (e.g. via annotationsForPage:type: in PSPDFDocument and then call highlightedString on it.
Please be aware that this is only an approximation. We only know the position of each individual glyph on the page, and from that, PSPDFKit tries to reconstruct words, lines and text boxes. So highlightedString might not always return 100% what you'd expect, especially if the PDF is not well-designed. But in general, it's quite good.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I've currently created four Attributes on the Field Services Appointment (FS300200) form to show manually entered start and finish kilometres. This field will then flow into Forms and be the basis of reports throughout the system.
FieldServicesAppointment
My problem is, how do I link the CSAnswers to the FSAppointment Table. There doesn't seem to be a logical join. The last time I used this area the RefNoteID and Attribute provided the link. I know that this changed so that most major tables show attributes e.g. STYLE_Attribute. Unfortunately this isn't the case for FSAppointments, FSAppointmentDets (my next guess)
Perhaps I'm misunderstanding, but I just checked this with 2020R1 and FSAppointment.NoteID joined correctly to CSAnswers.REfNoteID
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I have scoured the internet, and although I am fairly sure this just isn't possible yet due to the design of forms by google, but if anyone has a way to do it, be it through running a script or just a clever work around, it would help me so much!
Allow me to break down kind of what I am trying to get done:
I have a spread sheet, with about 600+ entries in it.
I need to take, and populate a form with each question being a row form the spreadsheet, and each question having a blank short-text answer.
I am trying to populate the questions with English phrases, so a third party can easily fill in the spanish translation in the Answer spaces.
I can only find way to populate the Answer with spreadsheet data (by copy pasting a column into multiple choice answer, for example), but I need it to populate the Question, leaving blank answers.
TL:DR I want to be able to make a 600 question form, with each question being populated from a row in my .csv/spreadsheet.
Is this possible? I do feel like I could've worded this question better, if anyone is confused as to what I'm asking please let me know and i will revise!
Thanks
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
How can i create label in below image.
Probably the easiest way would be creating a view (or Xib if you are reusing it), with multiple labels in it. One for each segment of the text:
$ sign
integer part
decimal part
"per year" part
Another way would also be using the Attributed String, like in this example, where the inquirer had a similar problem.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Not sure if this is an issue or not - but I have been searching for days and cannot seem to figure it out!
Any image I try to classify individually using digits seems to run okay. However, when using the "classify many images" button, the network crashes because of the aforementioned title/bug/I don't even know what the hell it is.
I'm entirely new to caffe and DIGITS, and as I said I've spent days googling this problem - and cant seem to figure it out. What is the 5th dimension on the image, and if I do actually have 5D images, how do I convert them to 4D?
Turns out it was a bug - Posted on git and they flagged it officially and patched - to anyone else experiencing this problem, update your DIGITS files
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I need to figure out the time for which an email remains open at the recipient's end.
I can use a 1x1 image to find out if the email has been opened but i can't think of any way in which that would allow me to calculate the time for which the email remains open
Thanks for any help.
This isn't possible.
The closest you can get is by having an image never load. That is, you accept the connection on the server, send the response headers, but don't send any data. The client will disconnect once the e-mail is closed. However, this is extremely problematic. Some clients will never disconnect. Others will timeout. In addition, you have the problem that many won't open the image at all. Finally, this will break many up-stream proxies.
Besides what Brad mentions, the only other I can think to calculate time data is if they click a link in your email. You could track the time between image load (open) and click to give you some engagement data. This would obviously only return results for users who both turn on images and click a link however.
I know Litmus has engagement tracking in their analytics, not sure which technique they use to produce their results, but they only track up to 12-18 seconds.