-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* skip: python via web * skip: bug 63370 * fix: 70602 * bug: 71029 * fix: page size preset 63370 * fix: correct object types * ref: add semver * [update] 8.2 tests fix (#1230) * tests fix * tests fix * ref: semver --------- Co-authored-by: Olga Petrova <58073620+lemonowl@users.noreply.github.com>
- Loading branch information
Showing
16 changed files
with
54 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
builder.CreateFile("docx"); | ||
var oDocument = Api.GetDocument(); | ||
oDocument.CreateNewHistoryPoint(); | ||
var oParagraph1, oFinalSection; | ||
oParagraph = Api.CreateParagraph(); | ||
oDocument.Push(oParagraph); | ||
oSection = oDocument.CreateSection(oParagraph); | ||
oFinalSection = oDocument.GetFinalSection(); | ||
oFinalSection.SetPageSize(12240, 15840); | ||
var oDocument = Api.GetDocument(); | ||
oDocument.CreateNewHistoryPoint(); | ||
var oParagraph, oFinalSection, oSection; | ||
oFinalSection = oDocument.GetFinalSection(); | ||
oFinalSection.SetPageSize(11904.8, 16838); // 'A4' | ||
|
||
oParagraph = Api.CreateParagraph(); | ||
oParagraph.AddText('section'); | ||
oDocument.Push(oParagraph); | ||
oSection = oDocument.CreateSection(oParagraph); | ||
oSection.SetPageSize(12240, 15840); // 'US Letter' | ||
builder.SaveFile("docx", "page_size_for_section.docx"); | ||
builder.CloseFile(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters