You are on page 1of 30

Attribute VB_Name = "SLNIECKA"

Sub K_OKRAJE_OTAZNIKY_FONT()
With ActiveDocument.Styles(wdStyleNormal).Font
If .NameFarEast = .NameAscii Then
.NameAscii = ""
End If
.NameFarEast = ""
End With
With ActiveDocument.PageSetup
.Orientation = wdOrientPortrait
.TopMargin = CentimetersToPoints(0.2)
.BottomMargin = CentimetersToPoints(0.2)
.LeftMargin = CentimetersToPoints(0.3)
.RightMargin = CentimetersToPoints(0.3)
.Gutter = CentimetersToPoints(0)
.HeaderDistance = CentimetersToPoints(0)
.FooterDistance = CentimetersToPoints(0.2)
.PageWidth = CentimetersToPoints(19.3)
.PageHeight = CentimetersToPoints(28.1)
' .TopMargin = CentimetersToPoints(1)
' .BottomMargin = CentimetersToPoints(1)
' .LeftMargin = CentimetersToPoints(1.5)
' .RightMargin = CentimetersToPoints(1)
' .Gutter = CentimetersToPoints(0)
' .HeaderDistance = CentimetersToPoints(0)
' .FooterDistance = CentimetersToPoints(1)
' .PageWidth = CentimetersToPoints(21)
' .PageHeight = CentimetersToPoints(29.69)
.FirstPageTray = wdPrinterDefaultBin
.OtherPagesTray = wdPrinterDefaultBin
.SectionStart = wdSectionContinuous
.OddAndEvenPagesHeaderFooter = False
.DifferentFirstPageHeaderFooter = False
.VerticalAlignment = wdAlignVerticalTop
.SuppressEndnotes = False
.MirrorMargins = True
.TwoPagesOnOne = False
.BookFoldPrinting = False
.BookFoldRevPrinting = False
.BookFoldPrintingSheets = 1
.GutterPos = wdGutterPosLeft
End With
Selection.WholeStory
With Selection.ParagraphFormat
.SpaceBeforeAuto = False
.SpaceAfterAuto = False
.OutlineLevel = wdOutlineLevelBodyText
End With
Selection.LanguageID = wdCzech
'Selection.LanguageID = wdSlovak
Application.CheckLanguage = True
'ActiveDocument.Styles("Prostý text").Delete
Selection.HomeKey Unit:=wdStory
With ActiveDocument.Styles("Normální").Font
.Name = "VERDANA"
.Size = 12
.Bold = False
.Italic = False
.Underline = wdUnderlineNone
.UnderlineColor = wdColorAutomatic
.StrikeThrough = False
.DoubleStrikeThrough = False
.Outline = False
.Emboss = False
.Shadow = False
.Hidden = False
.SmallCaps = False
.AllCaps = False
.Color = wdColorBlue
.Engrave = False
.Superscript = False
.Subscript = False
.Scaling = 100
.Kerning = 0
.Animation = wdAnimationNone
End With
With ActiveDocument.Styles("Normální").ParagraphFormat
.LeftIndent = CentimetersToPoints(0)
.RightIndent = CentimetersToPoints(0)
.SpaceBefore = 10
.SpaceBeforeAuto = False
.SpaceAfter = 0
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpaceSingle
.Alignment = wdAlignParagraphJustify
.WidowControl = True
.KeepWithNext = False
.KeepTogether = False
.PageBreakBefore = False
.NoLineNumber = False
.Hyphenation = False
.FirstLineIndent = CentimetersToPoints(0)
.OutlineLevel = wdOutlineLevelBodyText
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 0
.LineUnitBefore = 0
.LineUnitAfter = 0
End With
With ActiveDocument.Styles("Normální")
.AutomaticallyUpdate = False
.BaseStyle = ""
.NextParagraphStyle = "Normální"
.NoSpaceBetweenParagraphsOfSameStyle = False
End With
With ActiveDocument.Styles("Záhlaví").Font
.Name = "VERDANA"
.Size = 1
.Bold = False
.Italic = False
.Underline = wdUnderlineNone
.UnderlineColor = wdColorAutomatic
.Color = wdColorGreen
End With
With ActiveDocument.Styles("Záhlaví").ParagraphFormat
.SpaceAfter = 0
.SpaceBefore = 0
End With
With ActiveDocument.Styles("Zápatí").Font
.Name = "VERDANA"
.Size = 1
.Bold = False
.Italic = False
.Underline = wdUnderlineNone
.UnderlineColor = wdColorAutomatic
.Color = wdColorGreen
End With
With ActiveDocument.Styles("Zápatí").ParagraphFormat
.LeftIndent = CentimetersToPoints(0)
.RightIndent = CentimetersToPoints(0)
.SpaceBefore = 0
.SpaceBeforeAuto = False
.SpaceAfter = 0
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpaceSingle
.Alignment = wdAlignParagraphCenter
.WidowControl = True
.KeepWithNext = False
.KeepTogether = False
.PageBreakBefore = False
.NoLineNumber = False
.Hyphenation = True
.FirstLineIndent = CentimetersToPoints(0)
.OutlineLevel = wdOutlineLevelBodyText
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 0
.LineUnitBefore = 0
.LineUnitAfter = 0
.TabStops.ClearAll
End With
With ActiveDocument.Styles("Zápatí")
.AutomaticallyUpdate = False
.BaseStyle = "Normální"
.NextParagraphStyle = "Zápatí"
.NoSpaceBetweenParagraphsOfSameStyle = False
End With
With ActiveDocument.Styles("Èíslo stránky").Font
.Name = "VERDANA"
.Size = 12
End With
Selection.WholeStory
Selection.Shading.Texture = wdTextureNone
Selection.Shading.ForegroundPatternColor = wdColorAutomatic
Selection.Shading.BackgroundPatternColor = wdColorAutomatic
Options.DefaultHighlightColorIndex = wdNoHighlight
Selection.Range.HighlightColorIndex = wdNoHighlight
Selection.Font.Name = "Verdana"
Selection.HomeKey Unit:=wdStory
With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Text = "^s"
.Replacement.Text = " "
.Execute Replace:=wdReplaceAll
.Text = " ^p"
.Replacement.Text = "^p"
.Execute Replace:=wdReplaceAll
.Text = "^p "
.Execute Replace:=wdReplaceAll
.Text = " ^l"
.Replacement.Text = "^l"
.Execute Replace:=wdReplaceAll
.Text = "^l "
.Execute Replace:=wdReplaceAll
.Text = "( "
.Replacement.Text = "("
.Execute Replace:=wdReplaceAll
.Text = " )"
.Replacement.Text = ")"
.Execute Replace:=wdReplaceAll
.Text = " "
.Replacement.Text = " "
.Execute Replace:=wdReplaceAll
.Text = " ."
.Replacement.Text = "."
.Execute Replace:=wdReplaceAll
.Text = " :"
.Replacement.Text = ":"
.Execute Replace:=wdReplaceAll
.Text = " ?"
.Replacement.Text = "?"
.Execute Replace:=wdReplaceAll
.Text = " !"
.Replacement.Text = "!"
.Execute Replace:=wdReplaceAll
'191 A 161 JE OPACNY OTAZNIK A VYKRICNIK
.Text = ChrW(191) & " "
.Replacement.Text = ChrW(191)
.Execute Replace:=wdReplaceAll
.Text = ChrW(161) & " "
.Replacement.Text = ChrW(161)
.Execute Replace:=wdReplaceAll
.Text = "?"
.Replacement.Text = "^s?"
.Execute Replace:=wdReplaceAll
.Text = "!"
.Replacement.Text = "^s!"
.Execute Replace:=wdReplaceAll
.Text = "? "
.Replacement.Text = "? "
.Execute Replace:=wdReplaceAll
.Text = "! "
.Replacement.Text = "! "
.Execute Replace:=wdReplaceAll
.Text = ChrW(191)
.Replacement.Text = ChrW(191) & "^s"
.Execute Replace:=wdReplaceAll
.Text = ChrW(161)
.Replacement.Text = ChrW(161) & "^s"
.Execute Replace:=wdReplaceAll
.Text = " ^? "
With .Replacement
.ClearFormatting
.Font.StrikeThrough = True
.Text = ""
End With
.Execute Replace:=wdReplaceAll
.Text = "^# ^#^#"
.Execute Replace:=wdReplaceAll
.Text = " ^$ "
.Execute Replace:=wdReplaceAll
.Text = " ^$^$ "
.Execute Replace:=wdReplaceAll
.Text = "(^? "
.Execute Replace:=wdReplaceAll
.Text = "{^? "
.Execute Replace:=wdReplaceAll
.Text = "[^? "
.Execute Replace:=wdReplaceAll
'8222 SU DOLNE UVODZOVKY
.Text = ChrW(8222) & "^? "
.Execute Replace:=wdReplaceAll
.Text = """^? "
.Execute Replace:=wdReplaceAll
.Text = " ^?"""
.Execute Replace:=wdReplaceAll
.Text = "»^? "
.Execute Replace:=wdReplaceAll
.Text = "»^? "
.Execute Replace:=wdReplaceAll
.Text = "^p^? "
.Execute Replace:=wdReplaceAll
.Text = "^l^? "
.Execute Replace:=wdReplaceAll
.Text = "(^?^? "
.Execute Replace:=wdReplaceAll
.Text = "{^?^? "
.Execute Replace:=wdReplaceAll
.Text = "[^?^? "
.Execute Replace:=wdReplaceAll
.Text = ChrW(8222) & "^?^? "
.Execute Replace:=wdReplaceAll
.Text = """^?^? "
.Execute Replace:=wdReplaceAll
.Text = " ^?^?"""
.Execute Replace:=wdReplaceAll
.Text = "«^?^? "
.Execute Replace:=wdReplaceAll
.Text = "«^?^? "
.Execute Replace:=wdReplaceAll
.Text = "^p^?^? "
.Execute Replace:=wdReplaceAll
.Text = "^l^?^? "
.Execute Replace:=wdReplaceAll
.Text = "(^?. "
.Execute Replace:=wdReplaceAll
.Text = "{^?. "
.Execute Replace:=wdReplaceAll
.Text = "[^?. "
.Execute Replace:=wdReplaceAll
.Text = "^p^?. "
.Execute Replace:=wdReplaceAll
.Text = "(^?^?. "
.Execute Replace:=wdReplaceAll
.Text = "{^?^?. "
.Execute Replace:=wdReplaceAll
.Text = "[^?^?. "
.Execute Replace:=wdReplaceAll
.Text = "^p^?^?. "
.Execute Replace:=wdReplaceAll
.Text = " ^$ng. "
.Execute Replace:=wdReplaceAll
.Text = " ^$NG. "
.Execute Replace:=wdReplaceAll
.Text = " ^$gr. "
.Execute Replace:=wdReplaceAll
.Text = " ^$GR. "
.Execute Replace:=wdReplaceAll
.Text = " ^$rs. "
.Execute Replace:=wdReplaceAll
.Text = " ^$RS. "
.Execute Replace:=wdReplaceAll
.Text = " ^$mg. "
.Execute Replace:=wdReplaceAll
.Text = " ^$MG. "
.Execute Replace:=wdReplaceAll
.Text = " ^$br. "
.Execute Replace:=wdReplaceAll
.Text = " ^$BR. "
.Execute Replace:=wdReplaceAll
.Text = " ^$ap. "
.Execute Replace:=wdReplaceAll
.Text = " ^$AP. "
.Execute Replace:=wdReplaceAll
.Text = " ^$el. "
.Execute Replace:=wdReplaceAll
.Text = " ^$EL. "
.Execute Replace:=wdReplaceAll
.Execute FindText:="^# ^#^#^#", Replace:=wdReplaceAll
.Font.StrikeThrough = True
.Replacement.Font.StrikeThrough = False
.Text = "? "
.Execute Replace:=wdReplaceAll
.Text = "! "
.Execute Replace:=wdReplaceAll
.Text = ") "
.Execute Replace:=wdReplaceAll
.Text = "] "
.Execute Replace:=wdReplaceAll
.Text = "} "
.Execute Replace:=wdReplaceAll
.Text = " ("
.Execute Replace:=wdReplaceAll
.Text = " ["
.Execute Replace:=wdReplaceAll
.Text = " {"
.Execute Replace:=wdReplaceAll
.Text = """ "
.Execute Replace:=wdReplaceAll
.Text = ChrW(8222) & " "
.Execute Replace:=wdReplaceAll
.Text = "« "
.Execute Replace:=wdReplaceAll
.Text = "« "
.Execute Replace:=wdReplaceAll
.Text = "« ^?"
.Execute Replace:=wdReplaceAll
.Text = "» "
.Execute Replace:=wdReplaceAll
.Text = "» ^?"
.Execute Replace:=wdReplaceAll
.Text = "^? »"
.Execute Replace:=wdReplaceAll
.Text = ChrW(8222) & ". "
.Execute Replace:=wdReplaceAll
.Text = ChrW(8222) & ": "
.Execute Replace:=wdReplaceAll
.Text = """. "
.Execute Replace:=wdReplaceAll
.Text = """: "
.Execute Replace:=wdReplaceAll
.Text = "«. "
.Execute Replace:=wdReplaceAll
.Text = "«: "
.Execute Replace:=wdReplaceAll
.Text = "». "
.Execute Replace:=wdReplaceAll
.Text = "»: "
.Execute Replace:=wdReplaceAll
.Text = " ^$"
.Execute Replace:=wdReplaceAll
.Text = "^#"
.Execute Replace:=wdReplaceAll
.Execute FindText:=" ", ReplaceWith:="^s", Replace:=wdReplaceAll
.Execute FindText:="^?", ReplaceWith:="", Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.Execute FindText:=" g^s", ReplaceWith:="^sg ", Replace:=wdReplaceAll
.Execute FindText:=" l^s", ReplaceWith:="^sl ", Replace:=wdReplaceAll
.Execute FindText:=" kg^s", ReplaceWith:="^skg ", Replace:=wdReplaceAll
.Execute FindText:=" m^s", ReplaceWith:="^sm ", Replace:=wdReplaceAll
.Execute FindText:=" mm^s", ReplaceWith:="^smm ", Replace:=wdReplaceAll
.Execute FindText:=" cm^s", ReplaceWith:="^scm ", Replace:=wdReplaceAll
.Execute FindText:=" g^s", ReplaceWith:="^sg ", Replace:=wdReplaceAll
.Execute FindText:="^s-", ReplaceWith:=" -", Replace:=wdReplaceAll
.Execute FindText:="-^s", ReplaceWith:="- ", Replace:=wdReplaceAll
.Execute FindText:="^s^+", ReplaceWith:=" ^+", Replace:=wdReplaceAll
.Execute FindText:="^=^s", ReplaceWith:="^= ", Replace:=wdReplaceAll
.Execute FindText:="^s-", ReplaceWith:=" -", Replace:=wdReplaceAll
.Execute FindText:="-^s", ReplaceWith:="- ", Replace:=wdReplaceAll
.Execute FindText:="^s" & ChrW(191), ReplaceWith:=" " & ChrW(191), Replace:=wdRe
placeAll
.Execute FindText:="^s" & ChrW(161), ReplaceWith:=" " & ChrW(161), Replace:=wdRe
placeAll
.Execute FindText:="^+ ", ReplaceWith:="- ", Replace:=wdReplaceAll
.Execute FindText:="^= ", ReplaceWith:="- ", Replace:=wdReplaceAll
.Execute FindText:="-^s", ReplaceWith:="- ", Replace:=wdReplaceAll
.Execute FindText:="/^s", ReplaceWith:="/ ", Replace:=wdReplaceAll
.Execute FindText:="^s«", ReplaceWith:=" «", Replace:=wdReplaceAll
.Execute FindText:="«^s", ReplaceWith:="« ", Replace:=wdReplaceAll
.Execute FindText:="^s»", ReplaceWith:=" »", Replace:=wdReplaceAll
.Execute FindText:="»^s", ReplaceWith:="» ", Replace:=wdReplaceAll
.Execute FindText:="^s""", ReplaceWith:=" """, Replace:=wdReplaceAll
.Execute FindText:="""^s", ReplaceWith:=""" ", Replace:=wdReplaceAll
.Execute FindText:="^s»", ReplaceWith:=" »", Replace:=wdReplaceAll
.Execute FindText:=ChrW(8222) & "^s", ReplaceWith:=ChrW(8222) & " ", Replace:=wd
ReplaceAll
.Execute FindText:="^s" & ChrW(8222), ReplaceWith:=" " & ChrW(8222), Replace:=wd
ReplaceAll
.Execute FindText:="w. ", ReplaceWith:="w.", Replace:=wdReplaceAll
.Execute FindText:=". c", ReplaceWith:=".c", Replace:=wdReplaceAll
.Execute FindText:=",^s", ReplaceWith:=", ", Replace:=wdReplaceAll
.Execute FindText:=":^s", ReplaceWith:=": ", Replace:=wdReplaceAll
.Execute FindText:=".^s", ReplaceWith:=". ", Replace:=wdReplaceAll
.Execute FindText:=";^s", ReplaceWith:="; ", Replace:=wdReplaceAll
.Execute FindText:="^s-", ReplaceWith:=" -", Replace:=wdReplaceAll
End With

With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
With .Replacement.Font
.Size = 18
.Bold = False
.Italic = False
.Color = wdColorRed
End With
With .Replacement.ParagraphFormat
.LeftIndent = CentimetersToPoints(0)
.RightIndent = CentimetersToPoints(0)
.SpaceBefore = 36
.SpaceBeforeAuto = False
.SpaceAfter = 18
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpaceSingle
.Alignment = wdAlignParagraphCenter
.WidowControl = True
.KeepWithNext = True
.KeepTogether = True
.PageBreakBefore = False
.NoLineNumber = False
.Hyphenation = False
.FirstLineIndent = CentimetersToPoints(0)
.OutlineLevel = wdOutlineLevel1
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 0
.LineUnitBefore = 0
.LineUnitAfter = 0
.MirrorIndents = False
.TextboxTightWrap = wdTightNone
End With
.Font.Size = 18
.Execute Replace:=wdReplaceAll
.Font.Size = 36
.Execute Replace:=wdReplaceAll
.Font.Size = 35.5
.Execute Replace:=wdReplaceAll
.Font.Size = 35
.Execute Replace:=wdReplaceAll
.Font.Size = 34.5
.Execute Replace:=wdReplaceAll
.Font.Size = 34
.Execute Replace:=wdReplaceAll
.Font.Size = 33.5
.Execute Replace:=wdReplaceAll
.Font.Size = 33
.Execute Replace:=wdReplaceAll
.Font.Size = 32.5
.Execute Replace:=wdReplaceAll
.Font.Size = 32
.Execute Replace:=wdReplaceAll
.Font.Size = 31.5
.Execute Replace:=wdReplaceAll
.Font.Size = 31
.Execute Replace:=wdReplaceAll
.Font.Size = 30.5
.Execute Replace:=wdReplaceAll
.Font.Size = 30
.Execute Replace:=wdReplaceAll
.Font.Size = 29.5
.Execute Replace:=wdReplaceAll
.Font.Size = 29
.Execute Replace:=wdReplaceAll
.Font.Size = 28.5
.Execute Replace:=wdReplaceAll
.Font.Size = 28
.Execute Replace:=wdReplaceAll
.Font.Size = 27.5
.Execute Replace:=wdReplaceAll
.Font.Size = 27
.Execute Replace:=wdReplaceAll
.Font.Size = 26.5
.Execute Replace:=wdReplaceAll
.Font.Size = 26
.Execute Replace:=wdReplaceAll
.Font.Size = 25.5
.Execute Replace:=wdReplaceAll
.Font.Size = 25
.Execute Replace:=wdReplaceAll
.Font.Size = 24.5
.Execute Replace:=wdReplaceAll
.Font.Size = 24
.Execute Replace:=wdReplaceAll
.Font.Size = 23.5
.Execute Replace:=wdReplaceAll
.Font.Size = 23
.Execute Replace:=wdReplaceAll
.Font.Size = 22.5
.Execute Replace:=wdReplaceAll
.Font.Size = 22
.Execute Replace:=wdReplaceAll
.Font.Size = 21.5
.Execute Replace:=wdReplaceAll
.Font.Size = 21
.Execute Replace:=wdReplaceAll
.Font.Size = 20.5
.Execute Replace:=wdReplaceAll
.Font.Size = 20
.Execute Replace:=wdReplaceAll
.Font.Size = 19.5
.Execute Replace:=wdReplaceAll
.Font.Size = 19
.Execute Replace:=wdReplaceAll
.Font.Size = 18.5
.Execute Replace:=wdReplaceAll
.Font.Size = 17.5
.Execute Replace:=wdReplaceAll
.Font.Size = 17
.Execute Replace:=wdReplaceAll
.Font.Size = 16.5
.Execute Replace:=wdReplaceAll
.Font.Size = 16
.Execute Replace:=wdReplaceAll
.Font.Size = 15.5
.Execute Replace:=wdReplaceAll
.Font.Size = 15
.Execute Replace:=wdReplaceAll
.Font.Size = 14.5
.Execute Replace:=wdReplaceAll
.Font.Size = 14
.Execute Replace:=wdReplaceAll
.Font.Size = 13.5
.Execute Replace:=wdReplaceAll
.Replacement.ClearFormatting
.Replacement.Font.Size = 12
.Font.Size = 13
.Execute Replace:=wdReplaceAll
.Font.Size = 11.5
.Execute Replace:=wdReplaceAll
.Font.Size = 11
.Execute Replace:=wdReplaceAll
.Font.Size = 10.5
.Execute Replace:=wdReplaceAll
.Font.Size = 10
.Execute Replace:=wdReplaceAll
.Font.Size = 9.5
.Execute Replace:=wdReplaceAll
.Font.Size = 9
.Execute Replace:=wdReplaceAll
.Font.Size = 8.5
.Execute Replace:=wdReplaceAll
.Font.Size = 8
.Execute Replace:=wdReplaceAll
.Font.Size = 7.5
.Execute Replace:=wdReplaceAll
.Font.Size = 7
.Execute Replace:=wdReplaceAll
.Font.Size = 6.5
.Execute Replace:=wdReplaceAll
.Font.Size = 6
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
End With
End Sub
Sub K_CITACE_KURZIVA_1_1_OBSAZENI()
With Selection
.HomeKey Unit:=wdLine
.MoveDown Unit:=wdParagraph, Count:=1, Extend:=wdExtend
.Font.Italic = wdToggle
.ParagraphFormat.LeftIndent = CentimetersToPoints(1)
.ParagraphFormat.RightIndent = CentimetersToPoints(1)
End With
End Sub
Sub K_NADPIS()
Selection.HomeKey Unit:=wdLine
Selection.MoveDown Unit:=wdParagraph, Count:=1, Extend:=wdExtend
Selection.ClearFormatting
Selection.Range.Case = wdUpperCase
With Selection.Font
.Name = "verdana"
.Size = 16
.Bold = True
.Italic = False
.Underline = wdUnderlineNone
.UnderlineColor = wdColorAutomatic
.StrikeThrough = False
.DoubleStrikeThrough = False
.Outline = False
.Emboss = False
.Shadow = False
.Hidden = False
.SmallCaps = False
.AllCaps = False
.Color = wdColorRed
.Engrave = False
.Superscript = False
.Subscript = False
.Spacing = 0.2
.Scaling = 105
.Position = 0
.Kerning = 0
.Animation = wdAnimationNone
End With
With Selection.ParagraphFormat
.LeftIndent = CentimetersToPoints(0)
.RightIndent = CentimetersToPoints(0)
.SpaceBefore = 0
.SpaceBeforeAuto = False
.SpaceAfter = 36
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpaceMultiple
.LineSpacing = LinesToPoints(1.2)
.Alignment = wdAlignParagraphCenter
.WidowControl = True
.KeepWithNext = True
.KeepTogether = True
.PageBreakBefore = False
.NoLineNumber = True
.Hyphenation = True
.FirstLineIndent = CentimetersToPoints(0)
.OutlineLevel = wdOutlineLevel1
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 0
.LineUnitBefore = 0
.LineUnitAfter = 0
End With
Selection.MoveDown Unit:=wdLine, Count:=1
With Selection.ParagraphFormat
.WidowControl = True
.KeepTogether = True
End With
Selection.MoveUp Unit:=wdLine, Count:=1
Selection.MoveUp Unit:=wdParagraph, Count:=1
Selection.TypeParagraph
Selection.MoveUp Unit:=wdLine, Count:=1
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
With Selection.ParagraphFormat
.LeftIndent = CentimetersToPoints(0)
.RightIndent = CentimetersToPoints(0)
.SpaceBefore = 24
.SpaceBeforeAuto = False
.SpaceAfter = 10
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpaceMultiple
.LineSpacing = LinesToPoints(1.2)
.Alignment = wdAlignParagraphCenter
.WidowControl = True
.KeepWithNext = True
.KeepTogether = True
.PageBreakBefore = False
.NoLineNumber = True
.Hyphenation = True
.FirstLineIndent = CentimetersToPoints(0)
.OutlineLevel = wdOutlineLevelBodyText
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 0
.LineUnitBefore = 0
.LineUnitAfter = 0
End With
With Selection.Font
.Name = "Arial"
.Size = 12
.Bold = False
.Italic = False
.Underline = wdUnderlineNone
.UnderlineColor = wdColorAutomatic
.StrikeThrough = False
.DoubleStrikeThrough = False
.Outline = False
.Emboss = False
.Shadow = False
.Hidden = False
.SmallCaps = False
.AllCaps = False
.Color = wdColorBlue
.Engrave = False
.Superscript = False
.Subscript = False
.Spacing = 0.2
.Scaling = 100
.Position = 0
.Kerning = 0
.Animation = wdAnimationNone
End With
Selection.TypeText Text:="()"
Selection.MoveLeft Unit:=wdCharacter, Count:=1
End Sub
Sub K_NADPIS_0()
Selection.HomeKey Unit:=wdLine
Selection.EndKey Unit:=wdLine, Extend:=wdExtend
With Selection.ParagraphFormat
.LeftIndent = CentimetersToPoints(0)
.RightIndent = CentimetersToPoints(0)
.SpaceBefore = 12
.SpaceBeforeAuto = False
.SpaceAfter = 0
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpaceSingle
.Alignment = wdAlignParagraphCenter
.WidowControl = True
.KeepWithNext = True
.KeepTogether = True
.PageBreakBefore = False
.NoLineNumber = False
.Hyphenation = False
.FirstLineIndent = CentimetersToPoints(0)
.OutlineLevel = wdOutlineLevel2
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 0
.LineUnitBefore = 0
.LineUnitAfter = 0
End With
With Selection.Font
.Name = "verdana"
.Size = 14
.Bold = True
.Italic = False
.Underline = wdUnderlineNone
.UnderlineColor = wdColorAutomatic
.StrikeThrough = False
.DoubleStrikeThrough = False
.Outline = False
.Emboss = False
.Shadow = False
.Hidden = False
.SmallCaps = False
.AllCaps = False
.Color = wdColorRed
.Engrave = False
.Superscript = False
.Subscript = False
.Spacing = 0
.Scaling = 100
.Position = 0
.Kerning = 0
.Animation = wdAnimationNone
End With
End Sub
Sub K_SWcisla()
With Selection.Find
.ClearFormatting
.Text = "^p^#. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#^#. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll

With Selection.Find
.ClearFormatting
.Text = "^p^#a. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#a. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#a. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#a. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#^#a. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll

With Selection.Find
.ClearFormatting
.Text = "^p^#b. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#b. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#b. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#b. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#^#b. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll

With Selection.Find
.ClearFormatting
.Text = "^p^#c. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#c. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#c. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#c. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#^#c. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll

With Selection.Find
.ClearFormatting
.Text = "^p^#d. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#d. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#d. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#d. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#^#d. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#e. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#e. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#e. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#e. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Text = "^p^#^#^#^#^#e. "
With .Replacement
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll

With Selection.Find
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = "^p"
With .Replacement
.ClearFormatting
.Font.Color = wdColorBlue
.Font.Size = 12
.Font.Bold = False
.Font.Italic = False
.Text = "^p("
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ". "
With .Replacement
.ClearFormatting
.Font.Color = wdColorBlue
.Font.Size = 12
.Font.Bold = False
.Font.Italic = False
.Text = ")^l"
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.ClearFormatting
.Font.Color = wdColorLightBlue
.Text = ""
With .Replacement
.ClearFormatting
.Font.Color = wdColorBlue
.Font.Size = 12
.Font.Bold = False
.Font.Italic = False
.Text = ""
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
End Sub
Sub K_VYSVETLIVKY()
With Selection.Find
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.ClearFormatting
.Replacement.ClearFormatting
.Text = " @"
.Replacement.Text = "^p@"
.Execute Replace:=wdReplaceAll
.Replacement.Font.UnderlineColor = wdColorSkyBlue
.Text = " *"
.Replacement.Text = "^p*"
.Execute Replace:=wdReplaceAll
.Replacement.ClearFormatting
.Font.UnderlineColor = wdColorSkyBlue
.Replacement.ParagraphFormat.LeftIndent = CentimetersToPoints(1)
'.Replacement.ParagraphFormat.Borders.Shadow = False
.Text = "*"
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Text = "@"
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.ParagraphFormat.LeftIndent = CentimetersToPoints(1)
.Replacement.Font.Color = wdColorDarkRed
.Replacement.Font.Italic = True
.Text = ""
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.Text = "@"
.Replacement.Text = "{"
.Execute Replace:=wdReplaceAll
.Replacement.ClearFormatting
.Replacement.ParagraphFormat.SpaceAfter = 0
.Text = ""
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.Replacement.ParagraphFormat.SpaceAfter = 0
.Text = "^p{1"
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.Text = "^p{*"
.Execute Replace:=wdReplaceAll
.Text = "^p*"
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.Replacement.Font.UnderlineColor = wdColorSkyBlue
.Text = "^p("
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.Font.UnderlineColor = wdColorSkyBlue
.Replacement.ParagraphFormat.SpaceAfter = 12
.Text = "^p"
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.Text = "$"
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.Font.UnderlineColor = wdColorSkyBlue
.Replacement.Font.UnderlineColor = wdColorAutomatic
.Text = ""
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.Replacement.Font.Color = wdColorDarkRed
.Replacement.Font.Italic = True
.Text = "*"
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.Text = "{*"
.Execute Replace:=wdReplaceAll
.Text = "{*}"
.Execute Replace:=wdReplaceAll
.Text = "{^#}"
.Execute Replace:=wdReplaceAll
.Text = "{^#^#}"
.Execute Replace:=wdReplaceAll
.Replacement.ClearFormatting
.Replacement.Font.Color = wdColorDarkRed
.Replacement.Font.Italic = True
.Text = "^p{*"
.Replacement.Text = "^p*"
.Execute Replace:=wdReplaceAll
.Replacement.ClearFormatting
.ParagraphFormat.LeftIndent = CentimetersToPoints(1)
.Replacement.Font.UnderlineColor = wdColorSkyBlue
.Text = "{^#."
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.Text = "{^#^#."
.Execute Replace:=wdReplaceAll
.Text = "{^# "
.Execute Replace:=wdReplaceAll
.Text = "{^#^# "
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.Font.UnderlineColor = wdColorSkyBlue
.Text = "."
.Replacement.Text = "}"
.Execute Replace:=wdReplaceAll
.Text = " "
.Replacement.Text = "} "
.Execute Replace:=wdReplaceAll
.Replacement.Font.UnderlineColor = wdColorAutomatic
.Text = ""
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
.Replacement.ParagraphFormat.SpaceAfter = 6
.Text = ";^p"
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.Text = ":^p"
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
End With
End Sub
Sub K_CISLA_POD_NADPISMI()
With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Forward = True
.Wrap = wdFindAsk
.Format = True
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Replacement.Font.UnderlineColor = wdColorSkyBlue
.Replacement.Text = ""
.Text = " ^#."
.Execute Replace:=wdReplaceAll
.Text = " ^#^#."
.Execute Replace:=wdReplaceAll
.Replacement.ClearFormatting
.Font.UnderlineColor = wdColorSkyBlue
.Text = " "
.Replacement.Text = "^p"
.Execute Replace:=wdReplaceAll
.Replacement.Font.UnderlineColor = wdColorAutomatic
.Text = ""
.Replacement.Text = ""
.Execute Replace:=wdReplaceAll
.ClearFormatting
.Replacement.ClearFormatting
End With
End Sub
Sub K_ZacneEN_LA()
With Selection.Find
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.ClearFormatting
.Replacement.ClearFormatting
.Replacement.Text = ""
.Text = "Prophets and Psalms (Schreck) n. ^#^#^#^#^#"
.Execute Replace:=wdReplaceAll
.Text = "Prophets and Psalms (Schreck) n. ^#^#^#^#"
.Execute Replace:=wdReplaceAll
.Text = "Prophets and Psalms (Schreck) n. ^#^#^#"
.Execute Replace:=wdReplaceAll
.Text = "Prophets and Psalms (Schreck) n. ^#^#"
.Execute Replace:=wdReplaceAll
.Text = "Prophets and Psalms (Schreck) n. ^#"
.Execute Replace:=wdReplaceAll
.Text = "This page is part of"
.Execute Replace:=wdReplaceAll
.Text = "© 2000-2001 The Academy of the New Church"
.Execute Replace:=wdReplaceAll
.Text = " "
.Replacement.Text = " "
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Text = " ^p"
.Replacement.Text = "^p"
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Text = "^p^p"
.Replacement.Text = "^p"
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
.Execute Replace:=wdReplaceAll
End With
End Sub
Sub OKRAJ_2mm()
With ActiveDocument.Styles(wdStyleNormal).Font
If .NameFarEast = .NameAscii Then
.NameAscii = ""
End If
.NameFarEast = ""
End With
With ActiveDocument.PageSetup
.LineNumbering.Active = False
.Orientation = wdOrientPortrait
.TopMargin = CentimetersToPoints(0.2)
.BottomMargin = CentimetersToPoints(0.2)
.LeftMargin = CentimetersToPoints(0.3)
.RightMargin = CentimetersToPoints(0.3)
.Gutter = CentimetersToPoints(0)
.HeaderDistance = CentimetersToPoints(0)
.FooterDistance = CentimetersToPoints(0.2)
.PageWidth = CentimetersToPoints(19.3)
.PageHeight = CentimetersToPoints(28.1)
.FirstPageTray = wdPrinterDefaultBin
.OtherPagesTray = wdPrinterDefaultBin
.OddAndEvenPagesHeaderFooter = False
.DifferentFirstPageHeaderFooter = False
.VerticalAlignment = wdAlignVerticalTop
.SuppressEndnotes = False
.MirrorMargins = True
.TwoPagesOnOne = False
.BookFoldPrinting = False
.BookFoldRevPrinting = False
.BookFoldPrintingSheets = 1
.GutterPos = wdGutterPosLeft
End With
End Sub
Sub uloz_a5()
ActivePrinter = "Adobe PDF"
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages,
_
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:=
_
False, PrintZoomColumn:=2, PrintZoomRow:=1, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
ActiveDocument.Save
ActiveDocument.Close
ActivePrinter = "Adobe PDF"
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages,
_
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:=
_
False, PrintZoomColumn:=2, PrintZoomRow:=1, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
ActiveDocument.Save
ActiveDocument.Close
ActivePrinter = "Adobe PDF"
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages,
_
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:=
_
False, PrintZoomColumn:=2, PrintZoomRow:=1, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
ActiveDocument.Save
ActiveDocument.Close
ActivePrinter = "Adobe PDF"
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages,
_
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:=
_
False, PrintZoomColumn:=2, PrintZoomRow:=1, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
ActiveDocument.Save
ActiveDocument.Close
End Sub
Sub oznac_vse()
ActiveDocument.Shapes.SelectAll
End Sub

You might also like