Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I had explored for a PDF Reader in iOS. I found out 2 useful libraries, Leaves PDF Reader and VFR - PDF Reader from Github. But am having issues with these two libraries.
In the case of Leaves PDF Reader, I had integrated it with my application. If I did pinch zooming, the page will be zooming. But the texts in the pages will be blurred and could read it out.
In the case of PDF Reader from Github, it's a fully functional library. I like this reader most when compared to Leaves PDF Reader. But this library will render the PDF's perfectly if the PDF is taken from the bundle folder of the application. In my case, I wanted to integrate this with a newsstand application. So the downloading PDF's are stored in a cache library which is predefined for Newsstand application's library folder. If I gave this path as input to the PDF Reader library, the application got crashed. So I copied the PDF file from the newsstand library path to a NSDocument directory folder. Still the issue is same. This library render the PDF only if the PDF's are kept in the Bundle folder.
Can anybody help me in any of the above case.
Thanks in advance
You can use the document viewer. This works fine for all type of files.
http://developer.apple.com/library/ios/#samplecode/DocInteraction/Introduction/Intro.html
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for a sample project which should have basic rich text editing features (Bold,Italic,Underline,Alignment,Attaching images).
I went through Google search results there are several editors available for iOS but those all are developed by using UIWebView with HTML. I am looking for the one which developed by using UITextView along with new features in iOS 6 and 7(NSAttributedString, NSTextattAchment)
Can please guide me if you know any open source code or tutorial?
Thanks in advance!
There no sample project for rich text that available on iOS Dev website, However if you like a UITextView implementation there few open-source alternatives such as iOS-Rich-Text-Editor and FastTextView.
iOS-Rich-Text-Editor
RichTextEditor for iPhone & iPad that supports loads of extra such as Bold, Italic, Underline, StrikeThrough, Font, Paragraph Indent/Outdent etc. Check the example its uses UITExtview.
FastTextView
EGOTextView is a complete drop in replacement for UITextView, that adds support for Rich Text Editing.
You should read SECoreTextView supported almost above also select, copy, paste
https://github.com/kishikawakatsumi/SECoreTextView
Apple used to have a CoreText sample project and when TextKit launched they had a sample project for that too. You can't search from them through the normal document library you need to use the legacy library
You can however checkout the textView part of the UICatelog and that should get you started. It is a textview with attributed text and is fully editable.
Also have a read through the text programming guide.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have added mobile core services framework many times in my applications but i don't know what is the actual use of this framework.
From apple site i fond only one line explanation:
-------Mobile Core Services Framework-----
The Mobile Core Services framework (MobileCoreServices.framework) defines the low-level types used in uniform type identifiers (UTIs).
For more information about the types defined by this framework, see Uniform Type Identifiers Reference.
So i want to know what type of functionality i can achieve by using this framework.
Please send me the Mobile Core Services Framework use-list.
Regards.......
As described in the answer for a question similar to yours:
The times you need to use UTIs is if you're sharing files between
applications. You'll need to use UTIs to open files downloaded from
Safari or Mail or transferred to the device through iTunes. You'll
also need UTIs if you'd like to send data to another app, like Mail or
to transferred to a computer through iTunes.
And, as Apple describes it, you can use UTI's to describe an entire class of entities with a type (such as the format for files).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have come across many demo's of Markdown editors demonstrating live preview eg:
http://daringfireball.net/projects/markdown/dingus
http://dillinger.io/
http://www.markitdown.net/markdown
http://epiceditor.com/
http://hallojs.org/demo/markdown/
But I haven't been able to find much searching for AsciiDoc Editor live preview.
I have come across articles on setting up such functionality eg:
http://asciidoctor.org/docs/editing-asciidoc-with-live-preview/
but I am really just after some online demo's, are there any out there?
The AsciiDoctor.js Live Preview browser extension may suit your needs:
Render AsciiDoc (.ad, .adoc, .asc, .asciidoc) as HTML inside Chrome!
Install it for either Chrome or FireFox.
For Chrome, you'll likely want to enable Allow access to local file URLs under the extension options.
Then either point your browser at a remote AsciiDoc URL or create a new file locally (e.g. helloworld.adoc), enter some text in it with your favourite editor, and then point your browser to it (e.g. file:///home/leif/helloworld.adoc).
This might be what you're looking for https://github.com/lordofthejars/asciidoctor-markitup, with corresponding video demo http://youtu.be/PEvvwNc1kU8.
There is indeed only very sparse support there. For plain asciidoc support you can also use syntax highligting for gedit: http://kenjiru.ro/blog/2011/10/asciidoc-highlight-for-gedit
But in case you like experimental software: I've written a live converting asciidoc http server in python which you can access here: https://github.com/pypp/asciidoc_http_server.
(On the pro side you can easily give access to your asciidoc-files via web)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm searching for a library to edit already existing PDF's and add a watermark to each page, for example. Could also be blank every other page etc.
There seem to be a few PDF libraries out there, but only very few of them can edit existing PDF's and I'm a bit lost on which way to go.
Any recommendations?
Thank you.
You may want to think about using a java library through jruby. I'm not hearing a lot of good things about the PDF libraries for ruby.
Something to think about if you are getting desperate.
I have a prawn branch that has this functionality. Unfortunately it's yet to be merged upstream, but I'm hopeful it will happen soon. For more information, try searching the prawn google group for "templates".
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
can anyone suggest an editor component like RichEdit that supports embedding photos in a delphi app? RichEdit doesn't seem to support this.
am not considering embedding MS Word since not everyone would have that.
than you for your help!
I recomend TRichView http://www.trichview.com/.
I did work with WPTools for long time, but recently I found TRichView a lot more simple to use.
AFAIR the TrxRichEdit from rxlib supported embedding pictures. Since rxlib was incorporated into the jvcl, I guess TJvRichEdit should as well.
I think it should work when you insert bmp files. Other image files are not supported. Maybe you can convert your images to a bitmap first?
If you don't mind paying for a component library, I recommend WP Tools. They have extensive support for document formatting (including inserting images) and provide their library as native VCL package (so you don't have the "what version of Word" conversation).