Error trying to adjust Text Block top margin

M

Mark Tangard

On a flowchart I have, if I try to change the Top Margin spec for a
given (or several) Text Block(s), I get a message citing Error 3400,
Action 1642, and suggesting I close & reopen.

Closing/reopening has no effect. I can't change the top margin on any
of the shapes. There's nothing unusual about the diagram. It's got 7
shapes (all the same style), 6 connectors (ditto). One of the shapes is
pretty full and I've done a fair amount of paragraph-space adjusting to
fit all the text. The file was created just recently (and so was the
template on which it's based). Other files allow this operation without
problems.

Any ideas how to fix this? Visio 2003, WinXP.

Thanks,
 
M

Mark Nelson [MS]

Are you setting the margin through the Text dialog or via the Shapesheet?
Does the other way also cause the same problem?
 
M

Mark Tangard

I'd been try to set it through the Text dialog. With the Shapesheet it
also fails, but with different error language: "An Error (1) occurred
during the action Set Formula or Name. Unexpected end of file."

Curious....

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters

Are you setting the margin through the Text dialog or via the Shapesheet?
Does the other way also cause the same problem?
-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
 
M

Mark Nelson [MS]

Very strange. You might try round-tripping the file through XML to see if
it can clean itself up. Save the document as VDX. Then open the file in
Notepad or another editor. Make some harmless change like adding a space
and deleting it again, then resave the file. Now reopen the file in Visio.
 
M

Mark Tangard

Mark,

Wow. This worked!! I confess I have absolutely NO CLUE what saving as
XML actually *does*, but it sure banished the evil spirits. Is this
essentially a way to "decompose" a drawing & then reassemble its freshly
aired-out components?

Thanks very much.

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters

Very strange. You might try round-tripping the file through XML to see if
it can clean itself up. Save the document as VDX. Then open the file in
Notepad or another editor. Make some harmless change like adding a space
and deleting it again, then resave the file. Now reopen the file in Visio.
-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
with no warranties, and confers no rights.

I'd been try to set it through the Text dialog. With the Shapesheet it
also fails, but with different error language: "An Error (1) occurred
during the action Set Formula or Name. Unexpected end of file."

Curious....

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters


Mark Nelson [MS] wrote:
Are you setting the margin through the Text dialog or via the
Shapesheet?
-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
shapes

is
to
without
 
M

Mark Nelson [MS]

Yes, it is one method of cleaning out bad bits. Using "untrusted" XML in
Visio causes a total recalc of the shapesheet. This is great for rebuilding
files but load time for the file is slower than binary or trusted XML.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

Mark Tangard said:
Mark,

Wow. This worked!! I confess I have absolutely NO CLUE what saving as
XML actually *does*, but it sure banished the evil spirits. Is this
essentially a way to "decompose" a drawing & then reassemble its freshly
aired-out components?

Thanks very much.

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters

Very strange. You might try round-tripping the file through XML to see if
it can clean itself up. Save the document as VDX. Then open the file in
Notepad or another editor. Make some harmless change like adding a space
and deleting it again, then resave the file. Now reopen the file in Visio.
-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
with no warranties, and confers no rights.

I'd been try to set it through the Text dialog. With the Shapesheet it
also fails, but with different error language: "An Error (1) occurred
during the action Set Formula or Name. Unexpected end of file."

Curious....

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters


Mark Nelson [MS] wrote:
Are you setting the margin through the Text dialog or via the
Shapesheet?
Does the other way also cause the same problem?
-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
with no warranties, and confers no rights. "Mark Tangard"

On a flowchart I have, if I try to change the Top Margin spec for a
given (or several) Text Block(s), I get a message citing Error 3400,
Action 1642, and suggesting I close & reopen.

Closing/reopening has no effect. I can't change the top margin on any
of the shapes. There's nothing unusual about the diagram. It's got 7
shapes (all the same style), 6 connectors (ditto). One of the
shapes

is
pretty full and I've done a fair amount of paragraph-space
adjusting
to

without
 
M

Mark Tangard

Thanks. Where is there some sort of primer re trusted/untrusted XML?
I'm not familiar with this concept.

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters
Yes, it is one method of cleaning out bad bits. Using "untrusted" XML in
Visio causes a total recalc of the shapesheet. This is great for rebuilding
files but load time for the file is slower than binary or trusted XML.
-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
Mark,

Wow. This worked!! I confess I have absolutely NO CLUE what saving as
XML actually *does*, but it sure banished the evil spirits. Is this
essentially a way to "decompose" a drawing & then reassemble its freshly
aired-out components?

Thanks very much.

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters


Mark Nelson [MS] wrote:
Very strange. You might try round-tripping the file through XML
to see

if
file

in
space
Visio.
-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
with no warranties, and confers no rights.
it
also fails, but with different error language: "An Error (1) occurred
during the action Set Formula or Name. Unexpected end of file."

Curious....

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters


Mark Nelson [MS] wrote:

Are you setting the margin through the Text dialog or via the
Shapesheet?

Does the other way also cause the same problem?


-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
with no warranties, and confers no rights. "Mark Tangard"

On a flowchart I have, if I try to change the Top Margin
spec for

a
 
M

Mark Nelson [MS]

In this context, trusted XML is simply XML emitted by Visio. Whenever Visio
saves out XML, the file includes a special checksum that is generated from
the timestamp and contents. Upon load back into Visio, if the file has not
been externally modified, it is read in without a recalc. If the file has
been altered, Visio considers the file untrusted and must do a full recalc.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

Mark Tangard said:
Thanks. Where is there some sort of primer re trusted/untrusted XML? I'm
not familiar with this concept.

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters
Yes, it is one method of cleaning out bad bits. Using "untrusted" XML in
Visio causes a total recalc of the shapesheet. This is great for
rebuilding
files but load time for the file is slower than binary or trusted XML.
-- Mark Nelson Microsoft Corporation This posting is provided "AS IS" with
Mark,

Wow. This worked!! I confess I have absolutely NO CLUE what saving as
XML actually *does*, but it sure banished the evil spirits. Is this
essentially a way to "decompose" a drawing & then reassemble its
freshly
aired-out components?

Thanks very much.

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters


Mark Nelson [MS] wrote:
Very strange. You might try round-tripping the file through XML
to see

if
it can clean itself up. Save the document as VDX. Then open the
file

in
Notepad or another editor. Make some harmless change like adding a
space
and deleting it again, then resave the file. Now reopen the file in
Visio.
-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
with no warranties, and confers no rights.


I'd been try to set it through the Text dialog. With the
Shapesheet
it
also fails, but with different error language: "An Error (1) occurred
during the action Set Formula or Name. Unexpected end of file."

Curious....

--
Mark Tangard, Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters


Mark Nelson [MS] wrote:

Are you setting the margin through the Text dialog or via the

Shapesheet?

Does the other way also cause the same problem?


-- Mark Nelson Microsoft Corporation This posting is provided "AS IS"
with no warranties, and confers no rights. "Mark Tangard"

On a flowchart I have, if I try to change the Top Margin
spec for

a
3400,

adjusting
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top