Editable TableOfContents boxes in each Powerpoint slide header - powerpoint

I would like each slide in my Powerpoint 2013 presentation to have at the top an outline showing the location within the current chapter, something like:
I would like Powerpoint to create new slides based on this slide template, so I edited the Title+Content slide-type as above, in the Slides Master; I used the slide's default Title box for the title of my first section (Intro), then copied/pasted that box to obtain the boxes for the other presentation sections (Methods, Results).
I expected that, in the newly created slides, I'd be able to edit each of these boxes (highlight current section & current slide position), so as to suit the slide where I am at the moment, in terms of title and current slide.
However, I can only click inside the first box (the default one that Slide Master gave me) whereas the others are just "drawn" in the background. Also, even after clicking in that first box, the existing text disappears rather than being editable.
Also, is there a way to automate this slide layout somewhat? I used white/black dot circle symbols to indicate within-section current-slide number, but is there a smarter way to make this in Powerpoint based on slide count within the current section?
At the very least, I'd like to have editable text boxes at the top of each new slide, with pre-determined names that can nonetheless be edited, and (imporantly) that can be updated all at once from the Slide Master, in case I decide to change my chapter/section names.
Not a trivial task for Powerpoint, I know, but I'm hoping that the knowledgeable good people on here might give some good suggestions/workaround, for which I am grateful in advance.

You can trick PowerPoint into adding editable shapes to the slide master by inserting a text placeholder and changing to shape to your desired shape. A little clunky but it works.
See this link.
Alternatively, you could write some PowerPoint VBA to create the slides with the desired objects.
Update
I use PowerPoint 2013. I downloaded your PPT. I wasn't sure whether you were referring to the textbox with the text "replace text ... " or the main text box for the slide. I'll assume you're referring to the textbox with the text "replace text ... " (mind you ... the answer is still the same).
It looks like you're adding a text box to the slide master (which is not what I think you want). Add a text placeholder like the screen shot below which you add from the Slide Master ribbon. Once added you can change the default text formatting (which is a set of bullet points), and you can change the shape (in this example to a rounded rectangle). I don't believe (?) that its possible to create default text for the text placeholder in Slide Master that appears as default text when the default slide is created using the master.
Then when you leave master mode, you have an editable text box. If you reset the slide, this shape reverts to its default formatting and position, but any text you've added is retained.
You can also change the default text box on the slide master in the same way (shape, shape formatting and text formatting).

Related

Setting ENABLED to property_false for combo box list item does not alter the prompt foreground color

Using Oracle Form Builder 10.1.2.3.0, I have a List Item of type Combo Box with a Prompt and next to it in the same Block is a CheckBox.
When I disable these two items with
SET_ITEM_PROPERTY('block.item', ENABLED, PROPERTY_FALSE);
the CheckBox and its prompt go gray but the prompt portion of the List Item does not change. This makes the form and its developer look ridiculous.
Is this a bug?
To accomplish what I want I have to execute these when the List Item's enablement changes:
set_item_property('block.item', foreground_color, 'r150g150b150')
set_item_property('block.item', foreground_color, 'r70g70b70')
And these are just guesses because the color meter app is not perfect.
Half of the problem would "go away" if I could use a visual attribute but the form builder app complains about the "gray" color not being named.
Surely there is a better solution. Maybe playing with the LAF? But I have yet to figure out LAF customization.
I would not expect the prompt to change, but the edit area where text is entered will change. There is one exception. If running with colorScheme SWAN or BLAF the text edit are will always remain white unless you explicitly change the color. This is expected behavior.
If you are using SWAN or BLAF, which EBS does, by setting readOnlyBackground=true you can cause the edit area to go from white to a non-white color (the exact color will depend on the colorscheme in use). Because this parameter is not in the config by default it would need to be added manually and also added to the html template file.

How can I replace a portion of text in a picture that was inserted into a crystal-report?

I have a report containing an inserted picture.
There is a specific portion of the picture I wish to eliminate; in a sense, I want to 'erase' a portion of some text that is in the picture.
And, ultimately, I would like the option to insert a text box and do a 'custom replace' of that text within the picture.
So far, I inserted a text box with some text, but the picture shows through and I see double text.
The best option for you would be to edit the file that was originally used to insert the picture into your report. This will require some kind of editing software though. Once you have made the edits to the original picture, you may then remove the inserted picture from your report and then insert it anew using the new version of the picture.
If editing the image is not an option you could effectively cover up a portion of the picture using a Text Box object. However, by default a text box object will have no background color set, which makes it transparent. This is why you see the image behind the text box you inserted into your report. If you right click the text box and then select "Format Text" to open the Format Editor window. Then go to the "Border" tab in the Format Editor window and click the check "Background" checkbox in the Color group, then use the drop-down to select the background color for your text box object. You will likely want to use white as the background color unless your report has some other background color you need to match.

How do I tell PowerPoint to map two placeholders when switching slide layouts?

I start with a working example:
Open PowerPoint with a blank presentation.
Right-click the title slide and choose "Layout - Title and Content".
You see "• Click to add text"? Click and add some text.
Right-click the slide again and choose "Layout - Two Content".
See how smart PowerPoint can be?
The text you entered in the single placeholder before is now in one the of two placeholders.
Specifically, the left one.
My questions:
Why? (And not in an extra one?)
Why? (And not in the right one?)
My questions arises because I have received a set of master slides in which the above is not working, and I am trying to repair it without having to regenerate everything.
This is a site for programming issues, but the background behind this issue might be sufficiently complex. Modern PowerPoint files are XML. In the XML for each slide layout, each placeholder has an idx reference number. PowerPoint uses these on numbers to decide where to place content.
Lazy Designer Syndrome is the cause of what you're seeing. Instead of creating new placeholders in order, so the idx numbers would increment in a logical order, the designer has copied and pasted placeholders to avoid extra formatting work. The pasted placeholders all have the same idx number. As a result, PowerPoint has no idea of placeholder order and inserts content randomly.
This isn't always easy to solve without editing the XML, but you can try deleting all but the leftmost placeholder. Then create new placeholders by inserting them one at a time and reformatting them manually to match the first.
At first my attempts to follow the above failed, but now I got it working as well.
There are two different, but similar tags, id="" and idx="".
All objects in the slide has an id="" tag, this is not the tag to solve this problem.
The idx="" tag is only on Placeholder objects, except the those of Type=Title.
As described above you can set it to an integer value 1 and greater (I assume).
Make a plan for what Placeholder objects should be replaced across your layouts. I think of these as "groups" or "families", then assign the idx-values consistently throughout your slide layouts.
These "groups" or "families" of placeholders needs to be compatible for this to work, i.e. matching Type. The absence of Type means the placeholder is a general Content Type and match all Types.
During layout change, if Placeholders has incompatible Type while having the same idx-tag, PPT will look for the next Placeholder with matching Type.
#JohnKorchok's accepted answer provides the technical details for the procedure described here. Note that I only had "Content Placeholders" in my presentation.
Install 7-Zip and your favorite text editor (you can use one with an XML formatter, which will simplify things, but it's not required).
Open your file.pptx in 7-Zip (no need to rename to .zip, just right-click and "Open Archive")
Navigate to ppt/slideLayouts.
See a list of slideLayout....xml files.
Identify the ones you want to edit, e.g., by opening each one and looking for <p:cSld name. (The numbers may be indicative only of the order the layouts have been created, not of the order in which they are now shown in PowerPoint - although saving a .pptx files in PowerPoint 2016 does modify the slide layouts for me so that the display order matches the file name numbers.)
Look for <p:ph until you find the ones you want to edit. You probably want to ignore the ones with type="title", type="ftr", type="sldNum".
Change the idx of all other placeholders to 1, 2, ... in the order in which you want them filled (use the <p:cNvPr ... name= to identify the placeholders).
Save the .xml files, close your editor, and be asked by 7-Zip to update the archive. Answer "Yes".
So I set the idx to 1 for the one placeholder in my 1-content layout, to 1 for the left placeholder in my 2-content layout, and to 2 for the right placeholder in my 2-content layout.

Able to remove non-editable text in CKEditor by using right and left scroll

I have some text in CKEditor which should be editable and some text which should be non-editable.
The non-editable text I am enclosing in a span as below.
<span contenteditable="false" unselectable="on">Here is where my non-editable text goes</span>
The editable text I am enclosing in a span as below.
<span style="background-color:Yellow">$[insert Date]</span>
Here we are using style background yellow to highlight the editable text in yellow to the user.
I put my cursor within the editable text and move using the left or right arrow keys. Once I move outside the editable text area, I am able to remove even the non-editable text using backspace.
The issue is that as soon as my cursor moves outside the editable text area the code isn't able to detect any key press due to which I am not able to restrict the backspace or delete.
Does Range functionality help in this issue? If yes please help and give an example of where we can use the Range code.
EDIT:
It came to my attention that there is a $nonEditable dtd descriptor that could also come in handy:
https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dtd.html
https://ckeditor.com/old//forums/CKEditor-3.x/Forcing-custom-element-be-BLOCK-level-element
PREVIOUS:
You could use the widget functionality to make the text ineditable-- using contenteditable="false" in CKEditor can be a bit unpredictable, but the creating a widget extension plugin can have really nice results.
It would be a very basic widget that simply uses the upcast checking if the element has 'unselectable="on"', then the text will automatically become uneditable and using the arrow keys will simply skip over the text instead of entering it. You also get quite a bit of other functionality with the widget plugin and it makes it much easier to integrate into things like events, dialog editing, etc.
You can get a widget creation tutorial here:
https://docs.ckeditor.com/ckeditor4/latest/guide/widget_sdk_tutorial_1.html
For more information, I just answered a question about making parts ineditable here:
How can I create uneditable fields on CK Editor?

How to customize UI Dialogs in Wix to modify location/size of Labels

I've been wanting to modify the location of the InstallDirDlgDescription text (Click Next to install to the default folder or click Change to choose another.)
The x co-ordinate of this text by default is X="25" and the text overlaps with my logo (I've customized the dialog to change the banner to my logo).
I know I can change the VALUE of the String by doing -->
<String Id="InstallDirDlgDescription">This is a custom message.</String>
But is there a way of changing the location of the text (I want to set X = "5" so that the text shifts to left and doesn't overlap with my logo) ?
Thanks !
Use the UI element to change control attributes. See http://www.joyofsetup.com/2012/07/14/localizing-more-than-strings-in-wix-v3-6/ for examples.

Resources