Im looking for a solution that may not exist but worth a try. I am currently making custom modifications to normal.docm to incorporate our corporate branding. We have successfully created a new colour theme with our corporate colours but would like to know if we can change the names of these colours in the tool tip when you hover over in the colour picker.
Word colour picker
We have specific names for each of the colours which are know throughout are brand guidlines.
Any help on this would be greatly appreciated.
Changing the name of theme colours from Accent 1, Accent 2 etc. simply isn't possible.
Related
We have a client with many companies and they want each company to have their own user interface color. Makes sense. But when I go to add a new user interface color, before I do anything other than change the name of the profile, the menu screen appears completely messed up and will not allow a selection on the screen. The classic UI works fine. But of course the customer wants the new UI. Anyone else experience this or know how to fix it?
Most of Acumatica can still be customized the same way as explained in the Classic UI guides.
https://adn.acumatica.com/blog/acumatica-customization-theming-white-labeling/
http://asiablog.acumatica.com/2015/12/doing-personalized-demo.html
Here is a quick example where I changed the background color to brown by using my "Brown" theme.
As you can see, I also managed to change the Modern UI top bar color to orange. To do this, you need to create an extra css file in your Website\Content folder. Just follow the filename convention which is Site{Theme}.css
Seems like a trival question but I'm stuck finding out how to change to text color for an operation(method) in Enterprise Architect 13.5.
The class name text color I can change through "Default Appearance" via Right mouse button. But I can NOT find a way to change the text color of one or more operation(s).
The reason I want this is because my class/object background color is dark(er) so I want a Light(er) text color for both my class name and operations so that they still are readable.
Thanks for helping!
You cannot change the color of individual operations.
You can only change the general default color using the general preferences.
I am writing a module for a VB.NET web page, which takes values from a database and inserts them into Office documents. Using the Open XML SDK in Visual Studio, I have managed to modify both Excel and PowerPoint files, but I have an issue with the color in PowerPoint's charts:
How can I change the color of a PowerPoint chart using the Open XML SDK, without also making the color separate itself from the theme?
Details below.
After adding my values to the worksheet behind the chart, and updating the visual lines/bars, all of the series appear to be using the same color. Therefore I also need to set the color of the series in the chart. I currently do this with the following code:
Dim barChart1 As DocumentFormat.OpenXml.Drawing.Charts.BarChart = chartPart.ChartSpace.Descendants(Of BarChart).First
Dim barChartSeries = barChart1.Descendants(Of BarChartSeries).ToList
barChartSeries(0).ChartShapeProperties.Descendants(Of SolidFill).First.SchemeColor = New SchemeColor() With
{ .Val = DocumentFormat.OpenXml.Drawing.SchemeColorValues.Accent4}
Basically, I set the first bar in the chart to use Accent4 as its color. Accent1, 2, 3 and so on correspond to the colors in the color palette of the PowerPoint presentation's theme. After this code runs, the first bar of the chart will be using the fourth color of the current palette.
The problem I'm facing is that after the color is set with code, the color value appears to be saved separately from the actual theme colors.
If I open the PowerPoint file and change the theme, all colors change except the ones I modified. In this example, the first bar of the chart would keep the fourth color for the previous theme, instead of using the fourth color of the new theme as it's supposed to.
This becomes a problem because my company's clients are supposed to be able to change the theme to one that suits them better, but they can't do that easily if some of the colors stick.
I'm using the Accent colors because the alternative seems to be setting an actual RGB color value, which leads to the same problem. I have tried the PowerTools plugin by Eric White, which simplifies the process of updating the charts, but it does not appear to solve the color problem. I may be using it wrong, but I've been unable to find specific info on how to debug color issues.
Thank you in advance for any help.
I'm not sure if this is true for VB.NET and OpenXML, but in the PPT object model, Scheme colors are still supported to maintain compatibility with pre-2007 versions of PowerPoint. New versions use color themes, not schemes. (yeah, I know. Welcome to the BizarroWorld that is PowerPoint).
In VBA, you'd use something like this to set the fill color of the shape referred to by oSh to Accent Color 2 in the current color THEME.
oSh.Fill.ForeColor.ObjectThemeColor = msoThemeColorAccent2
I'm working on a PresentationML parser, and I'm trying to implement support for themes with regard to font color. I'm working with the SDK, and I've puzzled out this monster:
Slide.SlidePart.SlideLayoutPart.SlideMasterPart.SlideMaster.SlideMasterPart.ThemePart.Theme.ThemeElements.ColorScheme
But it's still not clear where I go to get the color for a run which hasn't had it's color otherwise specified. Any help on this would be greatly appreciated.
TIA.
UPDATE: After just wading through the xml, it looks like the monster call I posted above is probably the right one...it yields an element with a "val" attribute that matches the hex code I'm looking for. But it's not clear how I would resolve the particular scheme in the color map ("Light1" in this case). I'm about 75% of the way there, I think - if someone can help me with the logic to know which scheme applies to a run, I think that's what I need.
The free ebook Open XML Explained might give some insight to aid your understanding. Under the PresentationML section, Document Content Structure it talks about how Themes and Master Layouts are used to give default values:
page 86 - 2nd Paragraph:
DrawingML theming can be used to create default values for fonts, layouts, and other branding related data and allow it to be separated from the main body of the presentation. A theme is reusable across all the Open XML markup languages. Inside a PresentationML package various themes are in use. By default each individual master, slide-, note- and hand-out masters, references a separate theme part. The presentation itself also references a default theme to be used in the presentation. This default theme shared with the slide masters by referencing the same part inside the package.
So, in the theme1.xml of your presentations SlideMaster, you will find a theme definition which is used for the slide master and your presentation. The color name Light1, Dark1, etc map to 12 required colors in the Color Scheme of the Theme Element for each theme. See schema for details.
So in the Run, you see Light1, which maps to the number defined in the theme. If the author changes a Master Layout and/or Theme, the Light1 doesn't change in the run, but the value in the theme might and that is where you get the new value from.
On Page 121, the 12 colors are mentioned in Open XML Explained:
Inside the theme element you are required to create a themeElements node which holds all the theme's data. At this level you can also apply extra information or overrides on the existing information inside the theme elements. Theme elements are built up using a set of child nodes, each node identifying a specific data item such as the fonts or colors. The clrScheme element defines a list of colors. The list of themed colors is limited to items such as 'accent1', or 'visited link'. Each of these theme colors uses a separate XML element, where the node name identifies the theme color. Inside this element you make use of the coloring mechanism discussed earlier on coloring shapes using DrawingML. In the markup sample 157 there are two theme colors defined, the 'dark-1' and 'accent-1' colors. The markup sample is not complete. You are required to define value for all the twelve theme colors.
Hope this helps...
I'm preparing Eclipse editor where one of the tabs is a tree with some values. I'm using colors and font style to give more information for the user. E.g. when the user puts a value which is out of range then the font color is red, or when a value is non-default then the font has a bold style.
But the user has to move the selection to another cell to see if the color/style has changed or not. Is it possible to change the color/style of the selected cell in the JFace tree?
There are several ways to do this. The two most obvious are:
Add your own custom label provider. Example here.
Add a label decorator. Here is a older somewhat dated article.
It is not possible to change the colors via theming.