I have a an idea for a Rebol script I want to write, but for this I need styled editable text.
Does the current Saphirion Rebol 3 build contain the ability for styled editable text?
Saphirion Rebol 3 build allows you to use rich-text dialect so you can make a script with styled editable text.
If your question reffered more to current R3GUI framework (also provided by Saphirion together with R3) then at the moment there is support for rich-text content like:
view [text [bold "Hello" red italic size 20 " world!"]]
but we don't have editable rich-text style(widget) yet. It can be of course developed by anyone who is willing to learn how to make own R3GUI styles.
Related
I have a issue when using TCPDF to edit PDF file. This issue happen on Zend PDF also.
Look at attach image.
Position of text
The green text use css style, it stay center of vertical of green rectangle, the foot of "g" character stay in bottom of green rectangle.
But when I write this text using TCPDF(or Zend PDF) at the same position, the foot of "H" character stay in bottom of green rectangle (not foot of "g" character), that mean the text is outside the box(include "g" character).
Can you explain me why the start position of text using PDF library not same CSS style?
Thank you!
It takes much time to programmatically generate PDF. Much easier way would be using PDF generator that can take HTML as an input.
I'm involved in the project called pdfapi.io https://pdfapi.io. It can convert regular web pages with CSS styles and JavaScript to PDF documents. It also has nice PHP SDK as well.
And if you are using Zend Framework 2 or 3 you can use it as a module: https://github.com/pdfapi/zf2-pdfapi-module
Service is free of charge.
Hope that helps
Does anyone know how to change the defalut WixUI_Font_Title? I don't want to add all the forms to my WiX project just to give their title a new text style.
The WixUI_Font_Title text style is just defined in *.wxs which describe the UI elements, but it is only used in *.wxl files where the titles are kept for various languages. So, if I were you I would go the following way:
define the text style you need in your WiX sources, e.g. WixUI_NewFont_Title
author a custom en-us WXL file, which includes all texts that reference the desired title font
repeat the previous step for each languages you have to support
I'm sure this is just a google search away, but I can't find the right search terms to find what I'm looking for.
I've created a DataPackage that has both HTML annd plain text content. I've used this in my copy and my sharing code and it works fine. I now want to create RTF output as some apps don't seem to accept HTML clipboard content.
I'm looking for a good guide to making RTF text that can be added to the DataPackage. I just need simple formatting including changing the font family, font size, font weight and adding newlines. The data comes from a list of objects taht I want to serialise as RTF, not from a text control on the screen.
WordPad outputs fairly clean RTF and some other text editors do as well. If that's not enough, you can download the RTF Specification 1.9.1 although like any specification that's probably overkill for what you're doing.
You can also use the SaveToStream method on the Document property of a RichEditBox from a Metro style app to share out as well.
I am building a website that will make heavy use of the content editor webparts to allow for content to be added. The drawback to this is that by default the content editor provides a "Rich Text Editor" which is good for adding data but bad because it has the potential to break styling. I have two solutions :
First is to do some coding to somehow have predefined css styles added to the styles menu of the Rich text editor.
Second which should be quicker is to simply disable the Rich text editor i.e disabling the fonts, styles, etc from the Rich Text editor so that users can only enter data and not mess around with the styling.
For soultion two, is this possble and what would be the quickest way to achieve this?
Any assistance is greatly appreciated!
Thanks in advance
The whole point of the rich text editor is to allow the user to enter styled content as they see fit. If you don't want any styling to be applied through the RTE either create style rules in your CSS to overrride anything the user enters or else use content fields based on multiple lines of text rather than rich text.
Core Technology Systems has recently released a how to video on content management on SharePoint 2010. I have included a link to the website which has the link to the video and their YouTube channel.
http://coregb.com/blog/archive/2011/12/01/content-organiser-in-sharepoint2010.aspx
My ipad application has a custom look. It uses text labels extensively for displaying partly colored/shadowed/bold texts. Larger pieces of text may contain numbered lists and embedded Images. There could be couple rich text regions on a single page.
I am not sure that UIWebView is the right tool for displaying strings like:
MyApp title
Hello rich text world
List item
List item
Writing my own text rendering engine looks more sufficient to me than using UIWebView.
Any ideas for lightweight rich text renderer ? c library or custom control ?
I would recommend using TTStyledLabel from the Three20 library. It provides the desired functionally and would save you the time of writing your own.