mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@12845 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6bc6b5912e
commit
18171cca3b
2 changed files with 22 additions and 0 deletions
9
upptst/HTMLClipboard/HTMLClipboard.upp
Normal file
9
upptst/HTMLClipboard/HTMLClipboard.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI";
|
||||
|
||||
13
upptst/HTMLClipboard/main.cpp
Normal file
13
upptst/HTMLClipboard/main.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
String html =
|
||||
"<p style = \"margin:0px 0px 2px 0px;text-indent:0px;text-align:left;color:#be4e45;font-family:serif;font-size:24pt;font-weight:bold;font-style:normal;text-decoration:none;\">\
|
||||
Ultimate++ is a C++ cross-platform rapid application development framework</p>";
|
||||
|
||||
WriteClipboardHTML( html);
|
||||
// then do paste in a word processor, libreoffice writer or winword.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue