Footnotes numbering
This commit is contained in:
parent
62fafde775
commit
bb69f14e26
6 changed files with 167 additions and 6 deletions
|
@ -60,7 +60,7 @@ Private Sub makeUpIssue
|
|||
|
||||
' Add article for each section
|
||||
'Go to article first page
|
||||
page = findFirstPageWithStyle("Первая страница статьи")
|
||||
page = findFirstPageNumberWithStyle("Первая страница статьи")
|
||||
firstPage = page
|
||||
oViewCursor.jumpToPage(page)
|
||||
oTextCursor = oViewCursor.Text.createTextCursorByRange(oViewCursor)
|
||||
|
@ -152,7 +152,7 @@ Private Sub setPageNumbersDeprecated()
|
|||
Dim firstPage as String
|
||||
oViewCursor = ThisComponent.CurrentController.getViewCursor()
|
||||
oViewCursor.jumpToFirstPage()
|
||||
firstPage = findFirstPageWithStyle("Статья 1 стр.1")
|
||||
firstPage = findFirstPageNumberWithStyle("Статья 1 стр.1")
|
||||
oViewCursor.jumpToPage(firstPage)
|
||||
For i = 1 To 25
|
||||
pageNum = lastPageNum(i)
|
||||
|
@ -539,13 +539,13 @@ Private Sub setAritclePageHeaders(i)
|
|||
Dim leftHeaderCell As Object
|
||||
Dim curStyleName As String
|
||||
Dim curStyle As Object
|
||||
Dim page As String
|
||||
Dim page As Integer
|
||||
Dim pageStyles As Object
|
||||
Dim articleStartPosition As Object
|
||||
oViewCursor = ThisComponent.CurrentController.getViewCursor()
|
||||
oSavePosition = oViewCursor.Text.createTextCursorByRange(oViewCursor)
|
||||
pageStyles = ThisComponent.StyleFamilies.getByName("PageStyles")
|
||||
page = findFirstPageWithStyle("Статья " + i + " стр.1")
|
||||
page = findFirstPageNumberWithStyle("Статья " + i + " стр.1")
|
||||
oViewCursor.jumpToPage(page)
|
||||
articleStartPosition = oViewCursor.Text.createTextCursorByRange(oViewCursor)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue