Is there a plugin for Aloha Editor that would let the user add audio/video files, one like the Media plugin in TinyMCE?
I'm not aware of such a plugin (select & upload video/audio; provide UI for different settings; list available media files) for Aloha Editor.
It's possible to use media files within Aloha Editor -- there is an oEmbed* content handler available -- if you want to insert eg a youtube video you can copy & paste the URL into the editable and the link get replaced with an embedded video.
Images, Videos and Rich Media is possible from those sources: http://embed.ly/providers
*) http://www.oembed.com/
Related
I saw Liferay's WYSIWYG editor has option to copy content from Word. But I notice that the formating (especially headings) don't match and the images are not copied. Is it a known issue?
Does Liferay support integration with any WYSIWYG editor in which I can copy content from word as is without losing the formatting and images?
It is a known issue that will be fixed in Liferay 7.0.0 M1 - see https://issues.liferay.com/browse/LPS-29493 .
Liferay uses CK Editor, which can copy the Word content including styles. CK Editor needs to be configured to preserve the styles. The options are:
pasteFromWordRemoveFontStyles - http://docs.ckeditor.com/#%21/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles
pasteFromWordRemoveStyles - http://docs.ckeditor.com/#%21/api/CKEDITOR.config-cfg-pasteFromWordRemoveStyles
To preserve the styles in Liferay 6.2, you need to create a JSP hook and customize the configuration of the editor.
To test the functionality without the hook, you can open any web content article and modify the configuration of the current CK Editor instance. Run the following commands in JavaScript console of your browser:
CKEDITOR.instances['_15_articleContent'].config.pasteFromWordRemoveStyles = false;
CKEDITOR.instances['_15_articleContent'].config.pasteFromWordRemoveFontStyles = false;
Pay attention to the HTML source of the copied document - there will be a lot of inlined styles. It may now be exactly what you want. You may need some additional processing to clean up the document. That would mean another hook.
Is it possible to disable the copy option of the lib when selecting a text in the PDF using the PDFTron lib for Android?
I tried to search for the string, but also have not found it.
If you are using one of the mobile SDK's, or using our PDFViewWPF control for .Net 4+, then this is possible by modifying the tools code that is provided. There will one or two text selection tools, for which you can just comment out. Plus you would want to disable ctrl-c, and right click and select copy abilities. Exact code changes depends on platform. If you are using our older C++ PDFViewCtrl class this is harder to do, but I suspect you are not on this anyway.
Be aware though, there is no real way to prevent a user from extracting text from a PDF, since they can always open it in another PDF viewer and do it there.
See this form post for more info, including how to scramble the unicode values of text.
https://groups.google.com/forum/#!searchin/pdfnet-sdk/disable$20text/pdfnet-sdk/luWQmyhRDTw/z7UIGuu9uYkJ
Note, you will probably be interested in the PDFTron WebViewer technology, which provides much greater control over content. In particular, the original PDF file is never exposed to anyone for download. You can also encrypt the XOD file, so it cannot be opened in an XPS viewer, and you have full control over the UI, including disabling text search/extraction.
https://www.pdftron.com/webviewer/showcase/
https://www.pdftron.com/webviewer/index.html
I want to create a desktop application, whose functioning is as follows :
1. user opens a pdf file in the form
2. then, it gets opened up on the UI. After that, user performs certain editing using mouse
like drawing a rectangle, crossing a certain region (similar to paint)
3. Then, after doing all the editing, he saves that file into another pdf (edited one)
I am doing it in c#. Can you suggest, how to do it ?
This may get handy,
How to write a PDF editor?
iText ® is a library that allows you to create and manipulate PDF documents. It enables developers looking to enhance web- and other applications with dynamic PDF document generation and/or manipulation.
Developers can use iText to:
Serve PDF to a browser
Generate dynamic documents from XML files or databases
Use PDF's many interactive features
Add bookmarks, page numbers, watermarks, etc.
Split, concatenate, and manipulate PDF pages
Automate filling out of PDF forms
Add digital signatures to a PDF file
iText is available in Java as well as in C#.
PDFsharp is the Open Source library that easily creates PDF documents from any .NET language.
The same drawing routines can be used to create PDF documents, draw on the screen, or send output to any printer.
It can use either GDI+ or WPF.
It includes support for Unicode in PDF files.
It also includes MigraDoc Foundation which brings you all the high-level functionality not included in PDFsharp.
I am looking to find a non-flash based audio plugin for ckeditor. I tried making my own custom plugin but was unsuccessful..I would much rather prefer to find a pre-made plugin.
Ideally, I would like to upload an mp3 and be able be able to place on page with a non- flash based player ( js,jquery, ect.. ).
I am trying to move away from flash as much as possible for optimum mobile compatibility.
Current setup = ckeditor + ckeditor
http://ckeditor.com/addon/Audio
check this out if you still need it
I need to change the soundtrack properties (movie properties tool in QT 7 pro) for a whole bunch of video files. The process would be:
in movie properties click on sound track
and then change the assignment of each audio channel from Mono to "center"
save the file(s)
I am completely unexperienced with Applescript but would it be possible to have a script that would automate that process so I can apply it to all the files without having to do it manually on each QT file?
Quicktime's Applescript support is very limited and the Dictionary only provides access to the most basic of functions (e.g., new movie, play, stop). File settings and properties are not exposed via the Applescript API. There might be something in the Cocoa frameworks, though that's a guess on my part.