Set default text size/color for text boxes in Master Slide PowerPoint 2013 - textbox

I'm working with a PowerPoint document which annoyingly sets all newly inserted text boxes' color to Red and uses Century Gothic. I believe this is due to the Master Slide being used by the document.
I would like to remove this automatic setting from text boxes in the Master Slide but I cannot figure out how?
I have gone into the Master Slide view and found that there are no text physical text boxes, there are however "Text Placeholders" but no text boxes. I find it strange and wonder:
how are these newly inserted text boxes contain pre-set font type and color?

If you aren't trying to do this in code, StackOverflow isn't really the right place for the question; you want SuperUser for "How do I ..." questions that don't involve code.
But what you want to do is select a text box that's formatted the way you want default text to be, then right click it and choose Set As Default Text Box. You won't get that option if you've clicked WITHIN the text box and have an insertion cursor; in that case press ESC, then rightclick.
If you're trying to do this in code, select a text box formatted to taste then do something like this:
Sub SetMeAsDefault()
Dim oSh As Shape
Set oSh = ActiveWindow.Selection.ShapeRange(1)
With oSh
.SetShapesDefaultProperties
End With
End Sub
The shape and text box defaults are independent of master formatting, which controls only the formatting of placeholders and text within placeholders. Text/shapes inserted via the Insert ribbon/menu follow the defaults set for the presentation as I've described above. Each presentation (and template) can have its own set of defaults.

Related

(DOORS DXL) Creating title page in Word with different size/color text

I currently have a script that creates an HTML page that shows the differences in scripts that were made since the previous baseline and then saves it as a Word document. Now, what I'd like to do is add a title page with text that is of a different color and size than the main document. This text will also need to be centered to make it look more like the other documents our company makes. Luckily, the title of the document will be the same for all versions, so I'm adding this part of the script to before it adds the differences. However, I'm not sure how to make the text display as a different color and size before adding a "new page" break for the rest of the document. Can somebody help me out with how to add the text and new page to the front of the current document?
Chris

Weird behavior for textarea in diagrams.net (draw.io) format panel

I'm facing a very weird (& blocking) issue using diagrams.net webapp.
I'm trying to add some nodes in the Format Panel. I created a new tab in this panel & added in it some new inputs.
There are text inputs, checkbox inputs & textarea.
But the behavior is absolutely not the expected one.
For text & cb inputs, everything works fine, but textareas behavior is... at least very weird:
The field can't get focus by mouse clicking (remember that click works on other inputs). The only way to set the focus on it is by using JS focus() method.
Text inside the tag can't be selected by mouse. If element has the focus, text can be updated. Moreover, even if text can be changed, text cursor cannot move from the end of the text.
Textarea box is not resizable. There is the bottom-right arrow to resize it & I added the "resize" value to be sure but the feature doesn't disable but I juste can't. BUT ! If I set the attribute "disabled" then I can resize the box. Unfortunately, I can't disable the textarea since I want to put it because I need to write in it.
I can't show you code for now (it's just a new node creation using document.createElement) but you can easily test this: go to drawio webapp & when the webapp is loaded, use the Inspector in the developer tools to add a new textarea node in the format panel (div with ".geFormatContainer" class) : element is not focusable with the mouse, text inside it is unselectable & box is not resizable as long as "disabled" attribute is not set.
I added a click listener in the component to check if click did something & it does, but it doesn't give the focus to the element (document.activeElement says that body is focused -_-) so I think there is something in mxgraph which avoids the element's classic behavior. But what ?

Managing paragraph Tab settings in a tRichEdit - Delphi

I am working with a tRichEdit component and using a tSpinedit to determine tab spacings using the trichedit.oncreate event to generate an array of tab positions to begin with. This is working fine and each new paragraph I generate uses the defined tab spacing. However, when using the SpinEdit1 Change event, I can change the tab spacing for the paragraph of text in which the cursor is placed, but it is not performing across the whole richedit text.
Is there a way to apply new tabstop settings across all of the paragraphs in a richedit document?
When I change the tab settings using tForm1.SpinEdit1Change, the tabs change for the current paragraph and subsequent ones, but previous paragraphs remain as they were. Is there a way to iterate through the paragraphs in the richedit1 content to change all of them in a 'for' loop? I have not found any array or list in the properties. Is there a property for setting the tabs globally at runtime or another approach that will accomplish this?
Select all paragraphs (from the very beginning to the end of the document) before setting the tab positions. You can select all paragraphs either manually, or programmatically with
RichEdit1.SelectAll;
Ref. documentation:
Vcl.ComCtrls.TCustomRichEdit.Paragraph
Paragraph formatting information includes alignment, indentation,
numbering, and tabs.
Paragraph is a read-only property, because a TCustomRichEdit object
has only one TParaAttributes object, which cannot be changed. The
attributes of the current paragraphs, however, can be changed, by
setting the properties of the TParaAttributes object.
The current paragraphs are the paragraphs that contain the selected
text. If no text is selected, the current paragraph is the one
containing the cursor.

Removing Formatting from Text Box Controls - InfoPath

I'm working in InfoPath and somehow created about 16 Text Box Controls with formatting that I cannot override in terms of text size as well as strikethroughs. Any suggestions to be able to remove the formatting and be able to maintain these controls?
It sounds like you got into the code and accessed the toolbar. If you right click on the textbox and go to properties it should take you to the properties window. Make sure under the space next to "Text" in the properties window is blank.

Increase/Decrease a field in OpenOffice Calc

I'm trying to count (and sum up) different (physical) items and input those counts in a spreadsheet. Is there a way to increase (or decrease) an integer in a field in OpenOffice Calc? Mouse or keyboard input.
Either a shortcut+macro combination or something along the lines of these (fictive) arrows:
i.e. pressing up would increase the field to value 43
In fact I would be happy for any suggestion for an open programme that would digitalize such input and produce some sort of csv or similar output.
Via View - Toolbars - Form Controls get the toolbar Form Controls visible.
There you have Spin Button control (see tooltips).
Insert this on the sheet by clicking it and pull the size of it with the mouse. Pull it longer than width.
Right click the control and select Control... from the context menu.
On the Data tab set the Linked cell to A3 for example.
Now switch the design mode to off by clicking the corresponding button at the toolbar Form Controls (see tooltips).

Resources