D2 HWhats New Guide
D2 HWhats New Guide
CONTENTS
CHAPTER 1 Introduction
9
10
21
22
24
25
37
38
42
44
57
61
APPENDIX PDFs
65
iv
CHAPTER 1
Introduction
This version of Doc-To-Help contains several new features and enhancements.
For more information about each feature discussed in this manual, open the online Help and
refer to the "What's New in this Version" topic. Links are provided in each new feature
description, taking you to topics that contain additional information and steps.
This chapter discusses the following:
What's New?
For More
Dynamic Add-
See "Dynamic
In Modes
Add-In Modes" on
you opened
page 9.
Panels
Panels" on page
21.
See "Template
Enhancements
Enhancements" on
page 37.
11" and A4 formats, based on both the Fancy and No Margin templates
Source templates can now be customized so that any
text in the source template is used when creating a new
document
Feature
What's New?
For More
New Doc-To-
Help Options
Dialog Set-
log Settings" on
tings
page 57.
New Themes
and
and Stylesheets"
Stylesheets
on page 61.
CHAPTER 2
Supported Commands
10
Supported Commands
The following Doc-To- Help ribbon commands are supported in Basic and Full mode. For more information,
see the online Help.
Basic
Open Doc-ToHelp
Project Panel
Build Panel
Find Project
Add Topic
Rename Topic
Delete Topic
Heading 1 Style
Heading 2 Style
Heading 3 Style
Heading 4 Style
Link
10
Full
Basic
Full
Inline Text
Keyword
Group
Link Tag
Topic Properties
Conditional
Text
Variable
Collapsible Section
Clear Formatting
Apply Style
Margin Note
Create Margin
Note
Remove Margin
Note
11
Basic
Set Margin Note
Link
Delete Margin
Note Link
Add Margin
Note Definition
Delete Margin
Note Definition
Clear Margin
Note Definition
Links
Highlight Margin Note Definition Links
Image Map
Editor
Multimedia
12
Full
Basic
Full
Generate PDF
Print Master
Document
About Doc-ToHelp
1
If a project associated with the source document is opened, the add-in will switch to Full mode.
Allows you to change the project association to another project containing the open document.
EXA MPLEN O
FEA TU R ES
MOD E
This document is a template. You do not need Doc-To-Help functionality for this document, so the
Doc-To-Help Word add-in opens in No Features mode. It is the same as if you opened Word without
using the Doc-To-Help add-in.
13
MOD E
This document was opened in Word but is not included in a Doc-To-Help project. The Doc-To-Help
Word add-in opens in Basic mode, so you can make simple changes to the document using the
Doc-To-Help ribbon.
14
MOD E,
PR OJEC T
OU TPU T
This document is a finished Manual output built from Doc-To-Help. The Doc-To-Help Word add-in
opens in Basic mode. This is because you do not want to do heavy editing in the finished output, but
you might want to make some minor changes or notes using the features in the Doc-To-Help ribbon.
You can also create PDFoutput from the Word document using the Doc-To-Help ribbon.
15
EXA MPLEFU LL
MOD E
This document is included in a Doc-To-Help project. The Doc-To-Help Word add-in opens in Full
mode, and you can use all of the functionality in the Doc-To-Help ribbon.
16
Important: Doc-To-Help uses the DocToHelp WCF Service to communicate with the Word addin. This service runs at startup and is required for the Word add-in to run. If the service is stopped
or not installed, the add-in will not switch to Full mode.
17
Note: The Word add-in will search for projects in the following locations, in this order:
1. Open Doc-To-Help projects
2. Existing Doc-To-Help projects in the same folder as the opened document
3. Existing Doc-To-Help projects in the parent folder as the opened document
If more than one project is found, a dialog will open and you can select the appropriate project. The
project you select will be remembered as the default for the document.
If you open a document from the Sharepoint server (not the local copy), the Doc-To-Help project
won't be found automatically. You must open the document separately for Doc-To-Help to find the
project.
Note: When an existing document is added to a project, the Word add-in will run in Basic mode or
Full mode, depending on the settings you choose. By default, the document is copied into the project folder; if you leave this recommended default setting, the Word add-in in the original document
will still run in Basic mode, and the copied document now in your project will run in Full mode. If
you do not select to copy the document to the project folder (i.e., you leave the document in its original location), the add-in in the original document will switch to Full mode.
If an existing document is removed from a project, the Word add-in automatically switches to
Basic mode.
Note: If you rename (Save As) a document in Word, the add-in will try to find a Doc-To-Help project that contains a file with that name. If it cannot find a project, the add-in will switch to Basic
mode.
18
Note: You do not need to open Doc-To-Help to open a source document. If the document you
open in Word is associated with a Doc-To-Help project, and that project is not already open in
Doc-To-Help, Doc-To-Help opens in hidden mode. When you close all of the source documents
associated with a hidden project, the hidden project is also closed.
When Doc-To-Help opens in hidden mode, it is like it is running in the background. You will have
access to any Doc-To-Help functionality available in the Doc-To-Help Word add-in. You can open
the Doc-To-Help application by selecting the Open Doc-To-Help option on the Doc-To-Help ribbon.
Note: The Special Formatting and Sandcastle ribbons are only available in Full mode.
Note: The Word add-in is supported by Word 2010 and higher. It supports *.doc, *.docx, *.docm,
and *.rtf files.
Note: If the add-in is disabled, you will not be able to use the Doc-To-Help ribbon. A prompt will
alert you if the add-in becomes disabled. You can turn this prompt on or off from the Options dialog.
19
20
CHAPTER 3
22
24
25
22
Note: If the Doc-To-Help Build panel is closed while a target is building, the Doc-To-Help Progress panel will open. See "Doc-To-Help Progress Panel" on the next page.
23
24
25
WINDOW PANES
The Doc-To-Help Project panel includes four window panes: Documents, Contents, Index and Groups, and
Variables.
DOCUMENTS WINDOW PANE
You can use the Documents window pane to view and open all of the source documents that are part of the
current Doc-To-Help project. Double-click a document to open it in a new instance of Word.
You can drag documents from the Documents window pane to the current document to create a
D2HMLlink to another topic.
26
Note: Unlike the Documents window pane in the Doc-To-Help application, the Documents window pane in Word's Doc-To-Help Project panel does not have a local toolbar. This is because the
toolbar functionality in the Doc-To-Help application is not applicable while in Word. If you need to
perform a task available in the local toolbar (e.g., converting documents to HTML5), you can use
the window pane in Doc-To-Help.
27
and
buttons in the local toolbar. Double-click any entry to quickly jump to that
topic. If the topic is in a source document that is not open, the document will open in a new instance of
Word.
You can also drag entries from the Contents window pane to the current document to create links.
28
29
project groups. You can expand or collapse the list of index keywords using the
and
to display the
buttons.
You can drag index keywords or groups from the Index and Groups window pane to the current document to
create links. Select the word you want to use as a keyword, then drag the keyword from the keyword from
the window pane to the document. To apply multiple keywords or groups to a selection, hold down the
SHIFT or CTRL key, then select the items you want to link.
30
31
Note: Keywords and groups that have a checkbox next to them were created using the Index and
Groups window pane in Doc-To-Help.
32
33
Note: Unlike the Variables window in the Doc-To-Help application, the Variables window pane in
Word's Doc-To-Help Project panel does not have a local toolbar. This is because the toolbar functionality in the Doc-To-Help application is not applicable while in Word. If you need to perform a
task available in the local toolbar (e.g., converting variables documents to HTML5), you can use
the window in Doc-To-Help.
34
35
36
CHAPTER 4
Template Enhancements
Several enhancements have been made to Doc-To-Help's templates. Macros have been
removed from all templates, two new policies and procedures templates have been added,
and source template functionality has been changed to give you more flexibility when creating custom templates.
This chapter discusses the following:
Macro-Free Templates
Policies and Procedures Templates
Source Template Updates
38
42
44
Macro-Free Templates
Doc-To-Help's existing macro-enabled DOTMtemplate files have been replaced with macro-free DOTX
templates.
When you open a new DOTXtemplate, you will not see the Doc-To-Help ribbon. This is because the functionality available in the ribbon is not necessary when editing a template. However, you will still have
access to Doc-To-Help styles and variables.
UPGRADING TO NEW TEMPLATES
When you upgrade to Doc-To-Help 4, your current target and default source templates will be upgraded
automatically to the latest version.
Additionally, if any of your project documents reference previous-version templates, you will see a prompt
asking if you want to update all of your preinstalled templates to the new version.
If you choose to update the templates, the project documents will point to the new templates with the
DOTX extension.
Important: If you are using a custom template that uses the old macro-enabled DOTMformat (or
if your import a Word document that uses a DOTMtemplate), you may see two Doc-To-Help ribbons while authoring in Word. This occurs when you are working in a Word document based on a
template that contains macros while you are simultaneously using the latest version of Doc-ToHelp (which uses the Doc-To-Help Word add-in to open the Doc-To-Help ribbon).
If your target template uses the DOTMformat, you may also see two Doc-To-Help ribbons when
viewing your Manual output in Word.
To resolve this, you should update your document's source template and your project's target template to a DOTXtemplate. You can use the Word Organizer to import your styles from your old
template to your new template. See the online Help or the Making It Look Good Guide.
38
New Template
D2H_HTML.dotx
Note: This is the default template for HTML-based targets in new projects.
C1H_NOMARGIN.dot
D2H_NOMARGIN.dotm
C1H_NOMARGIN_
D2H_NOMARGIN.dotx
Note: This is the default source template in new projects.
D2H_NOMARGIN_A4.dotx
A4.dot
D2H_NOMARGIN_
A4.dotm
C1H_NORM.dot
D2H_NORM.dotx
D2H_NORM.dotm
C1H_NORM_A4.dot
D2H_NORM_A4.dotx
D2H_NORM_A4.dotm
C1H_PRNOMARGIN.- D2H_PRNOMARGIN.dotx
dot
D2H_PRNOMARGIN.-
dotm
39
Old Templates
New Template
C1H_PRNOMARGIN_ D2H_PRNOMARGIN_A4.dotx
A4.dot
D2H_PRNOMARGIN_
A4.dotm
C1H_PRNORM.dot
D2H_PRNORM.dotx
D2H_PRNORM.dotm
C1H_PRNORM_A4.-
D2H_PRNORM_A4.dotx
dot
D2H_PRNORM_A4.dotm
C1H_PRSIDE.dot
D2H_PRSIDE.dotx
D2H_PRSIDE.dotm
C1H_PRSIDE_A4.dot
D2H_PRSIDE_A4.dotx
D2H_PRSIDE_A4.dotm
C1H_PRSMAL.dot
D2H_PRSMAL.dotx
D2H_PRSMAL.dotm
C1H_PRSMAL_A4.dot D2H_PRSMAL_A4.dotx
D2H_PRSMAL_A4.dotm
C1H_sandcastle_src.dot
D2H_sandcastle_src.dotm
40
D2H_sandcastle_src.dotx
Old Templates
C1H_SIDE.dot
New Template
D2H_SIDE.dotx
D2H_SIDE.dotm
C1H_SIDE_A4.dot
D2H_SIDE_A4.dotx
D2H_SIDE_A4.dotm
C1H_SMAL.dot
D2H_SMAL.dotx
D2H_SMAL.dotm
C1H_SMAL_A4.dot
D2H_SMAL_A4.dotx
D2H_SMAL_A4.dotm
D2H_FANCY.dotm
D2H_FANCY.dotx
Note: The Fancy template is now also available in A4 sizing. There is
not an "old" version of this template.
D2H_PRFANCY.dotm
D2H_PRFANCY.dotx
Note: The Fancy template is now also available in A4 sizing. There is
not an "old" version of this template.
Note: All four Policies and Procedures templates (A4 and 8.5" x 11", Fancy and Plain) are new in
Doc-To-Help 4.
41
42
43
44
Tip: If you are creating custom templates and you edit the first-level heading (labeled
"Chapter 1" in most templates), be sure that the ChapterHeading bookmark does not get
deleted. The ChapterHeading bookmark is necessary for Doc-To-Help to know where to
insert content when building output. If it is deleted, you may end up with duplicate content.
To do this in Word, select the Insert ribbon, then click Bookmark. The Bookmarks dialog
opens. If the ChapterHeading bookmark is not listed in the dialog, you can add it. If it is
already listed, you do not need to do anything. For more information, see the Microsoft
Word online Help.
3. Save the source template. Be sure to save it as a .DOTXfile and use a unique name.
Note: It is important that you save your templates to a shared location, such as a network
drive, if you are working with other authors.
If you are working alone, you can save the template to your C:\Users\[username]\AppData\Roaming\Microsoft\Templates folder.
4. (Optional)Open the target template. If you created any styles in the source template to use while creating your document, use the Word Organizer to copy those styles over to the target template.
Note: The placeholder text in the target template dictates where your content will be added
in the output. Do not change the text in the target template.
45
5. Save the target template. Be sure to save it as a .DOTXfile and use a unique name.
Note: Be sure to save the template as a unique file even if you did not make any changes
to it.
Note: It is important that you save your templates to a shared location, such as a network
drive, if you are working with other authors.
If you are working alone, you can save the template to your C:\Users\[username]\AppData\Roaming\Microsoft\Templates folder.
6. Create a new Doc-To-Help project. When given the option to select a template, select Add my own
set of styles from the drop-down, then select your custom template.
7. (Optional)When Doc-To-Help opens, be sure to add your target template to the project to use when
building output. You will not need to do this if you are using NetHelp as your target, because the
HTMLtemplate is already selected by default.
EXA MPLE
Let's say your company writes knowledge base articles. Your articles need to include five
headings:a title, a summary, a description, a solution, and an attribution. You decide to create a custom template that includes headings for each of these sections. Because the articles are often written by different authors, you also want to include some sample text to guide the authors when they
create a new article so each article will be written the same way and have a common voice.
To do this, you first create a copy of the source Doc-To-Help template most like the template you
want to create. You decide to use D2H_NOMARGIN.dotx as a base for your new template because
it is basic and you do not need any extra frills for your knowledge base articles.
46
47
For now, you can save the copy of the D2H_NOMARGIN.dotx template to your desktop, since you
will be making changes to it. It is important to save a separate copy of the template in a new location, such as your desktop, so it does not get mixed up with the original Doc-To-Help template
while you are making changes.
48
Open the document and make your changes. You add a Title placeholder as a Heading 1, and the
rest of your headings as Heading 2s. You also add some sample text in each section. You do not
make any style changes.
When you are done, your sample document looks like this:
49
Save the new source template as Knowledge_Base.dotx. Since you are working with several other
authors, be sure to save it to a network drive so everyone has access to it.
Then you copy the coordinating Doc-To-Help target template (D2H_PRNOMARGIN.dotx) to your
desktop (again, it is important to keep this copy separate from the original to prevent errors).
Open the copy of the target template. Save it as PR_Knowledge_Base.dotx so you can distinguish
it from your source template. You do not make any other changes. Be sure to save your new template to the network drive so other authors can access it.
50
Once you have saved your copies to the network drive, you can remove the temporary copies from
your desktop.
51
Later, your authors create a new Doc-To-Help project using the Knowledge Base source template.
52
When they create a new document, they see all of the default text you added to the template. They
are able to use this text as a guideline to create the knowledge base article.
53
The authors also add the new Knowledge Base target template to the project, and use it when building printed output.
54
55
Important: If you do not update your preinstalled source templates when you update to the new
version of Doc-To-Help (not recommended), your projects will contain extra placeholder text when
you build output. You can delete this text.
It is recommended that you update your source templates when you update to ensure that your
output is built the way you intended. For more information, see the online Help.
Tip: If you are creating custom templates and you edit the first-level heading (labeled "Chapter 1"
in most templates), be sure that the ChapterHeading bookmark does not get deleted. The ChapterHeading bookmark is necessary for Doc-To-Help to know where to insert content when building
output. If it is deleted, you may end up with duplicate content.
To do this in Word, select the Insert ribbon, then click Bookmark. The Bookmarks dialog opens.
If the ChapterHeading bookmark is not listed in the dialog, you can add it. If it is already listed, you
do not need to do anything. For more information, see the Microsoft Word online Help.
56
CHAPTER 5
Display Progress Panel in All Open Word Documents During Build This setting is checked
by default. This setting is used to display the Doc-To-Help Progress Panel whenever you start building a target and the Doc-To-Help Build Panel is not open.
If the Doc-To-Help Build panel is already open, this setting doesn't have any effect.
58
Prompt if Word Add-In is Disabled On Startup This setting is checked by default. Doc-To-Help
will alert you if the Word add-in has been disabled when you start Doc-To-Help. If the add-in is disabled, you will not be able to use the Doc-To-Help ribbon. You will be able to re-enable the add-in
from the prompt (you can also re-enable the add-in manually from the Word Options dialog).
59
60
CHAPTER 6
EXA MPLES
This is an example of the Responsive Logo theme and the jquerymobile\green stylesheet.
62
This is an example of the Accordion Logo theme and the jquery-ui\green-sheen stylesheet.
63
This is an example of the Tabs Logo theme and the jquery-ui\green-sheen stylesheet.
Note: If your project is using a default setting from a previous version, it will not be affected by
these changes. However, if you prefer to use one of the new themes or stylesheets, you can
manually change it to use a new setting.
64
APPENDIX
PDFs
The following PDFs are available for download from the online Help.
On the Doc-To-Help Start Page, click the PDF Guides icon to access them.
Context-sensitive Help Guide
Sandcastle Guide
Shortcuts Guide
Targets Guide