Margins change between desktop and mobile

Anonymous
2015-10-01T18:01:52+00:00

I have taken a while to carefully sculpt an important document on desktop (my resume in fact). It took me a long time to squeeze it all onto 2 pages, adjusting the top and bottom margins, fonts, etc, to make it happen.

The strange thing is that when I look at the document on Office for Mobile (Android, Nexus 4 phone, Android 5.1.1), it overflows onto a third page and the margins look wrong, as if they are the default setting. When I save as a new document, the changes ae kept in the new document without me doing anything to insert them.

What I'm worrying about, apart from the fact that their is a format change between devices, is that if I open a document on mobile which made on desktop and then share it, I will be sending an unfaithful copy. Furthermore, it will definitely cause problems when people collaborate.

Having taken a couple of minutes to check before posting, I noticed that the new document saved on Android actually had a header inserted (I don't know why that would happen). When I remove the header, the document is now on 2 pages, but there has been a slight change (line 1 of page 2 has moved up to the bottom of page 1). I've checked - you can remove headers in Word for Android (painful but possible) but it has the same line-shift as I found on desktop.

Please, does anyone know how I can avoid Word for Android changing my document?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

52 answers

Sort by: Most helpful
  1. Charles Kenyon 171K Reputation points Volunteer Moderator
    2015-10-06T00:29:50+00:00

    It was at least three times.

    With great patience.

    :)

    Was this answer helpful?

    0 comments No comments
  2. Doug Robbins - MVP - Office Apps and Services 323.6K Reputation points MVP Volunteer Moderator
    2015-10-05T23:19:04+00:00

    Sorry, you are mistaken.  While the Header pane is open, the ¶ is visible and hence is still there. 

    Without going back through all of the now 5 pages of this thread, I do not remember how many times I drew your attention to influence that the setting for the distance of the header\footer from the edge of the page can have on a document when opened on another device.  You ignored that until Charles also piped up with telling you to set it to 0 after I had provided him with a detailed explanation of the influence that setting could have.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-10-05T14:47:36+00:00

    Doug and others,

    For those who are interested, I was very curious. I also did a quick diff analysis of the documents that made this work (the original document with header distance set to zero and the resulting document once it was opened in Android).

    You're the specialists in Word, so you might want to see this. First, a diif on the directories held in the DOCX bundles:

    The desktop version is on the left and the resulting Android creation is on the right. There are plenty of files created in Android which were not there before.

    Obviously, although I am happy with the visual outcome of following Charles's request, there is still a structural change to the docx once opened in Android. I took a quick peek inside one and the result can be seen below:

    Doing a diff of the respective document.xml files, there were 4 differences in total:

    1 and 2 at the top of the file:

    I don't know what these are but they seem to be intialising resource ids. You'll know more than me.

    Difference 3, in the middle:

    This was within the document that I had typed (body of the file, shall we say). Not a huge problem, it was some text in French that I had accepted or ignored (can't remember) on desktop but we can see here that on Android it wasn't fully accepted.

    And now for the last diff, at the end of the file:

    As I say, this is really at the end of the xml file. On the left there is nothing, and on the right there is a bunch of elements (probably a good word now). It appears to me that on the left, the desktop-created document, there are no headers or footers but on the right, the Android-created document.xml file, a footer and a header have been inserted.

    Doug, as a Word specialist MVP, can you tell me if this is what I think it is, or what is it?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-10-05T14:14:11+00:00

    Since the good news, I have thought of further investigating the difference between the two documents.

    Therefore, I've unzipped the docx files involved to look under the hood and there is immediately a glaring difference just by looking at the content of the bundles.

    In the case of the original desktop document (document x), this is the content of the word folder within the docx file:

    And in the case of the document y, the one resulting simply from opening document x in Word for Android (this is the bad result, not the result where I had set header distance to 0), the folder looks as follows:

    I find this to be rather enlightening and not an indicator of simple margin conflicts. Something definitely happens to a document when you open it on Android.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2015-10-05T12:17:27+00:00

    Charles, thanks for the reminder. With all this, which I have found to be confusing, I had forgotten to do that test.

    It works - there is no header inserted.

    For info: When I went to change that setting it was at 12.7mm (same as the margins).

    It hadn't caused a problem on PC but was causing a problem on Android. I still can't understand why Word for Android inserts a header (_yes it does_) to compensate for a margin conflict, but it does. I remain convinced that Microsoft should be aware of this as a probable issue for the developer pipeline.

    This morning I was wondering whether there is a conflict between the desktop and mobile normal.dotm files even though that still wouldn't explain the insertion of a header. Now we know it's the margin/header space conflict which causes this to happen. I don't know the internal working of OOXML, but obviously Word for Android handles the conflict in a particular way while the desktop version of Word 2016 either considers that there is no problem or ignores it.

    I maintain that, because Microsoft is pushing its marketing along advanced collaboration (see the latest changes in Word 2016), this will be an issue for other users in the future if it is not dealt with. As I said, I don't find any great need for this sort of collaboration (although maybe my next role will call for it, heaven forbid).

    Good on you, Charles, for reminding me to do that test!

    Was this answer helpful?

    0 comments No comments