Scaling of text outlines in svg format
I'm in need of a solution for scaling text outlines in an svg format. I'm working on developing a Flash app that allows users to type in Flash text with an outline that is then exported out in an svg format. When user then scales the resulting svg formatted file the outline scales in proportion to the text size.Similar to what Illustrator does in it's app preferences, "Scaling Strokes & Effects".Thanks for any ideas anyone has!
Hi:
No, I get no erros.
Here is the call that I make on Element Attribute:
onkeyup="this.value=formatCurrency(this.value);"
And here is my javascript that is in the page header:
<SCRIPT LANGUAGE="JavaScript">
ript.internet.com -->
<!-- Begin
function formatCurrency(num) {
num = num.toString().replace(/\R|\,/g,'');
if(isNaN(num))
num = "0";
sign = (num == (num = Math.abs(num)));
num = Math.floor(num*100+0.50000000001);
cents = num%100;
num = Math.floor(num/100).toString();
if(cents<10)
cents = "0" + cents;
for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
num = num.substring(0,num.length-(4*i+3))+','+
num.substring(num.length-(4*i+3));
return (((sign)?'':'-') + num + '.' + cents);
// End -->
</script>
Regards,
Bruce
Similar Messages
-
Can we print header text in a tabular format...? urgent
Hi,
In the below program i need the text type payment history in a proper format.so plz help me regarding this.
this a just a test program,you just execute this program.its running.
i am feching the text payment history using the function module READ_TEXT.
GO TO (T.CODE IS VA42).-> GIVE A CONTARCT NUMBER THEN TEXT TYPE IS PAYMENT HISTORY. UNDER THIS TEXT TYPE WE HAVE ATEXT LIKE THIS:
Due date Invoice Amount Invoice no. Status Timing
8/1/2005 2,486.667.00 9887767798 Paid sept-Dec 05
12/1/2005 2,567,778.00 987662156 paid Jan-apr 06
i fectch all this by using read_text function module in the table t_item.(plz see in below program)
now the requirement is we want to print this payment history text as a proper format i.e in a tabular format...so is it possible....
actualy, we r not printing in the output screen.
we generate a flat file in this payment history is printed as a tabulr format.
can it is possible...if it plz reply me.
REPORT YTEST_ADD_DAYS_TO_DATE .
TABLES :tline.
TABLES :
vbrk,
vbrp,
vbpa,
kna1.
CONSTANTS :
c_re TYPE vbpa-parvw VALUE 'RE' . "Bill-to-Party
data: l_flag type c value cl_abap_char_utilities=>horizontal_tab.
*parameters: new_date type sy-datum.
data: timing type sy-datum.
*new_date = new_date + 31 .
*write: / new_date.
*CALL FUNCTION '/BEV4/PLPS__ADD_MONTH_TO_DATE'
EXPORTING
months = '01'
olddate = '20070101'
IMPORTING
NEWDATE = timing.
Write : / timing .
write: / sy-datum . .
CONSTANTS :
c_vbbk TYPE thead-tdobject VALUE 'VBBK' ,
c_zi03 TYPE thead-tdid VALUE 'ZI03' .
Types:
BEGIN OF ty_item ,
Pay_history(1000) TYPE c ,
END OF ty_item .
DATA :
t_item TYPE STANDARD TABLE OF ty_item ,
w_item TYPE ty_item ,
lt_item TYPE ty_item ,
t_tline TYPE STANDARD TABLE OF tline ,
w_tline TYPE tline ,
t_tlines TYPE STANDARD TABLE OF tline-tdline ,
w_tlines TYPE tline-tdline .
Type Definition *
Invoice header and item table
TYPES :
BEGIN OF ty_vbrk ,
vbeln TYPE vbrk-vbeln , " Billing Document
fkart TYPE vbrk-fkart , " Billing type
fkdat TYPE vbrk-fkdat , " Billing Date
zterm TYPE vbrk-zterm , " Payment key
netwr TYPE vbrk-netwr , " Amount due
END OF ty_vbrk ,
BEGIN OF ty_vbrp ,
vbeln TYPE vbrp-vbeln , "Billing Document
posnr TYPE vbrp-posnr ,
vgbel TYPE vbrp-vgbel ,
vgpos TYPE vbrp-vgpos ,
aubel TYPE vbrp-aubel , " Sales Document
aupos TYPE vbrp-aupos ,
matnr TYPE vbrp-matnr ,
arktx TYPE vbrp-arktx ,
END OF ty_vbrp ,
Partner table
BEGIN OF ty_vbpa ,
vbeln TYPE vbpa-vbeln , " Document#
posnr TYPE vbpa-posnr ,
parvw TYPE vbpa-parvw , " Partner funtion
kunnr TYPE vbpa-kunnr , " Customer#
END OF ty_vbpa ,
Customer master table
BEGIN OF ty_kna1 ,
kunnr TYPE kna1-kunnr ,
name1 TYPE kna1-name1 ,
ort01 TYPE kna1-ort01 ,
pstlz TYPE kna1-pstlz ,
regio TYPE kna1-regio ,
stras TYPE kna1-stras ,
END OF ty_kna1 ,
****Payment terms table
BEGIN OF ty_tvzbt ,
spras TYPE tvzbt-spras ,
zterm TYPE tvzbt-zterm ,
vtext TYPE tvzbt-vtext ,
END OF ty_tvzbt ,
BEGIN OF ty_t052 ,
zterm TYPE t052-zterm ,
ztag1 TYPE t052-ztag1 ,
END OF ty_t052 ,
****Document flow table
BEGIN OF ty_vbfa ,
vbelv TYPE vbfa-vbelv , " Contract number
posnv TYPE vbfa-posnv ,
vbeln TYPE vbfa-vbeln ,
posnn TYPE vbfa-posnn ,
vbtyp_n TYPE vbfa-vbtyp_n ,
END OF ty_vbfa,
***Contract Data table
BEGIN OF ty_veda ,
vbeln TYPE veda-vbeln ,
vposn TYPE veda-vposn ,
vbegdat TYPE veda-vbegdat ,
venddat TYPE veda-venddat ,
END OF ty_veda .
Data Declaration *
DATA :
t_vbrk TYPE STANDARD TABLE OF ty_vbrk ,
w_vbrk TYPE ty_vbrk ,
t_vbrp TYPE STANDARD TABLE OF ty_vbrp ,
w_vbrp TYPE ty_vbrp ,
t_vbpa TYPE STANDARD TABLE OF ty_vbpa ,
w_vbpa TYPE ty_vbpa ,
t_kna1 TYPE STANDARD TABLE OF ty_kna1 ,
w_kna1 TYPE ty_kna1 ,
t_tvzbt TYPE STANDARD TABLE OF ty_tvzbt ,
w_tvzbt TYPE ty_tvzbt ,
t_veda TYPE STANDARD TABLE OF ty_veda ,
w_veda TYPE ty_veda ,
t_vbfa TYPE STANDARD TABLE OF ty_vbfa ,
w_vbfa TYPE ty_vbfa ,
t_t052 TYPE STANDARD TABLE OF ty_t052 ,
w_t052 TYPE ty_t052 .
DATA :
ld_output TYPE btcxpm OCCURS 0 WITH HEADER LINE,
ld_status TYPE extcmdexex-status ," #EC NEEDED
w_underscore TYPE c VALUE '_' ,
doa0001(50) TYPE c . " Invoice Dataset
Selection-Screen
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_vbeln FOR vbrk-vbeln. "Billing Doc No
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_fkdat FOR vbrk-fkdat . "Billing Date
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_fkart FOR vbrk-fkart. " Invoive type
SELECTION-SCREEN END OF BLOCK blk1.
Start of initialization *
INITIALIZATION.
RANGES :
r_parvw FOR vbpa-parvw."Range table for partner function
CLEAR :
r_parvw .
r_parvw-sign = 'I'.
r_parvw-option ='EQ'.
r_parvw-low = c_re .
APPEND r_parvw .
End of Initialization *
START-OF-SELECTION .
SELECT vbeln
fkart
fkdat
zterm
netwr
FROM vbrk
INTO TABLE t_vbrk
WHERE vbeln IN s_vbeln
AND fkart IN r_fkart
AND fkdat IN s_fkdat .
IF t_vbrk[] IS INITIAL .
MESSAGE I005 .
EXIT .
ENDIF .
SELECT vbeln
parvw
kunnr
FROM vbpa
INTO TABLE t_vbpa
FOR ALL ENTRIES IN t_vbrk
WHERE vbeln = t_vbrk-vbeln
AND parvw IN r_parvw .
SELECT kunnr
name1
ort01
pstlz
regio
stras
FROM kna1
INTO TABLE t_kna1
FOR ALL ENTRIES IN t_vbpa
WHERE kunnr = t_vbpa-kunnr .
SORT t_kna1 BY kunnr .
DELETE ADJACENT DUPLICATES FROM t_kna1 .
SELECT spras
zterm
vtext
FROM tvzbt
INTO TABLE t_tvzbt
FOR ALL ENTRIES IN t_vbrk
WHERE spras = 'EN'
AND zterm = t_vbrk-zterm .
SELECT zterm
ztag1
FROM t052
INTO TABLE t_t052
FOR ALL ENTRIES IN t_vbrk
WHERE zterm = t_vbrk-zterm .
SELECT vbelv
posnv
vbeln
posnn
vbtyp_n
FROM vbfa
INTO TABLE t_vbfa
FOR ALL ENTRIES IN t_vbrk
WHERE vbeln = t_vbrk-vbeln .
AND vbtyp_n = 'M' .
SELECT vbeln
vposn
vbegdat
venddat
FROM veda
INTO TABLE t_veda
FOR ALL ENTRIES IN t_vbfa
WHERE vbeln = t_vbfa-vbelv .
AND vposn = t_vbfa-posnv .
data: w_name TYPE thead-tdname.
LOOP AT t_vbfa INTO w_vbfa .
w_name = w_vbfa-vbelv.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = c_zi03
language = sy-langu
name = w_name
object = c_vbbk
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = t_tline
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5 .
LOOP AT t_tline INTO w_tline.
split w_tline-tdline at l_flag into table t_tlines .
IF NOT t_tlines[] IS INITIAL .
LOOP AT t_tlines INTO w_tlines .
w_item-pay_history = w_tlines .
APPEND w_item TO t_item .
write: / w_item.
ENDLOOP .
ENDIF .
ENDLOOP .
ENDLOOP .
SPLIT w_tline-tdline AT ',' INTO TABLE t_tlines .
IF NOT t_tlines[] IS INITIAL .
LOOP AT t_tlines INTO w_tlines .
w_item-pay_history = w_tline .
APPEND w_item TO t_item .
ENDLOOP .
ENDIF .
ENDLOOP .
write: / w_item.Hi,
Tcode SO10 can be used to attach standard text in sapscript.
For formatting, plz check the below link
Standard text editor SO10 -
Can we print header text in a tabular format
Hi,
In the below program i need the text type payment history in a proper format.so plz help me regarding this.
this a just a test program,you just execute this program.its running.
i am feching the text payment history using the function module READ_TEXT.
GO TO (T.CODE IS VA42).-> GIVE A CONTARCT NUMBER THEN TEXT TYPE IS PAYMENT HISTORY. UNDER THIS TEXT TYPE WE HAVE ATEXT LIKE THIS:
Due date Invoice Amount Invoice no. Status Timing
8/1/2005 2,486.667.00 9887767798 Paid sept-Dec 05
12/1/2005 2,567,778.00 987662156 paid Jan-apr 06
i fectch all this by using read_text function module in the table t_item.(plz see in below program)
now the requirement is we want to print this payment history text as a proper format i.e in a tabular format...so is it possible....
actualy, we r not printing in the output screen.
we generate a flat file in this payment history is printed as a tabulr format.
can it is possible...if it plz reply me.
REPORT YTEST_ADD_DAYS_TO_DATE .
TABLES :tline.
TABLES :
vbrk,
vbrp,
vbpa,
kna1.
CONSTANTS :
c_re TYPE vbpa-parvw VALUE 'RE' . "Bill-to-Party
data: l_flag type c value cl_abap_char_utilities=>horizontal_tab.
*parameters: new_date type sy-datum.
data: timing type sy-datum.
*new_date = new_date + 31 .
*write: / new_date.
*CALL FUNCTION '/BEV4/PLPS__ADD_MONTH_TO_DATE'
EXPORTING
months = '01'
olddate = '20070101'
IMPORTING
NEWDATE = timing.
Write : / timing .
write: / sy-datum . .
CONSTANTS :
c_vbbk TYPE thead-tdobject VALUE 'VBBK' ,
c_zi03 TYPE thead-tdid VALUE 'ZI03' .
Types:
BEGIN OF ty_item ,
Pay_history(1000) TYPE c ,
END OF ty_item .
DATA :
t_item TYPE STANDARD TABLE OF ty_item ,
w_item TYPE ty_item ,
lt_item TYPE ty_item ,
t_tline TYPE STANDARD TABLE OF tline ,
w_tline TYPE tline ,
t_tlines TYPE STANDARD TABLE OF tline-tdline ,
w_tlines TYPE tline-tdline .
Type Definition *
Invoice header and item table
TYPES :
BEGIN OF ty_vbrk ,
vbeln TYPE vbrk-vbeln , " Billing Document
fkart TYPE vbrk-fkart , " Billing type
fkdat TYPE vbrk-fkdat , " Billing Date
zterm TYPE vbrk-zterm , " Payment key
netwr TYPE vbrk-netwr , " Amount due
END OF ty_vbrk ,
BEGIN OF ty_vbrp ,
vbeln TYPE vbrp-vbeln , "Billing Document
posnr TYPE vbrp-posnr ,
vgbel TYPE vbrp-vgbel ,
vgpos TYPE vbrp-vgpos ,
aubel TYPE vbrp-aubel , " Sales Document
aupos TYPE vbrp-aupos ,
matnr TYPE vbrp-matnr ,
arktx TYPE vbrp-arktx ,
END OF ty_vbrp ,
Partner table
BEGIN OF ty_vbpa ,
vbeln TYPE vbpa-vbeln , " Document#
posnr TYPE vbpa-posnr ,
parvw TYPE vbpa-parvw , " Partner funtion
kunnr TYPE vbpa-kunnr , " Customer#
END OF ty_vbpa ,
Customer master table
BEGIN OF ty_kna1 ,
kunnr TYPE kna1-kunnr ,
name1 TYPE kna1-name1 ,
ort01 TYPE kna1-ort01 ,
pstlz TYPE kna1-pstlz ,
regio TYPE kna1-regio ,
stras TYPE kna1-stras ,
END OF ty_kna1 ,
****Payment terms table
BEGIN OF ty_tvzbt ,
spras TYPE tvzbt-spras ,
zterm TYPE tvzbt-zterm ,
vtext TYPE tvzbt-vtext ,
END OF ty_tvzbt ,
BEGIN OF ty_t052 ,
zterm TYPE t052-zterm ,
ztag1 TYPE t052-ztag1 ,
END OF ty_t052 ,
****Document flow table
BEGIN OF ty_vbfa ,
vbelv TYPE vbfa-vbelv , " Contract number
posnv TYPE vbfa-posnv ,
vbeln TYPE vbfa-vbeln ,
posnn TYPE vbfa-posnn ,
vbtyp_n TYPE vbfa-vbtyp_n ,
END OF ty_vbfa,
***Contract Data table
BEGIN OF ty_veda ,
vbeln TYPE veda-vbeln ,
vposn TYPE veda-vposn ,
vbegdat TYPE veda-vbegdat ,
venddat TYPE veda-venddat ,
END OF ty_veda .
Data Declaration *
DATA :
t_vbrk TYPE STANDARD TABLE OF ty_vbrk ,
w_vbrk TYPE ty_vbrk ,
t_vbrp TYPE STANDARD TABLE OF ty_vbrp ,
w_vbrp TYPE ty_vbrp ,
t_vbpa TYPE STANDARD TABLE OF ty_vbpa ,
w_vbpa TYPE ty_vbpa ,
t_kna1 TYPE STANDARD TABLE OF ty_kna1 ,
w_kna1 TYPE ty_kna1 ,
t_tvzbt TYPE STANDARD TABLE OF ty_tvzbt ,
w_tvzbt TYPE ty_tvzbt ,
t_veda TYPE STANDARD TABLE OF ty_veda ,
w_veda TYPE ty_veda ,
t_vbfa TYPE STANDARD TABLE OF ty_vbfa ,
w_vbfa TYPE ty_vbfa ,
t_t052 TYPE STANDARD TABLE OF ty_t052 ,
w_t052 TYPE ty_t052 .
DATA :
ld_output TYPE btcxpm OCCURS 0 WITH HEADER LINE,
ld_status TYPE extcmdexex-status ," #EC NEEDED
w_underscore TYPE c VALUE '_' ,
doa0001(50) TYPE c . " Invoice Dataset
Selection-Screen
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_vbeln FOR vbrk-vbeln. "Billing Doc No
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_fkdat FOR vbrk-fkdat . "Billing Date
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_fkart FOR vbrk-fkart. " Invoive type
SELECTION-SCREEN END OF BLOCK blk1.
Start of initialization *
INITIALIZATION.
RANGES :
r_parvw FOR vbpa-parvw."Range table for partner function
CLEAR :
r_parvw .
r_parvw-sign = 'I'.
r_parvw-option ='EQ'.
r_parvw-low = c_re .
APPEND r_parvw .
End of Initialization *
START-OF-SELECTION .
SELECT vbeln
fkart
fkdat
zterm
netwr
FROM vbrk
INTO TABLE t_vbrk
WHERE vbeln IN s_vbeln
AND fkart IN r_fkart
AND fkdat IN s_fkdat .
IF t_vbrk[] IS INITIAL .
MESSAGE I005 .
EXIT .
ENDIF .
SELECT vbeln
parvw
kunnr
FROM vbpa
INTO TABLE t_vbpa
FOR ALL ENTRIES IN t_vbrk
WHERE vbeln = t_vbrk-vbeln
AND parvw IN r_parvw .
SELECT kunnr
name1
ort01
pstlz
regio
stras
FROM kna1
INTO TABLE t_kna1
FOR ALL ENTRIES IN t_vbpa
WHERE kunnr = t_vbpa-kunnr .
SORT t_kna1 BY kunnr .
DELETE ADJACENT DUPLICATES FROM t_kna1 .
SELECT spras
zterm
vtext
FROM tvzbt
INTO TABLE t_tvzbt
FOR ALL ENTRIES IN t_vbrk
WHERE spras = 'EN'
AND zterm = t_vbrk-zterm .
SELECT zterm
ztag1
FROM t052
INTO TABLE t_t052
FOR ALL ENTRIES IN t_vbrk
WHERE zterm = t_vbrk-zterm .
SELECT vbelv
posnv
vbeln
posnn
vbtyp_n
FROM vbfa
INTO TABLE t_vbfa
FOR ALL ENTRIES IN t_vbrk
WHERE vbeln = t_vbrk-vbeln .
AND vbtyp_n = 'M' .
SELECT vbeln
vposn
vbegdat
venddat
FROM veda
INTO TABLE t_veda
FOR ALL ENTRIES IN t_vbfa
WHERE vbeln = t_vbfa-vbelv .
AND vposn = t_vbfa-posnv .
data: w_name TYPE thead-tdname.
LOOP AT t_vbfa INTO w_vbfa .
w_name = w_vbfa-vbelv.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = c_zi03
language = sy-langu
name = w_name
object = c_vbbk
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = t_tline
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5 .
LOOP AT t_tline INTO w_tline.
split w_tline-tdline at l_flag into table t_tlines .
IF NOT t_tlines[] IS INITIAL .
LOOP AT t_tlines INTO w_tlines .
w_item-pay_history = w_tlines .
APPEND w_item TO t_item .
write: / w_item.
ENDLOOP .
ENDIF .
ENDLOOP .
ENDLOOP .
SPLIT w_tline-tdline AT ',' INTO TABLE t_tlines .
IF NOT t_tlines[] IS INITIAL .
LOOP AT t_tlines INTO w_tlines .
w_item-pay_history = w_tline .
APPEND w_item TO t_item .
ENDLOOP .
ENDIF .
ENDLOOP .
write: / w_item.Now answering newmacguru...
1. Why I want text to appear as an image?
Sometimes the graphical result is important. Most of the times, if you use a white or bright page background, what you see in iWeb is almost the same you see when browsing the page. No problem! But if the page background is black or dark, what you see when browsing the page can be different from what you see when developing the page with iWeb. And these differences can be important... Now if you tell iWeb to convert text to images, the result will be exactly the same you see in iWeb (the result you want).
Let me show you an example. This page was published with iWeb 1.0.1. In this case all text boxes were converted to images and the result you see is exactly what I want. Normally I choose opacity of 80% in the text color to reduce the contrast between text and background (this is the graphical result I most like):
http://clientes.netvisao.pt/3ebt2006/iweb/TesteTexto101/
Now if you publish the page with iWeb 1.1.1/1.1.2 the result is the same for both, but different from the pages obtained with iWeb 1.0.1. I only get the result I want if the text is converted to an image (using shadow). You can also see that with a white background you get good results even if the text remains text:
http://clientes.netvisao.pt/3ebt2006/iweb/TesteTexto111/
http://clientes.netvisao.pt/3ebt2006/iweb/TesteTexto112/
Thanks for the suggestion of the shadow. Sometimes using a non web safe font is not a solution, remember I want “that” graphical result...
2. Now, considering the search engines, I think I read in this forum that the search engines can do is work, even if text is converted to images, because the text still remains in the page (sorry I don’t remember where).
Sorry for my english...
Power Mac G4 - 867MHz Mac OS X (10.3.9) -
How can u insert and retrieve text files in any format using forms6i.
how can u insert and retrieve text files in any format using forms6i.
can u give me an example of an insert statement, let's assume the file is located in the a:drive.
and retrieving the files, i would give the user a list of all the files that are in the database, the user would select one, but what command(or piece of code) would open the file in its apppropriate editor.
e.g .pdf formatted file would open in acrobat.
any help would be appreciated.
Thanks
Hussein Saigerthe filereference class is for downloading and uploading files.
if you want to load xml, use the xml class.
and, if you want to write to an xml file and don't want to use server-side code, wait. -
Standard Text doesnt contain correct format of Text in Recruitment
Hi Experts,
Please throw some light on this While performing Recruitment Activities : Prepare to Hire or Rejection I can see Standard Text doesnt contain correct format of Script But record can be created. what would be the cause I googled it and searched in SDN forums I didnt find any I appreciate your quick reply
Edited by: My SAP Cronies on Jan 13, 2012 8:54 PMHi,
Thanks for your input
Please apply the java patch SP 22 patch 50.
Java Patch
===========
Please Goto
->service.sap.com/swdc
->Download
->Entry by application group
->SAP NetWeaver and complementary products
->SAP NETWEAVER
->SAP NETWEAVER 7.0
->Entry by Component
->Click on BI java
BI BASE SERVICES 7.00 (#OS independent)
- BIBASES22P_50-10003477.SCA Patch for BI BASE SERVICES 7.00 SP22 50
and
BI WEB APPLICATIONS 7.00 (#OS independent)
- BIWEBAPP22P_50-10003476.SCA Patch for BI WEB APPLICATIONS 7.00 SP22 50
Please check.
Thanks,
venkat -
in a rich textarea like this i submit now but in CFML 9 , textarea text come to me formatted with tags ?
The richText attribute was added to the cftextarea tag in Coldfusion 8. You could use htmlEdtFormat() to escape the tags before storing the string in the database, for example, like this
<cfif isdefined("form.sbmt")>
<cfset message = form.msg>
<cfset msgForDatabase = htmlEditFormat(message)>
<!--- code to store message in database --->
</cfif>
<cfform action="#cgi.SCRIPT_NAME#">
<cftextarea name="msg" richText="true"></cftextarea>
<cfinput type="submit" name="sbmt" value="send">
</cfform> -
Hi,
Is it possible to display SVG format map generated by MapViewer through Jdeveloper / embedded oc4j?
Thanks,
ShoutongMaybe this sample can help:
http://andrejusb-samples.blogspot.com/2007/01/jdevadf-sample-spatially-enabled-adf.html -
Ability to paste text "content" and not formatting
I'd like to be able to copy text and paste it over other text without pasting the formatting.
E.g. I have 2 point text objects, both have different appearances.
If I highlight the text from the first and paste it over the second, the appearance gets pasted as well.
I'd like to be able to keep the second object's appearance intact.
Hate to bring up Corel DRAW again, but Corel lets you do what I'm asking for.
Seems to me if you want to copy some text and include its appearance then you'd just duplicate the whole object.
But if I use the Text Tool and highlight the text and then copy, it does the same exact thing.
Knowhattamean?I agree. This option is very often needed. On the base and they know that the other teams Adobe.
I understand that sometimes it is better not to move the code small reasons, because this could in turn introduces big problems.
Code was an old, complicated, and probably very few people knew of what they exactly consist.
But now that he is re-written 64-bit such things should be immediately implemented.
I need this to not think about Ilustartor as a separate, backward planet of Adobe.
Regards for All! -
So I was told to create a story book illustration (as seen on my first post) and convert it to an svg format. My boss, upon checking the file told me that the svg file I made was just an embedded picture and that's not what he wants. I don't really get the svg format so can someone help me? My boss goes to the files codes and says that it's just an embedded png pic or something. I find it weird because I "save as" the work on the Illustrator itself and is not embedding anything else. Can anyone please explain to me how this whole svg file works? How will I know if it's not an embedded pic like what my boss says?
Thanks in advance.You can redraw the entire scene and use flat shapes where your fuzzy edges are small and "stroke-like" (like in her hair, dress, and boots, the house roof and fence- anything highly-detailed), you can also use several shapes to get the non-round rocks in a purposefully-banded type of posterized effect, so they won't be smooth but with consistency they can give the eye a good illusion. And for items which are needing to be fuzzy and round, you may be able to use shapes with gradients inside them. For the trees, you may want to change them to have a radial gradient with dark-green outside and shift it so they look more lit from one side, and add some leave shapes for symbolic texture. This may be a complicated process of setting up the gradients just right, but it's going to let you scale the image. When you're done and save as SVG, open that Svg in a browser and zoom in to see what items got added well. If you open up one of your svgs which use a mesh, you will most likely see pixels when zooming in, that's because browsers don't read AI's gradient meshes and can't display them as such, so AI converts the meshes to images and the svg has a bunch of embedded pictures which do not scale like vectors. Even though you may be able to zoom in quite far and not see a big quality difference in your meshes which have very smooth gradation, each embedded image takes up a lot of space within the file as base64 encoded image date (if you saved with images embedded). Otherwise, if you saved with images linked, those created images will be put into a parent folder of your svg file, and the shapes inside the svg will link to those images. If you save your red riding hood in this manner, you may see a whole lot of those, and take note of the file size of each.
-
Enhancing all standard texts to accept HTML format message
Hello every one,
Please help me with your inputs in my requirement.
The user basically requires enhancing all standard texts to accept HTML format message being sent to recipients.
Can you please let me know how can this be achieved?
Thanks in Advance.
Jayant Sahu.OK, I figured it out. Here's the silly key item:
You must have a dynamic text field with embedded fonts in
every font you might use with the html tags!
Who would've thought. I added additional fields to my file
(off the stage) with "foo" set to verdana bold, verdana italic, and
verdana bold italic and embedded Basic Latin. Now it works.
Thanks for your help. -
Report rendering in Flash and SVG format
Hi everybody,
two questions: it's possible report rendering
1) in Adobe Flash (SWF) format?
2) and in SVG format?
Thank you.The only viewer available is an html viewer. Your other options are to export it to one of the available formats (word, excel, pdf, etc)
-
Hi All,
Does XMLP support SVG format? Can i use XML Publisher APIs to transform an XSL-FO document to SVG format?
Pls. suggest.
Thanks,
Suresh.I don't think BIP is there yet, but this can be done easily with Apache FOP.
http://xmlgraphics.apache.org/fop/ -
Please, I need help - How can I generate a text file with Word format?
Hello friends at www.oracle.com ,
is it possible for me to create a text file - that is, with TEXT_IO.fopen, and so on - that's already formatted as a Word document?
We have a Forms program here, where it's needed to generate a text file with .RTF format, 8 centimeters margin, Times New Roman font, with size 7.
Best regards,
Franklin Goncalves Jr.Hello Shay,
sincere thanks for your answer. And, to answer your last question, I'm using client-server model.
Since I couldn't create this .RTF file by using built-ins like TEXT_IO, I tried to generate an .RTF file using Reports, passing the parameters DESTYPE, DESNAME and DESFORMAT, as shown below.
add_parameter (pl_id, 'DESTYPE', text_parameter, 'FILE');
add_parameter (pl_id, 'DESNAME', text_parameter, 'c:\franklin.rtf');
add_parameter (pl_id, 'DESFORMAT', text_parameter, 'RTF');
However, the just generated .RTF file is uncomprehensible. After opening the file at Microsoft Word, I can see the following message at the top of file:
This file was created by Oracle Reports. Please view this document in Page Layout mode.
... and informations doesn't appear as desired.
If I can't generate such text format by using TEXT_IO, and if generating an .RTF file through Reports shows me an incomprehensible result, how can I export the selected result to an .RTF file?
When Reports is opened, choosing Generate to file -> RTF doesn't export anything.
Thanks, and best regards,
Franklin Goncalves Jr. -
Why can't I place graphic in text outline?
Why can't i place graphic in a text outline?
The type needs to be converted to outlines. Type > Create Outlines. Then you can place an image into it.
-
In order to have Firefox and other browsers display text as designed in Illustrator, I've been converting text to outline when exporting to SVG. It's not ideal but it works generally - except now I am using the graphing function and it won't create outline fonts even when that option is selected.
I've not been able to break the link with the graph function, e.g. by exporting to SVG or EPS and then opening those files and trying to export to SVG from there.
Any suggestions e.g. about other ways of forcing illustrator to break the link with the graph data function - I'd keep the original file, this is just about getting a SVG file that will display text as intended in all browsers
Cheers, MalcolmMake a copy of the AI file, select the graph object and expand is one way of doing it. You might also find this interesting, esp the later messages
Does anybody know why type might render strangely when viewing a PDF in Chrome, Firefox and IE?
Maybe you are looking for
-
If I receive a PDF document attached to an email by way of an icon, I can double click on the PDF icon and the document opens. HOWEVER, if I receive a link to a PDF document in an email, and I click on the link which leads me to a webpage with anothe
-
"This field name is not known", Details: errorKind, Error in formula
<p>I receive this error when running a report in our C# .NET windows form viewer hitting an oracle data source. If I run the exact report against a MSSQL data source, it works fine. If I run the exact report in Crystal Designer against the same ora
-
How will 4K be displayed? : 4K 3840x2160 UHD 4096x2550 Where as: 27-inch Apple Thunderbolt Display=2660x1440
-
HT3775 i could not be opened. The movie's file format isn't recognized
why could not opened .my movie file format
-
With 'Revenue' Fact Column how can i calculate 'Previous 3 Months Revevue'
Hi All , i have a Column Called Revenue from Fact Table. i need to calculate Previous 3 Months Revevue How can i achive this ? please help me Thanks in advance