Headings inside table cells don't appear in Navigation pane: workaround? - ms-word

I have a long table. Not realizing that headings inserted inside a table don't appear in the Outline View or the Navigation Pane (See Blom's answer to http://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_other/headings-do-not-appear-in-navigation-pane/c3ff186f-8363-47e2-9f46-8f2cf83d78b4), I put a bunch of Heading 1 and Heading 2 headings inside my table. Now I'm having trouble jumping around inside my document.
The brute force approach that has occurred to me is to split the table after every heading, and take the heading out of the table.
Any other ideas?
MS Word 2010.

This is a known issue and Stefan Blom's answer still holds:
It is a known limitation in Word that headings inside table cells won't appear in the Navigation pane. For what it's worth, the same thing applies to the predecessor of the Navigation pane, the so-called Document Map, in older versions of Word.
As you have noticed, Word properly adds headings inside a table to the TOC, fortunately.
If you want the headings to appear in the navigation pane you have to place them outside of tables, i.e. your suggested approach is the way to go.
If you still want the heading to appear like it is part of the table you can simulate that by adding a paragraph border around your heading. (Note: This still does not work if it is in a table cell. You must be outside the table cell.)

I had the same problem and found useful this alternative:
Select desired text inside the table and insert Bookmarks from Insert > Bookmarks:
Type a Name and add the bookmark :
Use Bookmark Panel (CTRL+SHIFT+F5) or "Go To" command to navigate inside the document

In my case, headings weren't shown because I mixed heading and body text. Example(black text: heading):
OR operator Displays records if any condition is TRUE
So I solved it putting the body text below
OR operator
Displays records if any condition is TRUE

Related

MSWORD2016: How do I force Table of Contents to identify a custom style as a heading?

I started with the minimalist table of contents title style, in other words based on the ToC Heading template. The important aspect is this template creates a vertical bar to the left of the title (picture below).
I would like to reproduce this for all of my headings throughout my document. My conundrum is the following:
As the base style is ToC Heading and not Heading 1, the table of contents will not reference it.
When I modify the base style from ToC Heading to Heading 1, the table of contents will naturally reference it; however, the vertical bar to the left of the title name is lost, as Heading 1 does not include this bar.
In other words, I want to keep the vertical bar, but it seems that only a ToC Heading base includes this aesthetic.
Picture (vertical bar can be seen in the document; style is based on ToC Heading)
How can I either force the table of contents to recognize my custom style as a heading to reference, or how can I retain the same aesthetic in my custom style after switching to a Heading 1 base?
Thank you!
Found it.
Highlight existing table of contents (highlighting the ToC title will create a menu above and to the left. Clicking on the ":" will highlight everything).
Click reference tab, look at the icon to add a table of contents, and click the arrow for a drop down menu.
Select custom table of contents from here.
Go to format. My custom style appeared there. I selected 1 as its heading level. It is now treated the same as Heading 1.
Add this table of contents and check the option to replace the current table.
Hope that helps someone else!

Word 2010: expand a control to fill its table cell

I have a table cell of fixed large size, and in it is nothing but a Plain Text Content Control, whose default placeholder text "Click here to enter text" takes up only a small portion of that table cell.
The problem is that if the user clicks anywhere in the cell but outside of the control's placeholder text, then starts typing, the entered text will not be part of the control and will not be subject to the control's style or any other control properties.
So - other than adding a lot of dummy characters to the placeholder text, which doesn't seem to be predictable in its word-wrap behavior, is there a way to make the control's placeholder text (or, in general, its click-boundary) fill the entire table cell?
UPDATE actually there were some carriage returns after the control that I was not aware of; after deleting those, clicking anywhere in the cell as long as the x coordinate if the click is greater than or equal to the leftmost x coordinate of the control will edit the control text value as desired. If you click leftward of the control, you will end up editing whatever fixed text exists to the left of the control, i.e. a fixed text label. Still strange. The workaround here was to split cells for all multi line text entry areas, such that the label is on its own cell, and the control is now at the leftmost edge of its cell.
Content controls do not support something like expanding to the surrounding container. They will always use only the space that is required to render their content.
If you want to prevent users from clicking and typing text outside of the control, you could use the following approach:
Put a rich text content control around your table/table row/cell
Put the plain text content control as a nested content control in the table cell (the plain text content control must be non-vanishing for this to work)
Make the outer content control read-only
Now the only thing the user is allowed to edit is the inner plain text content control. The downside of this approach is that your document now contains areas that are locked. This has an impact on usability, first, because, it may not be obvious to the user why certain areas cannot be modified, and second, because a lot of standard actions do no longer work if part of the selection is locked (e.g. Select All > Update ToC).

Bullet list text indent/align after tab

What I'm trying to do is create a bullet list in 'two columns'. So you have the bullet, a word, a tab and some aligned text like in the example below.
You have several alternatives:
Create a two-column table, with invisible lines. Fill the first column with your "bullet" word, and the second column with your "definition" (or whatever you are putting there.
Adjust the formatting for your special list item to include a tab where you want the text to appear and provide a "hanging indent" that lines up overflow text with that tab.
The second option is probably the best for you.

Hide row (and remove whitespace placeholder) of tablix in Reporting Services 2008

I have a row in a tablex that I want to hide based on a condition. I can do this with the visibility property and also using CanShrink as well is an option.
I've tried both of these and the best I can do is hide the row (make it invisible), but it keeps the whitespace it takes up - I need to remove the whitespace too so if it is not shown that it doesn't take up paper/viewing space.
I have also made the height of the row very small and put cangrow=true so that that if i populate the field with data based on an expression it will grow to the right size but this is not ideal because there is still 0.03125in of space for the row that is always shown (minimim height) and if it grows it grows to fit the text but not neccessarily the set size I want.
I thought I had done this before in an older version of RS but I can't seem to get it to work correctly in this version (2008).
Any ideas?
Try to set the Hidden property of the Static Row Group under the Details Group, in this case the whole row will disappear instead of the content of the textboxes.
If you are using Report Builder, you need to switch to Advanced Mode (make sure that the Properties and the Grouping windows are displayed, go to the upper right side of the Grouping window and press the black triangle):
Click on the second "Static" item under the "(Details)" group and you can set the Hidden property on the Properties window.
Link to MSDN sample
A simpler way to get to this option for hiding a row is to right-click on the row header and select "Row Visibility". From there you will get a dialog where to can enter an expression.
I was able to make the rows go away by setting the following 2 properties
textbox.CanShrink
row.Hidden
I played w/ row.HideIfNoRows and it seems to have no effect in accomplishing the desired outcome described by op.
Click on textbox, these one is in the properties of the textbox
(if there are multiple columns, I assume you will have to make this setting for each cell/textbox, in my case, I only had 1 column)
CanShrink=false
For the next property, you have to go into ADVANCED MODE by clicking the down arrow at the right side of the Row Groups/Column Groups pane.
Click on the Row containing the line you would like to hide.
The Hidden property can be found in properties pane...
This is an alternate way to set Hidden, as opposed to right clicking the Row Header in the actual Tablix.
Hidden= <expression describing when you want the row hidden hidden>
One other note - If you right click the Row Header and choose 'Row Visibility' you get a dialgue. the Row Property dialog has a caption "Show or Hide Based on an expression".
The actual behaviour is It will HIDE the row if the expression evaluates to TRUE.
IMHO - this is misleading, at best ambiguous.
Once you understand the property you are actually setting is called HIDDEN, then this makes sense. Until then, I certainly assumed I was setting a property called Visisble... FWIW....
On the empty row you want to hide, go to the text box properties and go to expressions -> visibility, then show or hide based on an expression and use
=iif(first(Fields!.Value = ""),true,false)
Setting row visibility logic is important, but I've learned that sometimes a blank row will still appear, even though its contents are hidden. To solve this, I had to do the following non-intuitive steps, but I did in fact succeed in completely suppressing unwanted white space.
In the cell in the tablix region, use the Insert > Rectangle menu option.
In the rectangle, use the Insert > Textbox menu option. Resize as needed.
In the textbox, right-click and enter a placeholder.
Set the value of the placeholder expression to whatever you need.

How to handle variable width FieldObjects in Crystal Reports

I have a Crystal Report which is viewed via a CrystalReportViewer control on an .aspx page (using VS2008).
The report has two data-driven FieldObjects (which can contain a variable number of chars) which I would like to display on the same line beside each other.
Problem is when the text in the first FieldObject is too long it overlaps the text in the second FieldObject.
I have tried setting the 'CanGrow=True' and 'MaxNumberOfLines=1' on the first FieldObject to 'push' the second FieldObject further to the right, but this didn't work.
How do I get the second FieldObject to always display immediately after the first FieldObject regardless of the length of the text in the first?
Cheers in advance of any knowledge you can drop.
you can add a text object to the report. And while editing the text of the text object, drag the field you want to show from the object explorer into the text box. Then hit space, then drag the second field in to the same text box. Your two fields will always be one space a part. You could, of course, add more spaces or any other text you want.
Or you can create a function which returns field1 + " " + field2 and add the function to the report.