Setting font-family at Page level in xsl ???
Hi All,
I have a question regarding setting the attribute font-family at page level.
I can use this attribute at block level , Is it possible to use it at Page level ie (simple-page-master).
In simple terms use the same font across the page without having to declare it at each block in the page.
Thanks.
As Jorg stated, Group ACL settings are meant to control access at a page
level. As he also stated is possible to control access even further, but
with additional effort and difficulty. But, nearly every client wants this
done down to the component level and on a group by group basis. So, what
I've found, over the years that works is the following:
- Configure the available components per template type per parsys
- Further configure the available components at the group level
For the custom built components, you can remove them at the group level by
un-checking the 'read' ACL on the dialogs for the given component. You
don't want to un-check read for the whole component because then the users
of that group experience random 'holes' in the content. But, if you
un-check 'read' for the dialogs, then the component will not display in
Side-kick (at least on 5.4 and prior this is the case).
The only caveat to this is the OOB components. That is where you will run
into a lot more difficulty. Those should mostly be enabled/disabled at the
design level for the entire page/parsys.
Hope this helps.
Todd
Similar Messages
-
[Solved] css setting font family, ff3 vs ie7
In my css, I've set 'font-family: sans;' in body { }, and in ff3 on my Arch laptop, it displays correctlly. In ie7 on my wifes vista laptop, it still reverts back to w/e serif font it uses if it can't find one set by the web page. I have no idea why this is happening, and I can't seem to fix it. Can anyone give me a hand?
Last edited by Sjoden (2009-01-04 03:07:09)Agh, well, I looked at thayer's blog to see if that worked in both browsers and it did, so I checked to see how he had his fonts set up.
font-family: Arial, DejaVu Sans, sans-serif;
The closest I got to that was 'font-family: Arial, DejaVu, sans;' -
Unable to set "Symbol" Font family to JTextpane
Hi,
I am developing an editor
I am trying to set font family to Jtextpane
javax.swing.text.Style style = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
StyleConstants.setFontFamily(style, "Symbol");
textPane.setCharacterAttributes(style, false);But it is not working. Same code works for other font family names ex: "Comic Sans Ms".
Can any one know solution to this?
Cheers
Somasekhar
Edited by: SomasekharPatil on Mar 13, 2009 10:42 AMI checked Notepad.exe where "symbol" font family is available.
Then I think it should work in my application also. I am using Java6.
Hope u can help me!
Thanks in advance.. -
How to set custom font family in qml label in black berry 10 os
how to set custom font family in label text qml in black berry 10 OS
AFAIK, this is not the correct way to set the image location.
We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
Hope this answers your question.
Cheers,
Jeets. -
I have Maveriks. I downloaded numerous ACID Fonts and purchased Stuffit as instructed by ACID Fonts in order to use them. However, now I am unable to figure out how to get them into my Font Family drop down list or insert into Pages. PLS HELP!
Hi FancyJean!
Here is an article for you about using Font Book and installing fonts that you have downloaded:
Mac Basics: Font Book
http://support.apple.com/kb/ht2509
Thanks for being a part of the Apple Support Communities!
Cheers,
Braden -
How to Modify Font Size at Application Level
There is a requirement to change the font size at the application level for ease of readability. Is there an easy way to accomplish this requirement in APEX 3.0?
Please advise.
Thank you.
~PhyllisAh, alright so then the font does not have to change size on request?
You just want to increase the font size of a report or form?
If you just want to increase the font size of everything, you can add this to your Page's header...
<style type="text/css">
* {font-size:20px;}
</style>If you just want to change the font-size of something in particular, then you'll have to get the CSS it refers to (use Firebug in Firefox).
For example, to change some headers and data in template 15...
<style type="text/css">
.t15RegionHeader
font-size:12px;
tr td.t15data
font-family:verdana;
font-size:10px;
white-space:nowrap;
th.t15header
font-family:verdana;
font-size:10px;
color: #efefef;
</style>Hope this helps.
-Chris -
How does Entertainment Weekly's site make this font family call?
The font I am referring to is the one on the two-line nav menu at the top of the page, beginning with "TV" on the first line, and ending with "Blogs" on the second. The same font also appears to be used in the "More from our partners" section that follows the movie listings at the bottom.
I'd like to know what font EW is using here, as it does not seem to be anything I have installed on my system. I'd also like to know how they're calling it (which line in the code is the one making this call?) so I can study it more closely.
Please note than I am specifically looking for how EW did it, and not alternate methods of calling the font that may be considered equally effective (first things first).
Thanks.There seems to be some confusion to clear up : I can see jaf-bernini-sans-condensed without having it installed on my system. The EW website is serving it to me through the web somehow.
Not sure what exactly you are seeing on your system but the code to render fonts on your system is this:
@import url('http://fonts.googleapis.com/css?family=Francois+One');
Now the css that actually defines the fonts is this:
#primary-nav li.first-level > a {
z-index : 50;
line-height : 37px;
text-align : center;
display : block;
font-size : 20px;
font-family : jaf-bernino-sans-condensed, 'Francois One', arial, sans-serif;
font-weight : 500;
color : #fff;
If you don't have the first fonts defined then you are likely to get the second. Its picture is here:
Does this answer your question? If not please post a picture of what exactly you are seeing on your screen. -
Accepts {font-family: Arial, sans-serif, verdana} etc.
But {font-family: Expert Sans, Arial, sans-serif, verdana} will fall back to Arial even though Expert Sans is installed on client PC. Works pre 14.0.1 and on Safari, Chrome, IE6/7/8 etc, so this is a feature of 14.0.1 release.Since the option to uncheck "allow pages to choose their own fonts" only appears after "advanced" is clicked, I understood what you meant.
Let me put it this way. What I am expecting to happen: when I uncheck "allow pages to choose their own fonts," web pages will not choose their own fonts, but use the ones I've selected. What happens instead at tumblr: my selected fonts do not get used.
To make it apparent, I selected Comic Sans for everything, and unchecked "allow pages to choose their own fonts." The results are shown in the first image below. I used sfgate.com as an example of a site where unchecking "allow pages..." works.
The second image shows the font info from sfgate using the handy plug-in you mentioned. Comic Sans, my selected font, appears.
The third image shows what I get at tumblr with the same settings I had at sfgate. As you can see, tumblr ignores my designation to use Comic Sans.
For comparison purposes: the fourth image shows tumblr font info when "allow pages to choose their own fonts" IS checked.
I have tested this with Firefox 12, 13, and 14 on Windows XP and Vista. I have tested it with multiple fonts (the font I usually designate is Verdana, but visually it's too close to Arial, so I used Comic Sans here) Tumblr ignoring the unchecking of "allow pages to choose their own fonts" happens in every instance. In short: tumblr.com breaks the Firefox option to choose your own fonts. Unchecking "allow pages to choose their own fonts" does not work at tumblr.
Please note that by tumblr I do not mean individual blogs [myblog.tumblr.com], where the fonts can be set by the blog owner, and where unchecking "allow pages..." works. The problem is at tumblr.com, and also at tumblr.com/dashboard, the dashboard being what signed in tumblr users view, and which is 90% of their tumblr "experience."
Another note: in my test, you'll notice I chose the same font for serif and sans-serif. Don't get sidetracked by that. Every version of Firefox, since it was first introduced, will happily use a single font across the board. There is no need to choose an actual serif font for "serif." The font I normally choose for both categories is Verdana. -
I have tried the following fixes:
Page is zoomed in or out
Some websites may not look right at different zoom levels. To reset the page zoom setting for the site, click on the View menu, select Zoom, and then select Reset.
Minimum font size set
Some sites do not display properly with a minimum font size. To reset the minimum font size:
1. At the top of the Firefox window, click on the Firefox button (Tools menu in Windows XP) and then click OptionsOn the menu bar, click on the Firefox menu and select Preferences...At the top of the Firefox window, click on the Edit menu and select Preferences At the top of the Firefox window, click on the Tools menu and select Options...On the menu bar, click on the Firefox menu and select Preferences...At the top of the Firefox window, click on the Edit menu and select Preferences...
2. Click to select the Content panel.
3. In the Fonts & Colors section, click Advanced....
4. Change the Minimum font size to None.
Page styles disabled
You may have inadvertently set the page style to "No Style." To ensure Firefox is set to use the page's default style:
* At the top of the Firefox window On the menu bar, click on the View menu, then select Page Style, then click Basic Page Style.
Now that the page is using its default style, it may be displayed correctly.You can Zoom In and Out using Ctrl + "+" and Ctrl + "-" or holding Ctrl roll your mouse scroll. To reset Zoom level you can use Ctrl + "0" (zero). If you want to zoom text only you can check "View->Zoom->Zoom Text Only" option.
-
DataGrid ItemRender and font family
i am writing a custom data grid ItemRender that, for every
cell, displays a numeric value. Additionally, if the xml data
structure defines an attribute for a given row, it is supposed to
display a colored arrow in the same cell.
Reading the data and determining if to display the arrow, and
the color of the arrow work fine. I am trying to embed the
windgings font to display the arrow, that way I can set the color
programatically. As I said, reading the data works fine, the
coloring of the 'arrow' works fine. My problem is I cannot change
the fontFamily of any label in the item renderer. Even the entire
renderer itself. Below is my code, followed by several other things
I have tried. Thanks for the help.
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100%" height="100%"
implements="mx.controls.listClasses.IDropInListItemRenderer"
horizontalScrollPolicy="off" verticalScrollPolicy="off">
<mx:Style>
@font-face
src: local("wingdings");
fontFamily: myArrowFont;
font-anti-alias-type: advanced;
font-weight: bold;
.arrowStyle
fontFamily: myArrowFont;
font-weight: bold;
font-size: 12;
</mx:Style>
<mx:Script>
<![CDATA[
import mx.controls.listClasses.BaseListData;
import mx.controls.dataGridClasses.DataGridListData;
protected var _listData:DataGridListData;
public function get listData():BaseListData
return _listData;
public function set listData(value:BaseListData):void
_listData = DataGridListData(value);
invalidateProperties();
override public function set data(value:Object):void
super.data = value;
cellArrow.setStyle('color',value[_listData.dataField].@color);
switch(value[_listData.dataField][email protected]())
case 'up':
cellArrow.text = 'é';
break;
case 'down':
cellArrow.text = 'ê';
break;
case 'equal':
cellArrow.text = 'd';
break;
default:
cellArrow.text = '';
break;
cellText.text = value[_listData.dataField];
]]>
</mx:Script>
<mx:Label id="cellText" text=""/>
<mx:Spacer width="100%"/>
<mx:Label id="cellArrow" styleName="arrowStyle"
text=""/>
</mx:HBox>
I have tried using <mx:Label id="cellArrow"
fontFamily='myArrowFont'/>
I have set the fontFamily='myArrowFont' in the base HBox tag
as well, and it doesn't change the font of either the cellArrow or
cellText label.
I have also used
cellArrow.setStyle('fontFamily','myArrowFont') in the override set
data method.
I have written the same component in ActionScript
implementing the same functionality.
The cellArrow label's text and color are set correctly to the
data, however I cannot get the font to change to windgings.
I have tried setting the DataGridColumn fontFamily to the
wingdings font, and all it does is change the header text of the
column, not any of the rows.
The actual datagrid is created entirely in actionscript,
because it is part of a control that will build a datagrid with X
number of columns, defined in a data structure. That code works
fine as well, and is below, incase it helps.
//_dataP is an XMLList from an httpservice or web service
that defines our grids
var colsX:XMLList = _dataP..column; //get an xmllist of our
columns
var len:int = colsX.length(); //and store the length
var cols:Array = new Array(); //create an empty array to hold
each column
var col:DataGridColumn; //a data grid column reference
for(var i:int = 0; i < len; i++)
col = new DataGridColumn(); //create a new column
col.headerText = colsX
.@text; //set the header text
col.dataField = colsX.@field; //and data field
col.itemRenderer = new ClassFactory(quadBoxItemRenderer);
cols.push(col); //add it to the array
_grid.columns = cols; //set our columns array as the columns
of the grid
var rows:XMLList = _dataP..row;
_grid.rowCount = (rows.length() == 0) ? 1 : rows.length();
_grid.dataProvider = rows; //and give it the list of rows
_grid.percentWidth = 100;
_gridBox.addChild(_grid);
any help is vastly appreciated. Thanks.Disregard my question - I've unfortunately failed to check the font-family string as submitted by the server and it turned out to still have a colon character in front of it...
I guess I've spent a few too many nights working on this making me susceptible to tiredness and a strangely blank mind...
My apologies,
Rogier -
APEX - 4
DB version - 10g
Web server architecture - OHS
Browser - IE8
Theme - 5
I know how to set and display help text for a page item, and I see there is the option to add help text at the page level, but how does the user accessing the screen see the page level help text?
I was thinking it might be a good way to add user help guide information at the page level.
Thank you for any assistance.I know how to set and display help text for a page item, and I see there is the option to add help text at the page level, but how does the user accessing the screen see the page level help text?Using a Help page and region accessed via a help link (e.g. a navigation bar entry), or using the <tt>apex_application.help</tt> API method in a PL/SQL Dynamic Content region.
This is covered in the APEX documentation which should be consulted before posting a question here. -
How do I upload a font family?
I''m uploading a book as PDF pages to an on demand printer.
The printer would like the entire font family included even though
I'm only using one weight (style) each of 2 fonts.
How do I go about uploading the entire font families?
I seem to think I did this once before, but don't recall the step.
Please give me a step by step instructions.
Thank you.I think I see what you're going after.
Open your project in Quark 8. Choose File > Collect for Output. The first thing it asks is "Save Project before continuing with Collect for Output?" Meaning, it wants to save the file even if you haven't changed anything. That's okay, you can just dump the copy of the document later. Click "Save".
A dialogue box will come up. Create a new folder somewhere using the button at the lower left. The desktop is usually the easiest place to put things. If you want, you can change the name of the file at the top, but it usually makes the most sense to leave it the same name as the file you opened. Choose the new folder you created and click "Save".
That just writes the open document to the newly created folder. Now you get the opportunity to save the rest of the related items. Turn on the check boxes for "Linked Pictures", "Printer Fonts", "Color Profiles" and "Screen Fonts". You don't want "Layout" on because you just did that. Having it on will cause the rest of the collection to fail. Click "Save". Actually, since you already have everything but the fonts as part of the PDF file, all you need is the "Printer Fonts" and "Screen Fonts".
A nag box will appear explaining the legality of copying fonts that may be copyrighted. Click "OK".
A copy of your document, images and fonts will now all be in the folder you created. You don't need the Quark document or images, but all of the fonts you need to send to the publisher will be there. -
I have adobe Univers LT Std font purchased and installed on my PC, but there is a problem when I try to use it on the webpage. The font has otf format. I noticed that Chrome and FireFox use different font-family names for this font. FireFox 25.0 seems to use OT Family name (Univers LT Std) as a font-family value, and Chrome 30 uses PS font name (UniversLTStd). So I ended up writing my css like this:
p {
font-family: UniversLTStd, Univers LT Std;
Is there a way to avoid writing multiple family names for a single font to work in different browsers?
I've checked the font's attributes with FontLab Studio:
Basic set of font names:
Family name: Univers LT Std 55
PS font name: UniversLTStd
Full name: Univers LT Std 55 Roman
Menu name: Univers LT Std 55
FOND name: Univers LT Std 55
OpenType-specific names:
OT Family name: Univers LT Std
OT style name: 55 Roman
Mac name: Univers LT Std 55
But didn't find any universal name to use as a font-family.Hello Ragu,
Newly created font family for FR is ZNGO (Similiar to Gothic font). I can see this font family via SE73.
If I execute the script for FR language output is porpor.
Now, we have added 2 more countries UK and Germany. So client wants ouput exactly in the same way as that of FR. So I am using ZNGO in paragraph formats. But output for FR an EN doses not contain this font family. I think when script is called in EN and DE language, somehow it does not detect ZNGO font family.
So my question is (again) whether font famliy is langauage dependent? If yes, then how to change/view languages for font family. is there any option in SE73 or any other transaction? If not, then why am i facing this problem?
Anup -
Page level column may not be referenced
I have a report that has a data link connecting two queries. The child layout will not show up if the link is not equal but the parent layout does. What i need to do is show neither layout if the parent and child are not equal. I tried creating a summary column at the report level and set it to reset at page level. I set it up to get the count of the 'item' in the child layout. Each item has its own page and and if the count = 0 then return(FALSE).
begin
if :cs_1 = 0 then
return(false);
else
return (TRUE);
end if;
end;
I get the following error
REP-1275 Page Level column cs_1 may not be referenced forom format trigger 'R_Item'.
I have tried creating a frame around the entire layout with the same format trigger but it returns the same error.
Any suggestions on how to resolve this probelm?Linking is different from creating one query with a foreign key relation. Its' actually two independent queries.
If you want your kind of behaviour, the easiest way is to create just one query with two groups. Like:
select d.dname, e.ename
from emp e, dept d
where e.deptno = d.deptno
This will never show deptno 40 (if you have the default SCOTT data installed).
Since you already have two queries, you can put the summary column in the parent group, not on report level. -
Using Page Level Summary Column in Report 6i
Hi Folks,
I'm trying to create a report in which I want a Page level Summary column i.e., the Summary column should reset at each page and should display the sum of a particular field on each page depending upon how many records are displayed on each page. But whenever I choose the Reset Property to Page the following error is displayed" Page level summaries are not supported in the defaulting" and in certain case the summary column displays the sum only on the last page of the report and the rest of the pages do not display the summary column. The database has three tables i.e., master-detail-detail.
Do I need to make some changes in the Data Model or what?
TIA
HassanHi Hassan,
it only works onceWell, this is definitely not expected. Maybe you can try to see after running the report once whether all the values you set in your report (from my last post) remain the the same, or somehow they revert back to their default values.
if I do some formatting of the report... summary also disapperasYou could try placing the page level summary in another frame, below your group repeating frame, with enough gap between them. Also, try setting the value for "max no of records" to some lower value, which makes sure there is space for the summary column on every page.
Another idea for making a page level summary is - you can place the summary BEFORE your group repeating frame, which means the summary will print on top of every page. In this case, you won't even have to worry about setting "max no of records per page" to some particular value. See if this suits your needs.
Navneet.
Maybe you are looking for
-
Bridge CS6 Insists on Running as Administrator - PC
Everything worked so well in CS5 Extended...... Windows 7 Pro 64 bit - MSI 990FXA-GD80 Motherboard - AMD Phenom II X6 1100T CPU - nVideo GTX550ti Video Okay, I have CS6 running on an SSD. Initially with CS6 Beta I found I had to run as Administrator
-
CANNOT DISPLAY ARABIC IN ISQL*PLUS(JUNK). APPLICATION WORKS FINE WITH ARABIC with Taret DB char set to US7ASCII the data is always junk old data +new inserted arabic data inserted thro isqlplus or sqlplus. with AR8MSWIN1256 the old data(imported in t
-
Hi Experts, I am getting th following error when i am trying to lauch the xcm tool using the following url. Please let what could be the reason like. URL: http://localhost:50000/b2b/admin/xcm/init.do Error: 404 Not Fund Error. The requested resource
-
Upgrading lightroom 5 to lightromm cc
I have been trying to upgrade lightroom 5 to lightroom cc. I am a creative cloud member and my operating system meets the rquirements. Despite folowong all of the on screen instructions lighroom cc still does not appear in creative cloud app
-
I'm running OS X 10.7.5 on my MacBook Air, but I cannot download Mavericks. I've tried downloading after a safe boot, but the progress bar and the download hung up. Any ideas?