Applying Style Sheets to all Project Topics
Currently I have topics that use different style sheets (there are 5 listed, although I only created one).
I want all topics to use the same style sheet.
Is there any way to apply a Style to all Project Topics?
Welcome to the forum.
Go to the topic list and select all topics, then right click and select Properties. You can assign the new CSS there. Any style names in your topics not included in the new CSS will of course be broken and need to be assigned to whatever style you choose.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge
Similar Messages
-
How to apply Style Sheets to all ComboBoxItems.
Here in the following code i have referred to stylesheet for each data item. Help me how I can set a stylesheet for all comboboxitems only one time.
<ComboBox
Foreground="Black"
BorderBrush="Black"
HorizontalAlignment="Left" Margin="108,280,0,0" VerticalAlignment="Top" Width="200" Style="{StaticResource ComboBoxStyl}">
<ComboBoxItem Content="One" IsSelected="True" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Two" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Three" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Four" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Five" Style="{StaticResource ComboBoxItemStyle1}"/>
</ComboBox>Hi MohanrajKrishnamoorthy,
I will recommend you create the ComboBox like the following:
<ComboBox
Foreground="Black"
BorderBrush="Black"
HorizontalAlignment="Left" Margin="108,280,0,0" VerticalAlignment="Top" Width="200">
<ComboBox.ItemTemplate>
<DataTemplate>
//Add style or control in here
</DataTemplate>
</ComboBox.ItemTemplate>
<!--<ComboBoxItem Content="One" IsSelected="True" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Two" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Three" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Four" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Five" Style="{StaticResource ComboBoxItemStyle1}"/>-->
</ComboBox>
After that all the ComboBox item will use the same style as you define in the DataTemplate.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to apply style sheet (.css) in Weblogic directory listing
Hi,
We are migrating a directory listing application from Apache to Weblogic.
Earlier we did this by Apache httpd.conf entry like below :
<Directory "/opt/apache/httpd-2.1.9/htdocs/Myreportfolder">
IndexOptions FancyIndexing FoldersFirst NameWidth=* XHTML
IndexOrderDefault Descending Date
IndexStyleSheet "/css/style.css"
</Directory>
/opt/apache/httpd-2.1.9/htdocs folder has all it's usual resource files.
We were able to see documents in "Myreportfolder".
Now we have moved to Weblogic and using virtual directory mapping as below and we are trying to achieve the same thing:
<?xml version="1.0" encoding="UTF-8" ?>
- <wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
- <wls:container-descriptor>
<wls:index-directory-enabled>true</wls:index-directory-enabled>
<wls:index-directory-sort-by>LAST_MODIFIED</wls:index-directory-sort-by>
</wls:container-descriptor>
- <wls:virtual-directory-mapping>
<wls:local-path>/Myreportfolder</wls:local-path>
<wls:url-pattern>/*</wls:url-pattern>
</wls:virtual-directory-mapping>
<wls:context-root>/getreports</wls:context-root>
</wls:weblogic-web-app>
We are able to view the reports but we do not get look-and-feel of Apache like directory listing.
but we encounter below issues:
1) File/Folder icons are not visible - we want to use style sheets in http header from the response that is returned from weblogic server
2) Filename is limited to 29 characters when it is showing
3) Files are not sortable as Descending order - we sorted using tag <wls:index-directory-sort-by>LAST_MODIFIED</wls:index-directory-sort-by> but the latest file is shown at the last
We are thinking that Weblogic must be having some configuration like Apache httpd.conf where we can apply style sheets (css ).
We would appreciate af anyone can provide better insight into the issue.
or is it possible to extend weblogic.servlet.fileservlet class to serve this purpose.
Thanks & regards,
RabiHi Vikash,
Check the below links which will you idea on the same.
Stylesheet for WDA without integrating in SAP Portal
Apply custom css to WebDynpro application
Thanks
KH -
Is there an example of this somewhere or some documentation? I'm using Jato
1.2.
Also, in the emails that fly back and forth I have seen a date sample
mentioned.
Where is this? I have got the JatoSamples.war deployed and I don't see a date
example. I just wonder if I'm missing some other Jato examples.
Thanks.
BelindaThere is some confusion here. The JatoSample project that shipped with the
Developer CD does not include the Components samples (which includes the Date
example). The "live" sample that is viewable on the intenal web site
http://ias.red.iplanet.com/jato/ does include the Component samples.
We intentionally disabled the Component samples in the Developer CD version
because at the time that it shipped we had an unresolved issue with running the
Component samples on certain servlet containers. That issue has been favorably
resolved.
The downloadable version of Jato 1.2 should contain a version of the JatoSample
which does have the Component sample enabled.
----- Original Message -----
From: Matthew Stevens
Sent: Thursday, November 29, 2001 8:39 AM
Subject: RE: [iPlanet-JATO] applying style sheets to Jato
Belinda,
Sorry for the delay. JATO is now available on http://developer.iplanet.com
and the JATO Sample WAR file is available separately for download - so make
sure you have this latest example. The sample is available LIVE on internal
sites which I will send you offline. We are working to have this and other
samples running live on the public web site shortly.
For the Date component example please check out the Components section in
the Index of the running application and the following in the WAR file
WEB-INF/classes/jatosample/module1/E0130Viewbean.java
WEB-INF/jatoSample.tld
WEB-INF/classes/jatosample/components
Could you please elaborate on your requirements for style sheets. Other
than using style sheets normally as you would with JSPs, what are you trying
to do? We would like to be focused in our answers.
matt
-----Original Message-----
From: Belinda Garcia [mailto:<a href="/group/SunONE-JATO/post?protectID=014056235009078154169082148140172241239144044214017123152006048067">belinda.garcia@s...</a>]
Sent: Tuesday, November 27, 2001 5:08 PM
Subject: [iPlanet-JATO] applying style sheets to Jato
Is there an example of this somewhere or some documentation? I'm using Jato
1.2.
Also, in the emails that fly back and forth I have seen a date sample
mentioned.
Where is this? I have got the JatoSamples.war deployed and I don't see a
date
example. I just wonder if I'm missing some other Jato examples.
Thanks.
Belinda
For more information about JATO, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp
For more information about JATO, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp
[Non-text portions of this message have been removed] -
How to apply style sheet to design page
hi all,
i have a discussion,
how to apply a style sheet to design page in webdynpro.
thanks
vikashHi Vikash,
Check the below links which will you idea on the same.
Stylesheet for WDA without integrating in SAP Portal
Apply custom css to WebDynpro application
Thanks
KH -
How to apply style sheets to table layout
hi i want to apply styles to my table layout region, i gave style sheets which are in OAF myhtml\OA_HTML\cabo\styles but i dint find any changes in my table layout, can any give one give me an idea of how to do it....
Check the OAF personalization guide for details on custom CSS. It won't be possible for me to summarize the whole thing here.
--Shiv -
Applying different style sheets
I'm not sure if this is possible, but I would like to apply
different style sheets to different outputs.
For example: (Both outputs use the same data)
Output to PDF = Style Sheet 1
Output to WebHelp = Style Sheet 2
Is there an easy way to do this?It would be lovely to select a style sheet as you are
generating the output, wouldn't it? As far as I can see, however,
style sheets are assigned per topic thru a reference RH sticks in
the HTML header.
Which leaves you two options:
1) The simple but tedious way: In the Topics list (on the
right), select all the topics. Right-click and pick Properties.
When the Properties window opens, choose the stylesheet you want on
the Appearance tab. Click OK. You would need to do this each time
you switch from generating WebHelp to generating PDF.
2) The complex but cool if it works way: I don't use the PDF
plug-in - do you still generate PDF from the Printed Documentation
layout? If so, can you use the StyleMapping.dot template? (I seem
to remember that the PDF goes through a Word stage behind the
scenes.) You can open StyleMapping.dot in Word (be sure to use File
> Open so you get the .dot) and change the styles into what is
effectively a new style sheet. It may take some tweaking - I still
can't get my bulleted styles to come out quite right - but it's
great for global changes.
HTH,
Elisa -
Numbered List and Bulleted List w/ Custom Style Sheet
Hi,
I am a new user to RoboHelp 7, and must say I find it useful
but also painful to use. Currently I’m trying to solve
something that feels like a bug in RoboHelp 7, but before I give in
and accept defeat I wanted to check with the forum.
I have FrameMaker 8, and import the files to RH where I use
them to create WebHelp projects.
Here’s a short procedure:
1. I Import my files with a predefined style sheet matching
the FM styles.
2. I also check the Convert to HTML list option and set all
numbering and bullet styles to User defined.
- After import RH does the usual thing and creates a bunch
of style sheets on its own
3. I select all the files from the Topic List pod and apply a
new custom style sheet. This enables me to have one style sheet for
all the HTML files with the right layout and formatting
4. I generate the output, and RH uses the new style sheet
reference
The resulting HTML files shows that the output is not the
same as the generated HTML shown in RH’s HTML editor view
- Editor view: <li class=”style”>
- Browser view: <li>
6. If I make a change (e.g. add a space) and save the HTML
file, and generate the project again the HTML is correct in the
browser
One could argue that it’s not a big problem; however,
with a large project this is starting to look more like a nightmare
Does anyone know of this problem, and if so can it be fixed?
Kind regards,
JonIs this the time when I get really angry at Adobe for creating the worst FrameMaker/RoboHelp integration ever? No! However, I must admit that I'm amazed that they are unable to solve an important feature as conversion of lists from a FrameMaker document to a RoboHelp WebHelp project. When I say conversion I mean a clean conversion with minimal interference from RoboHelp that allows me to use CSS to its full extent.
Here's the problem, and this was also the problem with RoboHelp 7 and FrameMaker 8. BTW, I use standalone versions (not TCS 1 or 2).
Figures: First image depicts FrameMaker 9's Paragraph Designer and the Autonumber format for a paragraph named VizNumbered. Second image depicts the RoboHelp 8's conversion setting.
FrameMaker uses Autonumbering in front of paragraphs to create lists. This means that you in RoboHelp need to manage two formats, the autonumber and the paragraph style.
RoboHelp does of course not (by default) use Autonumbering in front of paragraphs because a RoboHelp WebHelp project is HTML based, and list tags in HTML can perfectly handle any formatting of text etc.
RoboHelp will convert, when "Convert Autonumber to HTML List" is selected, the Autonumber in FrameMaker to a list tag (LI). By default this will generate a list with a lot of margin, font and other CSS properties that tries to simulate the way the list is laid out in the FrameMaker document. In addition to the list tags it will convert the FrameMaker paragraph to a P tag which it inserts within a list tag. The issue you will experience with this is that indentations with the paragraph tag does not align properly between line 1 and 2. At the same time the WebHelp project will not look the same in IE, Firefox or Chrome. That is, Chrome and Firefox will look the same, and IE different. IE has the WYSIWYG feel, but it does not comply well with W3C standards (i.e. using P tags enclosed by LI tags is not a good idea ...).
Selecting "Convert Autonumber to RoboHelp List" does something similar, but is not recommended at all!
So, here's the big question. How can I make sure RoboHelp understands that I ONLY need to define a list tag with a CSS class attribute attached to it?
Today I basically only get the following:
<li><p class=""></p></li> or,
<p class=""></p>
What I want is the following:
<li class=""></li>
Can this be solved with today's versions, can anyone help me, or do I have to wait for the Adobe development team to realize this and to fix it? -
This seems like a pretty straightforward thing to do but I
didn't see it in the RH manual.
I just imported several MIF files into a new WebHelp project.
I applied a style sheet to all the new topics, but the style names
don't match. Now, I could go through each topic and apply the
appropriate style for each paragraph independently, but I'd much
rather just copy the style definition to do it all at once.
Is there any way to copy the definition of one style to
another within the same style sheet? Or, can I somehow delete the
name of the unwanted style and rename the desired style to do this
to automatically update all the text in that style?
Any advice would be greatly appreciated,
-MarkOpen the style sheet in Notepad or similar. You can then copy
and tweak any style. -
Loop Page Style Sheet to set file name.
I am exporting pages to jpgs and pngs using a script that pulls the name from an applied style sheet.
http://forums.adobe.com/message/5913479#5913479
the above works perfectly if I only want to specify one style sheet as the file name.
the challenge may need to use different style sheets on each page to create the name.
I am not sure how to loop through each page and grab the style in play.
or if I need to loop at all.
This is where I am...
function MakePNGfile()
for(var myCounter = 0; myCounter < myDoc.pages.length; myCounter++)
if (myDoc.pages.item(myCounter).appliedSection.name != "")
myDoc.pages.item(myCounter).appliedSection.name = "";
var myStyle1 = "sheetlabel-text";
var myStyle2 = "sheetlabel-text-2";
var myParagraphs = myDoc.pages.item(0).textFrames.item(0).parentStory.paragraphs;
var myPageName = myDoc.pages.item(myCounter).name;
var myPNGPrefix = "";
for( i = 0; i < myParagraphs.length; i++)
var paragraph = myParagraphs.item(i);
if (paragraph = myStyle1)
(myPNGPrefix = getParagraphContent(myDoc.paragraphStyles.item("sheetlabel-text"), myDoc.pages.item(myCounter))+ '-0' + myPageName)
else
(myPNGPrefix = getParagraphContent(myDoc.paragraphStyles.item("sheetlabel-text-2"), myDoc.pages.item(myCounter))+ '-0' + myPageName)
Thanks for your help!Good to hear .
Find attached the next version. You can now insert in 'paraStyleNames' as many style names as you want. The script will check from left to right, if there is one found on the page. If this is true, the script will ignore the other styles.
Removing leading zero should work now.
Maybe one problem: If one page contains no style, this page will be exported nevertheless with it’s correct page number, but with the founded text of the previous page. If this can never happen, we are done and you should mark the answer as correct. If this is a real problem for you, please let me know, what should happen in this case and I will try to fix that too.
// Export pages as JPG with additional info by Kai Rübsamen
// http://forums.adobe.com/message/6326425#6326425
main ();
function main() {
var curDoc = app.activeDocument;
// Array of paragraph Style names
var paraStyleNames = ["h1", "h2"]; // insert here your para names !
var missingParaStyles = [];
// check, if the styles are valid
for ( var p = 0; p < paraStyleNames.length; p++ ) {
var curName = paraStyleNames[p];
// if the style is missing, push it to the array
if ( !curDoc.paragraphStyles.itemByName(curName).isValid ) {
missingParaStyles.push( curName );
// if some styles are missing, give an alert
var nMiss = missingParaStyles.length;
if ( nMiss > 0 ) {
var display = missingParaStyles.join( "\r" );
alert ( "Missing para(s):\r" + display );
exit();
// loop through all pages
for ( var i = 0; i < curDoc.pages.length; i++ ) {
// the current page
var curPage = curDoc.pages[i];
// the current pages name
var pName = curPage.name;
// controls the loop
var controller = true;
// all paragraphs on the current page
var allPageParas = curPage.textFrames.everyItem().paragraphs.everyItem().getElements();
// loop through all paragraphs and check, if one has the para style applied
for ( var p = 0; p < allPageParas.length; p++ ) {
if ( !controller ) break;
// the current para
var curPara = allPageParas[p];
// loop through the styles
for ( var n = 0; n < paraStyleNames.length; n++ ) {
if ( curPara.appliedParagraphStyle.name == paraStyleNames[n] ) {
var paraContents = curPara.contents;
var paraString = "-" + paraContents.replace( /\s+$/ , "" ).replace( /\s+/g , "-" ).toLowerCase();
controller = false;
break;
} // end if
} // end for paraStyleNames
} // end for allPageParas
//~ var folderPath = "~/-client/JOYS - Just Organize Your Stuff/-Art/-art-book-kindle/";
var folderPath = Folder.desktop;
if ( pName < 10 ) {
var appendix = "-0" + pName + paraString;
else {
var appendix = "-" + pName + paraString;
var filePath = folderPath + "/" + curDoc.name.replace(/\.indd$/,"") + appendix + ".jpg";
var myFile = File( filePath );
with ( app.jpegExportPreferences ) {
jpegQuality = JPEGOptionsQuality.high; // low medium high maximum
exportResolution = 72;
jpegExportRange = ExportRangeOrAllPages.exportRange;
pageString = pName;
curDoc.exportFile( ExportFormat.jpg, myFile, false );
} // end for pages
} // end main
–Kai -
Creating Style Sheets for Existing Text
Can I get some advice on what would be the easiest way to create and apply style sheets to a document that was layed out w/o any? My Art Director layed out a dozen pages of actual type w/o any style sheets. It's a pretty basic layout with Headers, Sub-heads and body copy. There are no "space afters" applied to any of the hard paragraph breaks after sub heads, and nothing has style sheets applied to it. All text has Basic Paragraph applied. I know how to create style sheets based on what he created, but then how would I apply to the rest of the pages w/o having to physically format it all? Thanks for any help with this.
SIcsempertyrannis schrieb:
Your flippant response to my question was to send my Art Director for basic computer training. How exactly is that polite or helpful? And if you know the difference between a hard and soft return then why did you ask if I meant shift+return when I clearly stated there were no space-afters applied to any hard paragraph breaks?
Your initial response was laden with typos and sarcasm, as is your second. If you dont want to be bashed then practice what you preach. Again, and for the last time, if you dont have an answer to a question you should refrain from posting.
No "space after" does not mean that it is shift-return! The space is depending on the settings of the Paragraph (Style) in Intends and Spacing. And sorry, a lot of people here mean with the same words different things.
And yes, send your Art Director to a training, because when smeone uses shift-return instead of properly paragraphs he has not enough knowledge to do word processing.
Thanks for the typos you have found. But you can keep them and all others you will find here. And no, I had no sarcasm.
I decide myself if I refrain from posting, it is not your job. -
I would like to see a new InDesign feature or add-on whereby I could administer and edit paragraph/character style sheets for multiple documents, rather than having to individually edit style sheets in all those documents.
Rather than the style sheets being embedded in the document, they could be linked to it from a central set.
Recently I was involved in a job where we had to change the style sheets on 40,000 templates. Lucrative for me on a freelance basis, but somewhat tedious...Interesting idea.
But do you know you can already do a lot of what you want by using the Book feature? As long as the style names are EXACTLY the same in all the files you can add files to a Book (.indb) and synchronize the styles for all to a single document of your choice (the one you edited). Just be careful NOT to synch any sort of numbering or anything else. -
Hello there,
I'm new to InDesign and have searched the Help menu but couldn't find the info I wanted. Can anyone tell me if there is an option to apply style sheets in InDesign when doing a brochure layout as there is in Quark. It's a great time saver.
Thanks,
mRey,
When the keyboard shortcut is grayed out it means that another paragraph or character style has been assigned that keyboard shortcut AFTER you assigned it initially. Either assign a new keyboard shortcut or find the one that is not grayed out and reassign a new keyboard shortcut or remove the shortcut altogether. Hope this helps.
Regards,
Len Swierski -
Integrating Style sheet in WD abap
Hi,
I need to integrate Style sheet in WDA,the style sheet holds all the data and format of displaying,is it possible to directly call style sheet in view...
Thanks
ChinnaThe only way to manipulate the stylesheets used by Web Dynpro is to use Portal Themeing. If you run you application within the portal it will automatically take on what portal theme has been customized. If you run your application standalone then you must use the standalone theme editor to create a custom theme and run it via URL parameter. This approach is not officially supported by SAP but there are documents on SCN that describe the process.
-
LocalDirector & IE 6 Frameset/Style Sheet problems?
We are using the LD 417 to load balance across Sun webservers running Oracle Apache. We have just seen a problem where IE 6.x, accessed through the LDs, will not apply style sheets in Framesets, unless the page is refreshed, either by the user or programmatically. This does NOT happen to Netscape 7.x through the LDs or to IE 6.x when accessing the webservers directly.
Has anyone seen a problem similar to this and, if so, is there something in the LD to mitigate this problem?I have also seen some issues with IE 6.0 with regard to the sticky cookies. It worked fine with IE 5.0
In your case have you tried IE5.0 and checking if it works. It usually is a browser issue.
Maybe you are looking for
-
I have to send an error report every time I close a Mozilla window or shut down Mozilla. then I have to restart Mozilla to get back to the page I was on.
-
Oracle 8i to SQL Server by Gateway
Trying to setup a Transparent Gateway between Oracle 8.1.7 using Gateway 8.1.6 to MS SQL Server. Tried Gateway on both NT and 2000 Server. Here is the Error Message: SQL Plus Error Message SQL*Plus: Release 8.1.7.0.0 - Production on Thu Jul 8 16:37:3
-
Hello Everyone, We have a issue in the MRP process. When we run MRP it creates PR for additional quantity then needed not considering the Purhcase Order that exisits already. Below example will explain you in detail. Product A Plant ABC Stock 4 Produ
-
Excel printed to Cutepdf writer
I have an excel document with a graph. When I print the document to CutePDF writer and open the PDF with Adobe reader 8 or 10.1.4 the graph its just a blank sheet. Text works fine. Has anybody advise, please?
-
How to set multiple conditions on actionPerformed
I am making a game of Connect 4 for a school project and have come across a problem.. Basically I am trying to get a piece of code to be executed when one of seven buttons have been clicked, (each button also has another piece of code depending on wh