How to fix width of plain text content control in Microsoft Word 2010?
I try to make the simplest solution for my custom to modify current Word template without hard code anything except field name.
As you can see above image, normally text field in Word is not fixed width control. So, it may affect document layout. Moreover, I want to add dotted line below all text fields in document template.
Is there any possible solution that end-user can do in normal Microsoft Word 2010 application?
PS. I will fill all controls with data from Microsoft Access.
In PDF file, I can easily create fix-size absolute position field inside document template like the following document. In Microsoft Word, I cannot fix even the size of plain text field.
PS. Nobody use table with fixed cell size as normal form (hard copy). I think Microsoft Word is really bad choice for creating any document template by end-user.
Criticizing Word for not doing the same as some other application is hardly relevant. Have you tried word-processing with Adobe Acrobat?
As for your PS, Word tables are ideal for the kind of thing you describe. Your assertion that 'nobody' does so is plain ignorance - it is a common practice. In my previous employment,
many forms were created using Word tables. Before complaining Word is a 'really bad choice', you should learn how to use it.
Cheers
Paul Edstein
[MS MVP - Word]
Similar Messages
-
How to fix Width of column in classic report.
Dear Friends
i am using Apex 3.2.
i have created Clasic Report and i have summary column in my report that column have description of issue so i want to fix width of that column nn Classic report .
i have try some code in html expression
<span>style="width: 480px; display: block; white-space: normal; font-size: 11px;">#ACTIVITY_SUMMARY#</span>
{code
after apply abovemention code that display me in my summary like this and not manage width of column.
style="width: 480px; display: block; white-space: normal; font-size: 11px;">Dear Cherryl, Greetings !! Thank you very much for the new query and we are pleased to confirm the availability of one single cabin in all the three categories of cabin on M.V. Mahabaahu. We would like to inform you that both the departures 15th Oct 2013 & 29th Oct 2013 (Golden triangle with Cruise) are operational and attached are the prices for your kind consideration. As a special promotion for the 15th Oct 2013 departure only, we are offering USD 100 per person reduction on the Golden triangle portion combined with the cruise. Kindly review and advise us to block the accommodation accordingly. Regards...pankaj
How to fix Width of column in classic report.
ThanksHi,
I'm working an example in APEX 4.2 so YMMV (your milage may vary!).
For Classic Reports, where the Column Attributes "Display As" is set to Display as Text (escape special characters ...:
1) I find that Column width and Element Width setting have no effect to make the column smaller or larger.
2) Here is one way that works:
- In the Region's Region Definition, under Attributes give the Static ID a name (no spaces), say, class-report.
- In the columns you want to affect, place "<div>#ENAME#</div>" in the columns Column Formatting "HTML Expression". Where "ENAME" here is the actual column name.
I'm using the EMP table as an example.
- Finally, in the page's HTML Header put, for example
<style>
#classic-report td.data[headers="ENAME"] div {
width: 200px;
color: blue;
#classic-report td.data[headers="JOB"] div {
width: 50px;
white-space: nowrap;
word-wrap: break-word;
</style>This makes the ENAME column wider and the JOB column smaller and wraps it.
Much more could be said. If you tweak you will find you can also affect spacing above, below and right/left of the data.
#classic-report .report-standard th.header {
border-left: #9fa0a0 1px solid;
padding: 2px 3px 4px 5px; /* top right bottom left margins */
font-size: 11px;
font-weight: bold;
vertical-align: bottom;
#classic-report .report-standard td.data {
border-left: #9fa0a0 1px solid;
padding: 3px 4px 5px 6px;
font-size: 9px;
}Does this help?
Howard -
How do I create a plain text version of my HTML Emailer?
Hi,
I have created an html emailer in Dreamweaver which works fine, but have noticed that there isn't a plain text version to go with it. How do I add the plain text version to the html so that people that can't see the html version will instead see the plain text version. any answers greatly appreciated.
Many Thank
Paul ConnorHere's an online tool from a good provider
http://templates.mailchimp.com/resources/html-to-text/ -
Hi,
I have a word document with a rich text content control that is mapped to a CustomXml. You can download an example here
http://1drv.ms/1raxoUr
I have looked into the specification ISO/IEC 29500-1:2012 and i understand that the attribute Target for the element Relationship can be set to NULL at times(Empty header and footer in the specification).
Now, i have stumbled on Target being NULL also when inserting a diagram into a word document. For example:
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject"
Target="NULL" TargetMode="External" xmlns="http://schemas.openxmlformats.org/package/2006/relationships" />
Why is Target="NULL" and how should i interpret that Target is null?
Br,
/Peter
PeterHello Peter,
The relationship in question is associated with the externalData element (ISO/IEC 29500-1:2012 §21.2.2.63). For the other two charts in this document, the corresponding relationships are of the other allowable form:
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet1.xlsx"/> <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet2.xlsx"/>
For charts 1 and 3 in your document, the data can be edited via the Chart Tools ribbon control. The option to edit data is not available for chart 2. The data used to create chart 2 is the same default spreadsheet data used for chart 1, and in fact the spreadsheet
references are still present in the file format, despite there being no apparent link to a spreadsheet for chart 2.
Thus, it appears that Target="NULL" in this context means that the chart is not associated with an external data source. The specification doesn't have much to say about the semantics of the Target attribute (ISO/IEC 29500-2:2012 §9.3.2.2) beyond
the fact that it be a valid xsd:anyURI, which the string "NULL" is.
It looks like there is some unexpected interaction between the chart and the content control. I don't think the file format is the issue. You will probably need to pursue that behavior from the product perspective via a support incident, if that behavior
is unexpected. If you still have questions about what is seen in the file format, please let me know.
Best regards,
Matt Weber | Microsoft Open Specifications Team -
Word 2010 Copy Rich Text Content Control
I am working on a Word 2010 template that links to another word document to copy information from Rich Text Content Controls. I am able to copy values between RTF controls but losing the rich text formatting - only text is copied over.
Any Suggestions on how to copy between rich text controls and still preserve the formatting?
Set sourceCCs = sourceDoc.SelectContentControlsByTag(sourceCCTag)
If Not (IsNull(sourceCCs)) Then
For Each sourceCC In sourceCCs
Set editCCs = editDoc.SelectContentControlsByTag(editCCTag)
If Not (IsNull(editCCs)) Then
For Each editCC In editCCs
If appendText Then
'editCC.Range.Text = editCC.Range.Text & vbCrLf & sourceCC.Range.Text
editCC.Range = editCC.Range & vbCrLf & sourceCC.Range
Else
'editCC.Range.Text = sourceCC.Range.Text
editCC.Range = sourceCC.Range
End If
Next
End If
Next
End If
Thanks in advanceTry something along the lines of:
Set sourceCCs = sourceDoc.SelectContentControlsByTag(sourceCCTag)
If Not (IsNull(sourceCCs)) Then
For Each sourceCC In sourceCCs
Set editCCs = editDoc.SelectContentControlsByTag(editCCTag)
If Not (IsNull(editCCs)) Then
For Each editCC In editCCs
With editCC.Range
If appendText Then
.InsertAfter vbCr
.Collapse wdCollapseEnd
End If
.FormattedText = sourceCC.Range.FormattedText
End With
Next
End If
Next
End If
Cheers
Paul Edstein
[MS MVP - Word] -
I'm new to VBA and need to better understand the syntax for identifying, accessing control "value" and setting the value from a user form.
My task is this, I have a word document containing the new Content Controls. I need to be able to access each individual control to initialize a UserForm control. I then need to update the "values of the controls on exiting the UserForm. Can someone
proved some simple sample code showing this functionality? I have surmised that the "range" attribute holds the value of the control but I need the textual or logical value of the control.
Thanks.Hi Gunteacher,
My task is this, I have a word document containing the new Content Controls. I need to be able to access each individual control to initialize a UserForm control. I then need to update the "values of the controls on exiting the UserForm.
What's content control you are using? Based on my understanding, we can indentify the content control by its tag and get the value of content control and initialize the control on the userform in the initialize event of userform. For example,
code below is that get the text of rich text content control:
ActiveDocument.ContentControls(1).Range.Text
And here are some helpful links about content control for your reference:
ContentControl Object (Word)
Working with Content Controls
What did you mean "I then need to update the "values of the controls on exiting the UserForm."? Did you mean that when the values of content control is changed, it should update the control on the user form which was open before?
As far as I know, there is no such event suitable for this secnario. If you want content control to support this event, I suggest that you submit the feedback from the "Smile Face" at the top right corner of Word.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Automatically inserting rich text content control
I have many word .docx forms which I would like to convert to a form which can be filled in with Reader. The word forms presently would be like ...we [name of parties] desire to enter into...
I would like to have a program which automatically finds the brackets and inserts a rich text content control box and then inserts whatever is within the brackets for the placeholder wording.
Can this be done and if so, is it code in XML or am I totally off my rocker?
ThanksHi Peter,
According to the description, you are using OPCHelper converting the Word document into byte. As far as I know, the OPCHelper is a third-part class, I suggest contact the vendor to get more effective response.
For this issue, did you want to retrieve byte data from the Office package? And based on my understanding, the office document support Open XML format is a zip. We can directly get the data from the zip package via
GZipStream.
Hope it is helpful, and if I misunderstood please feel free to correct me.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Word 2013 - Bulleted list inside rich text content control
Hi,
I'm mapping a rich text content control to an xml node within my custom xml.
While i'm in design mode i try to format the text so that it will be a numbered list.
One thing that i noted though was that the numbers are placed outside the content control. This is only my first observation.
The thing is, the rich text(RTF) that is saved within the custom xml is later used to populate a second document. This works great except for one small issue. The numbered list is not showing up within the second document.
Would appreciate any help i can get with this issue.
Br,
/Peter
PeterHi Peter
This is tricky, because...
By default, when you insert a new RichText content control it will not include the paragraph mark for the paragraph it's in. Numbering is a paragraph-level formatting.
If you work in Word, you can see this. Turn on the display of non-printing characters (the backwards P button in the "Home" tab of the Ribbon). Insert a RT content control and observe where the paragraph mark (backwards P) is in relation to the
CC's boundaries. Now press ENTER and observe that the paragraph mark is WITHIN the CC. Apply number formatting and you'll see that it's NOW inside the CC.
You can do this the other way around: apply the numbering then press ENTER. Again, it should now be within the CC.
This behavior is by-design. I would guess that lists the users type would have more than entry, so the numbering will be within the CC range when the custom XML is extracted?
Cindy Meister, VSTO/Word MVP,
my blog -
I am currently receiving error message "Microsoft Excel quit unexpectedly". Any suggestions on how to fix? I notice same message for powerpoint and word.
That generally has to do with data corruption. Is your data backed up?
What version of Office do you have?
What Mac operating system? -
How do I export a crossword puzzle from Adobe to Microsoft Word
How do I export a crossword puzzle, with numbers, to Microsoft Word without losing the numbers?
I think it is pretty much certain that this task is far too difficult. I don't think Word could hold a crossword puzzle (except as a big picture).
-
How do I add new fonts I've downloaded to Microsoft Word? It's in my font book but not usable on MW.,
Typical issue with Font Book.
Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point.
OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode. -
How to decrease Microsoft Word 2010 Add-in loading time
Problem Statement.Developed a Microsoft Word 2010 (32 bit) Add-In using VB.Net 3.5 in visual studio 2010. I am not sure if i followed required procedures but somehow i achieved what was required at client end.
Steps followed
1. New VS2010 solution VB >Office> Word 2010 Add In
2. Added ribbon and Inserted buttons on ribbon,
3. Added desired code behind buttons
4. Added a VS Installer setup project and added registry entries,
5. Manifest "path\WordAddIn.vsto|vstolocal"
6. LoadBehavior set to 3
Now problem is after installing Built Add In on Client computers Microsoft Word 2010 32 bit takes almost 25 to 40 seconds to load every time Word is started client computers having Win Server 2008 R2 64 bit.
Please guide how to resolve the issue.Hello Rakesh,
There can be multiple reasons why you see such delay. Take a look at the following links for more information:
Resolving performance issues with loading Office add-ins (VSTO add-ins or Shared add-ins)
slow load time for VSTO AddIn in Word 2013 64-bit
Is the certificate revocation enabled on the problematic machine? See
Under IE Security -> “Check for publisher's certificate revocation”. -
How do I make multiple plain text links active (clickable) at once?
I'm running Number 3.5.2 and I deal with a lot of documents that have long lists of URLs. Anytime I open a xls or numbers doc that already has the URLs pasted in, they're listed in plain text and not clickable. Is there a way that I can select all of them and make them active links, or at least do it in some reasonably scalable fashion?
I've found how to use the "Add link" or even the "Open URL" options using the right click menu. And I know about changing the character style to "Link" to make it active. But these options are only available if I click and highlight the specific content in a single cell. It doesn't allow me to select multiple cells and make the change.
I've also tried copying the URLs out of Numbers and into another program (text edit, email) but not too long ago it stopped letting me paste back in active links.
Any help would be much appreciated!Hi jroos,
The HYPERLINK function in another column.
From the Function Browser:
The HYPERLINK function creates a clickable link that opens a webpage or new email message.
HYPERLINK(url, link-text)
url: A standard universal resource locator. url is a string value that must contain a properly formatted universal resource locator string.
link-text: An optional string value that specifies the text that appears as a clickable link in the cell. If link-text is omitted, url is used as link-text.
Formula in C2 (and Fill Down)
=HYPERLINK(B2)
Then select Column C
Copy
Menu > Edit > Paste Formula Results
Delete Column B
Regards,
Ian. -
How to load data in plain-text file into database by using EJB?
Hi,
We need to develop an on-line application which requires us to load input data
from a selected plain-text file on the Web server (iplanet server) into the backend
oracle database. How could I use EJB to make it happen? it seems like using Entity
EJB is not feasible.
Really appreciate your help!
CoronaHi Corona,
"Corona Fang" <[email protected]> wrote in message
news:3f3b0ea3$[email protected]..
We need to develop an on-line application which requires us to load inputdata
from a selected plain-text file on the Web server (iplanet server) intothe backend
oracle database. How could I use EJB to make it happen? it seems likeusing Entity
EJB is not feasible.If you are talking about loading thousands of records,
the preferable way is using plain JDBC calls utilizing
batch methods.
Regards,
Slava Imeshev -
Text Edit Question: How Do I Create/Save PLAIN TEXT??
I've been using Macs now for over a year, and this is still an annoying quibble that I haven't sorted out. I don't know if this is the right place to raise this question or not, but there don't seem to be any other places for it, so it goes here.
How do create and save a simple, plain text, no code, no embellishments, file using this "TextEdit" program?
I'm familiar with Notepad in Windows. Used it for a million things for years and years. All it would do is "plain" (i.e. ascii) text. No frills whatsoever.
No I guess TextEdit is the Mac equivalent of Notepad? But it wants to do both "plain text" and "Rich Text Format," and apparently I haven't learned how to keep them separate.
I created a new file. I told it to make the file "plain text." Then I typed some stuff, saved and closed the file.
But when I reopened the file, I found all this crap in the header:
{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf330
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;\red41\green81\blue169;}
\margl1440\margr1440\vieww9000\viewh8400\viewkind0
\deftab720
\pard\pardeftab720\ql\qnatural
\f0\fs24 \cf0 \
And all these slashes and other code-type crap that makes the actual text I typed unreadable.
So, somebody, please, tell me: how do I create a simple plain text file like I used to be able to do with Notepad, and not have to worry about it being all garbled when I go to re-open it.
Should be easy, but it's not.
--PSIf I format fonts, even in a "plain text" document, am I going to wind up with code again when I reopen it?
Not unless you save it as rich text.
Why is a "plain text" document even offering me bold and italics or any other kind of formatting?
Why would someone wanting to write plain text use bold or italics options? On the other hand, I'm sure many people would like to print and compose formatted text now and then even when they prefer to keep TextEdit in plain text mode for most of their work.
I miss notepad. All it did was plain text. No options to confuse things. Where is the Mac equivalent of THAT??
Try TextWrangler
Maybe you are looking for
-
Hi All, Im relatively new to Ai and Indesign, and have been doing Uni work over Christmas, and have a rather urgent question thats stressing me out. I originally had many art boards in my ai file, but due to the number, I split these into single file
-
Is there a way I can view all apps I have ever downloaded?
Is there a way I can view all apps I have ever downloaded? Like some sort of historical list associated to my account? It would help a great deal- I restored my phone from a backup after my iphone crashed- but I had downloaded many apps since then, s
-
How to change font size and style in Oracle Report Builder 6i?
Hi, is it possible to change the font size or style in a chart? how??? if I mark the chart and change the font maybe to tahoma, there's no change visible and the value will be set to arial directly. any tips? thanks
-
Hi, [Oracle 11g, Apex 4.2] I am currently developing an apex application. I found a post at [http://www.talkapex.com/2009/01/apex-report-with-checkboxes-advanced.html |http://www.talkapex.com/2009/01/apex-report-with-checkboxes-advanced.html ] which
-
Adding new Users ,Roles in existing application except jdev
Dear All, I am creating a test application to workaround with adf security, I created some users, enterprise roles and application roles, gave proper mapping to the adf resources(jsf and taskflows), and every thing is working fine. I am doing all thi