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

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.

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.

Editable TableOfContents boxes in each Powerpoint slide header

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).

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?

Microsoft Word Highlighting Text White

For some reason, whenever I create a Text Box and start typing, the background text is highlighted white and I can't make it transparent. This picture should explain everything:
I want to remove the highlighting so the gradient in the background shows through. I used to do things like this a lot, but for some reason Word won't let me now. Any suggestions?
I am on Word 2011 Mac
Got some clues here and finally found a solution for MSWord for Mac version 16.9:
Select the text you want to fix
Select "Design" Tab
Click "Page Borders"
Click the "Shading" Tab
Select Apply to "Text"
[Fill] is showing "No Color". Open the selection and re-select "No Color"
Hit "OK"
Worked for me. It is obviously a bug in Word.
Right-click the text box that you want to make invisible.
If you want to change multiple text boxes, click the first text box or shape, and then press and hold SHIFT while you click the other text boxes.
On the shortcut menu, click Format Text Box.
On the Colors and Lines tab, in the Fill section, click the arrow next to Color, and then click No Color.
On the Colors and Lines tab, in the Line section, click the arrow next to Color, and then click No Color.
Click OK. Your textbox's background is now invisible...
It seems the actual text highlight is your problem, so try:
Go into Borders and Shading, apply it to text, and set it to clear. Had me confused because I've never had to do this before.
As seen here.
I also searched around and had trouble finding this.
In Word for Mac 2011
Highlight the text
Click tables in the ribbon
Find the shading icon (looks like a paint bucket)
Click the down arrow next to the bucket and select No Fill
Change the text format from anything apart from Normal text.(important)
Solution 1
Select the Text box and go to the "format" tab,
modify the outline and fill options
if this isn't enough
Solution 2
select the Text box and right click for options
select the last option "format shape"

Jqgrid edit row auto-resize option

Do we have a auto-resizing option for jqgrid edit mode. I use edit cell and say if the user has large text then, on double click it enters the edit mode, its likely that user cant read the text because that looks like text field is of fixed length. Is there a way we can resize it so that user can see the entire content/text.
If you are finding inline edit too restrictive, you might want to consider opening a dialog to edit a row instead. For example, the dialog could have plenty of space for your large text field.

Resources