Skip to content

Commit bf54938

Browse files
v1.62.1
1 parent 51fcf48 commit bf54938

12 files changed

+18
-18
lines changed

AboutBox.frx

0 Bytes
Binary file not shown.

BatchEditForm.frx

0 Bytes
Binary file not shown.

ErrorForm.frx

0 Bytes
Binary file not shown.

ExternalEditorForm.frx

0 Bytes
Binary file not shown.

LatexForm.frm

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
VERSION 5.00
22
Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} LatexForm
33
Caption = "IguanaTex"
4-
ClientHeight = 5880
5-
ClientLeft = -264
6-
ClientTop = -960
7-
ClientWidth = 9192.001
4+
ClientHeight = 7056
5+
ClientLeft = -240
6+
ClientTop = -864
7+
ClientWidth = 11028
88
OleObjectBlob = "LatexForm.frx":0000
99
StartUpPosition = 1 'CenterOwner
1010
End
@@ -703,12 +703,12 @@ Sub ButtonRun_Click()
703703
End If
704704
' Tag shape and its components with their "original" sizes,
705705
' which we get by dividing their current height/width by the scaling factors applied above
706-
NewShape.Tags.Add "ORIGINALHEIGHT", NewShape.Height / tScaleHeight
707-
NewShape.Tags.Add "ORIGINALWIDTH", NewShape.Width / tScaleWidth
706+
NewShape.Tags.Add "ORIGINALHEIGHT", Str(NewShape.Height / tScaleHeight)
707+
NewShape.Tags.Add "ORIGINALWIDTH", Str(NewShape.Width / tScaleWidth)
708708
If NewShape.Type = msoGroup Then
709709
For Each s In NewShape.GroupItems
710-
s.Tags.Add "ORIGINALHEIGHT", s.Height / tScaleHeight
711-
s.Tags.Add "ORIGINALWIDTH", s.Width / tScaleWidth
710+
s.Tags.Add "ORIGINALHEIGHT", Str(s.Height / tScaleHeight)
711+
s.Tags.Add "ORIGINALWIDTH", Str(s.Width / tScaleWidth)
712712
Next
713713
End If
714714
Else
@@ -719,10 +719,10 @@ Sub ButtonRun_Click()
719719
.LockAspectRatio = msoFalse
720720
.ScaleHeight BitmapScalingY, msoFalse
721721
.ScaleWidth BitmapScalingX, msoFalse
722-
.Tags.Add "OUTPUTDPI", OutputDpi ' Stores this display's resolution
722+
.Tags.Add "OUTPUTDPI", Str(OutputDpi) ' Stores this display's resolution
723723
' Add tags storing the original height and width, used next time to keep resizing ratio.
724-
.Tags.Add "ORIGINALHEIGHT", NewShape.Height
725-
.Tags.Add "ORIGINALWIDTH", NewShape.Width
724+
.Tags.Add "ORIGINALHEIGHT", Str(NewShape.Height)
725+
.Tags.Add "ORIGINALWIDTH", Str(NewShape.Width)
726726
' Apply scaling factors
727727
.ScaleHeight tScaleHeight, msoFalse
728728
.ScaleWidth tScaleWidth, msoFalse
@@ -975,16 +975,16 @@ End Sub
975975
Private Sub AddTagsToShape(ByVal vSh As Shape)
976976
With vSh.Tags
977977
.Add "LATEXADDIN", TextWindow1.Text
978-
.Add "IguanaTexSize", val(NormalizeDecimalNumber(textboxSize.Text))
978+
.Add "IGUANATEXSIZE", NormalizeDecimalNumber(textboxSize.Text)
979979
.Add "IGUANATEXCURSOR", TextWindow1.SelStart
980980
.Add "TRANSPARENCY", checkboxTransp.value
981981
.Add "CHOOSECOLOR", CheckBoxChooseColor.value
982982
.Add "COLORHEX", TextBoxChooseColor.Text
983983
.Add "FILENAME", TextBoxFile.Text
984984
.Add "LATEXENGINEID", ComboBoxLaTexEngine.ListIndex
985985
.Add "TEMPFOLDER", TextBoxTempFolder.Text
986-
.Add "LATEXFORMHEIGHT", LatexForm.Height
987-
.Add "LATEXFORMWIDTH", LatexForm.Width
986+
.Add "LATEXFORMHEIGHT", Str(LatexForm.Height)
987+
.Add "LATEXFORMWIDTH", Str(LatexForm.Width)
988988
.Add "LATEXFORMWRAP", TextWindow1.WordWrap
989989
.Add "BitmapVector", ComboBoxBitmapVector.ListIndex
990990
End With
@@ -1577,11 +1577,11 @@ Sub RetrieveOldShapeInfo(ByVal oldshape As Shape, ByVal mainText As String)
15771577
ComboBoxLaTexEngine.ListIndex = .item("LATEXENGINEID")
15781578
End If
15791579
If .item("LATEXFORMHEIGHT") <> vbNullString Then
1580-
LatexForm.Height = NormalizeDecimalNumber(.item("LATEXFORMHEIGHT"))
1580+
LatexForm.Height = val(NormalizeDecimalNumber(.item("LATEXFORMHEIGHT")))
15811581
FormHeightSet = True
15821582
End If
15831583
If .item("LATEXFORMWIDTH") <> vbNullString Then
1584-
LatexForm.Width = NormalizeDecimalNumber(.item("LATEXFORMWIDTH"))
1584+
LatexForm.Width = val(NormalizeDecimalNumber(.item("LATEXFORMWIDTH")))
15851585
FormWidthSet = True
15861586
End If
15871587
If .item("LATEXFORMWRAP") <> vbNullString Then

LatexForm.frx

0 Bytes
Binary file not shown.

LoadVectorGraphicsForm.frx

0 Bytes
Binary file not shown.

LogFileViewer.frx

0 Bytes
Binary file not shown.

Macros.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ Private Function GetLatexTextFromTexPointShape(vSh As Shape) As String
530530
If .item("TEXPOINT") = "template" Then
531531
IsTemplate = True
532532
End If
533-
vSh.Tags.Add "TEXPOINTSCALING", ScalingFactor
533+
vSh.Tags.Add "TEXPOINTSCALING", Str(ScalingFactor)
534534

535535
If IsTemplate = True Then
536536
SourceParts = Split(.item("SOURCE"), vbTab, , vbTextCompare)

RegenerateForm.frx

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)